Error: kernel code generation is not supported for Swift 2.3

I get an error message:

Core Data Code generation is not supported for Swift 2.3

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

enter image description here

+4
source share
2 answers

Code generation for basic data is not available for Swift 2.3, because the error state (as well as for Xcode 8 Beta 2).

Just create entity classes and your @NSManaged attributes yourself.

In the Xcode Model Editor, you will find an option in the Data Model Inspector to disable automatic code generation ( Class → CodeGen → Manual / None ).

+6

XCode Data Model Inspector (Class → CodeGen → Manual/None) .

enter image description here

+5

Source: https://habr.com/ru/post/1649473/


All Articles