Swift: Crashing When Adding Attribute (Core Data)

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

  1. loon3y macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    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)

    [​IMG]




    From App Delegate
    [​IMG]
     
  2. 1458279 Suspended

    1458279

    Joined:
    May 1, 2010
    Location:
    California
    #2
    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