CIContext initializers crash on iOS 8

Originator:keithbsmiley
Number:rdar://28200846 Date Originated:07-Sep-2016 20:43
Status:Resolved Resolved:Xcode 8.3 beta 2
Product:iOS SDK Product Version:iOS 8
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
If you build with the iOS 10 SDK, attempt to use CIContext, and run on iOS 8, the app crashes. The initializer has been part of the SDK since iOS 5, and is annotated as nonnull to Swift.

Steps to Reproduce:
1. Create a new Swift project with the Xcode 8 GM
2. Set the deployment target to iOS 8
3. Add a call to `CIContext()`
4. Run on an iOS 8 simulator

Expected Results:
The context is created correctly

Actual Results:
The app crashes

Version:
iOS 8

Notes:
See the attached project for an example. Run in the iOS 8 simulator.

Comments

There are solutions to it ๏ผŸ

I am also experiencing the exact same issue๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚. There are other solutions do๏ผŸThis is Apple's bug๏ผŸ

By shannonyang0805 at Sept. 22, 2016, 7:38 a.m. (reply...)

Updates?

Are there any updates on this? I am experiencing the exact same issue.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!