Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I test iOS upgrade scenarios?

I had basic and premium versions of my app installed on one of my test phones. I then updated the firmware to iOS 7.1 Beta 5.

The basic and premium versions have identical binaries (certain features are just switched on or off), but after upgrading, the premium version crashes on launch but not the basic version. I can run the pro version from xcode and see it's crashing because it can't find the model for the persistent store - cocoa error 134130 (though the check to whether exists at the appropriate location returns true). I can run fresh installs of both versions of the app on the 7.1 simulator with no problems.

I'm not sure whether this is something related to the beta, or if I had a debug version of the premium app on the phone previously and that caused some problem after upgrading.

I'd like to be sure by doing some testing around installing it on 7.0, configuring it various ways, then upgrading to 7.1 and seeing there are any problems. But I'm not sure how to do this. If I run it on the simulator, then switch the simulator to 7.1, it doesn't preserve the apps. It won't let me restore back to a previous version for my test phone; I do have my personal phone running iOS 7 and I could test the upgrade on there, but without the ability to restore I could only run one test.

Any suggestions?

like image 354
Toby Avatar asked Feb 25 '14 03:02

Toby


1 Answers

Also possible copy you app from one simulator version to another ~/Library/Application Support/iPhone Simulator/7.0/Applications/UUID-UUID-UUID-UUID-UUID to another ~/Library/Application Support/iPhone Simulator/7.1/Applications/UUID-UUID-UUID-UUID-UUID and see what happens.

Simulator should be relaunched to reload available apps.

like image 71
sage444 Avatar answered Nov 08 '22 12:11

sage444