简体   繁体   中英

Error: Core Data Code generation is not supported for Swift 2.3

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?

在此输入图像描述

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 ).

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.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM