iOS27, CIRAWFilter RAW9 broken/missing in latest dev beta

In the WWDC talk: https://developer.apple.com/videos/play/wwdc2026/305/?time=350 "Enhance RAW image processing with Core Image" there is a section on the new RAW9 processing APIs and how to enable them.

First off, the sample code compiles on iOS18 but causes a runtime exception because the .version9 symbol cannot be found, looks like the header definition is missing a version check for this value, so I'm not sure how to use this code if you need to support iOS18.

Also on later dev betas (I tried the latest beta7) now trying to check if version9 is available the value is no longer present in the supported list:

guard filter.supportedDecoderVersions.contains(.version9) else { ...

There is another value .version9DNG that resolves to true but if I try to use that decoder the colors on the RAW image are wrong and the image becomes corrupted.

How to use the RAW9 decoder in the latest dev betas, what should the final code before production because the WWDC sample now seems out of date and was always wrong wrt. iOS18.

Answered by DTS Engineer in 902930022

Hello markdaws,

While it's possible to compile that code on earlier iOS versions, the minimum system requirement to actually use RAW 9 is iOS 27.

Hoping this helps,

Richard Yeh  Developer Technical Support

Hello markdaws,

While it's possible to compile that code on earlier iOS versions, the minimum system requirement to actually use RAW 9 is iOS 27.

Hoping this helps,

Richard Yeh  Developer Technical Support

iOS27, CIRAWFilter RAW9 broken/missing in latest dev beta
 
 
Q