Cannot create an NSPersistentStoreCoordinator with a nil model

前端 未结 27 1056
囚心锁ツ
囚心锁ツ 2021-01-30 03:33

Been having my first crack at Core Data and I\'m getting the following error when running my code on my device, but it works fine on the simulator..

*

27条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 04:14

    I just had a similar problem upgrading from IOS5 to IOS6. Turns out it was a case sensitive issue with the model name.

    Not sure if this helps anyone.

提交回复
热议问题