4

I'm getting the error:

Core Data Code generation is not supported for Swift 2.3

since I moved to Swift 2.3 but I cannot find any documentation or previous questions about this issue. Is CoreData not available in Swift 2.3?

enter image description here

2 Answers 2

6

Code generation for Core Data is not available for Swift 2.3 as the error states (as of Xcode 8 Beta 2).

Just create your entity classes and your @NSManaged attributes yourself.

In XCode Model Editor you'll find an option in the Data Model Inspector to disable automatic code generation (Class -> CodeGen -> Manual/None).

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, now I understand what it meant by "Code Generation". Wonder why they left "Create NSManagedObject Subclass.." option, if its not supported...
5

In XCode Model Editor you'll find an option in the Data Model Inspector to disable automatic code generation (Class -> CodeGen -> Manual/None) For more detail Here is work around.

enter image description here

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.