Core Data Model Code Generation is set to Swift in pure ObjC project and causes launching errors

Originator:an00na
Number:rdar://27112406 Date Originated:30-Jun-2016 02:20 PM
Status:Closed Resolved:Xcode 8.0 beta 3
Product:Developer Tools Product Version:Xcode 8.0 beta 1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
The sample project is pure ObjC. It was auto-updated by Xcode 8's suggestions. In the resulting project the Code Generation of Core Data Model is set to Swift. It causes app launching errors:
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /var/containers/Bundle/Application/1C1DEFDB-EC9E-4EE0-A2D9-5AE4D5B58312/FRCMergeFaultBug.app/FRCMergeFaultBug
  Reason: image not found

Manually setting it to Objective-C doesn't help. Actually you'll find it is set back Swift if you relaunch Xcode.

Code: http://cl.ly/1X3K2u2o1n1j

Comments


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!