NSManagedObjectModel initializer is failable in Xcode9 beta 6 #161

Closed
opened 2025-12-29 15:25:59 +01:00 by adam · 1 comment
Owner

Originally created by @jmartinesp on GitHub (Aug 23, 2017).

In Xcode9 beta 6, all initializers - except the default one - of NSManagedObjectModel are failable. That creates a bug on XcodeDataModelSchema.swift L171 on the prototype/Swift_4_0 branch.

Maybe it can be fixed by reverting 74c6461?

Originally created by @jmartinesp on GitHub (Aug 23, 2017). In Xcode9 beta 6, all initializers - except the default one - of `NSManagedObjectModel` are failable. That creates a bug on [XcodeDataModelSchema.swift L171](https://github.com/JohnEstropia/CoreStore/blob/75e14fbbed7f6e11ea13e5e649a44caa2589c70a/Sources/XcodeDataModelSchema.swift#L171) on the `prototype/Swift_4_0` branch. Maybe it can be fixed by reverting 74c6461?
adam closed this issue 2025-12-29 15:25:59 +01:00
Author
Owner

@JohnEstropia commented on GitHub (Aug 23, 2017):

Thanks. I just pushed the fix to the Swift 4 branch.

@JohnEstropia commented on GitHub (Aug 23, 2017): Thanks. I just pushed the fix to the Swift 4 branch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#161