Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
Hi, My app is crashing when updating by Xcode or Test Flight for an existing app.



I added an attribute, but migration and mapping is turned on in the appDelegate.


Is this a swift issue? Or am i missing something?


I Did make a new CoreData Model and based it off the previous one (previous one didn't have the added attribute)

11ltu00.png





From App Delegate
b80c1v.png
 
Do you have a crash log? The migration is from a database that doesn't have the attribute to one that does have the attribute?

So if you did the exact same thing without the attribute, does it not crash?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.