iPhone Core Data Lightweight Migration error: reason = "Can't find model for source store";
- by tul697
Steps taken:
1. Added Data Model version:
Changed my XXX.xcdatamodel to XXX.xcdatamodeId with Design - Data Model - Add Model Version.
Set the new XXX 2.xcdatamodel as current version
Added an attribute to XXX 2.xcdatamodel
Added NSMigratePersistentStoresAutomaticallyOption and NSInferMappingModelAutomaticallyOption
like most tutorials, I…