How can simulate the IPhone app upgrade process in the SDK simulator

后端 未结 3 970
栀梦
栀梦 2020-12-08 16:55

I\'m working on an iPhone app and about to release version 2. We\'ll be changing the core data model and I\'d like to simulate the upgrade process in the simulator before r

3条回答
  •  死守一世寂寞
    2020-12-08 17:00

    I agree with Brad's overall approach. To save a little time, I would just save the sample set of data that you create with the older version of your app. This way you won't have to keep recreating the sample data set if things don't go right. You will just simply copy the sample data set back into your app's directory in the Simulator.

    Your app's directory is located at ~/Library/Application Support/iPhone Simulator/User/Applications/A GUID for your App on your development machine.

提交回复
热议问题