Open zeeshansuleman opened 7 years ago
Option 1. You have to delete the app and run it after changing the xcdatamodel. Option 2. You have to add new version of the data model, before the changes and update on it. You dont have to delete the app in this case.
@souvickcse i donot want to delete the app , for this i used auto migration with magical record , but the issue is that entity values always retreived as Null.
Go for option 2
@souvickcse in my case option 2 did not work though.
hello guyz i am facing an issue during automigration of magical record.My scenario is. ->i added a new entity into my model and added following line for auto migration. [MagicalRecord setupCoreDataStackWithAutoMigratingSqliteStoreNamed:@"EmergencDatabase.sqlite"]; ->I added an attribute of type binary data in my new entity.(Note:for string type it works) ->when i run the app for testing , magical record failed to fetch values from existing entities .and it always fetch null values.
please help me in resolving the said issue. thanks.