Xcode 8 generates broken NSManagedObject subclasses for iOS 10

后端 未结 22 928
栀梦
栀梦 2020-11-27 11:13

I updated my iOS app project recently to iOS 10. Now I\'m trying to change the Core Data Model of my app but the new NSManagedObject subclasses which Xcode generates are bro

22条回答
  •  心在旅途
    2020-11-27 12:06

    Delete the 3rd import statement because it's empty.

    Note: I don't know why this happens but I guess it's a bug in Xcode 8. Just delete it and it will work fine.

提交回复
热议问题