Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to back up and restore apps on ios development devices?

I have several people with my app on iPhones, iPod Touches, and iPads, that helped me with development. However, I just discovered that apps put onto the devices through XCode are not backed up by an iTunes sync, and so are not restored. How can I ensure that apps I put on devices this way get backed up, or restored? Is there a way of getting data files out of the bundle, and putting them back in later, in case they need to restore the app from scratch and then restore the data files?

Thanks for your answers.

like image 836
Jay Imerman Avatar asked Jul 07 '11 23:07

Jay Imerman


People also ask

Can you restore an app from a backup?

Restore backed-up app settingsWhen you reinstall an app, you can restore app settings that you'd previously backed up with your Google Account. App data. If these steps don't match your device's settings, try searching your settings app for backup .

What are the two methods for backing up iOS Content?

In case you ever need an alternative backup, you can back up your device using iCloud and also using your computer.


1 Answers

Try installing the app onto the device using iTunes instead of Xcode. First drag the app's ipa file and drop it onto iTunes. You should see the app appear in the apps list. Then just sync the device with iTunes. You can install the provisioning profile using iTunes in the same way. This is the way that I've sent beta versions of my apps to testers in other countries. Send them both the ipa file and the provisioning profile. I'd recommend creating a separate ad-hoc provisioning profile with just the devices you need defined instead of using the team provisioning profile.

When emailing a copy of the app, you should compress the ipa file into a zip file first. When the user unzips the file, on a mac they'll get an ipa file. On a pc they'll get a folder of the same name as the ipa file. You can drag the ipa folder onto iTunes in the same way.

It's also a good idea to change the bundle display name to something different when installing apps this way. Otherwise you won't be able to distinguish between the beta version and the same app purchased from the app store.

like image 180
Fogger Avatar answered Oct 14 '22 20:10

Fogger