Swift: Crashing When Adding Attribute (Core Data)

Discussion in 'iOS Programming' started by loon3y, Jul 7, 2015.

  1. loon3y macrumors 65816


    Oct 21, 2011
    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)


    From App Delegate
  2. 1458279 Suspended


    May 1, 2010
    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?

Share This Page