Reputation: 487
I have an app live on the App Store, and I'm working on a second release.
Installing a new version from Xcode would overwrite the release version on the phone - which I'd like to avoid. What's the best practice for maintaining two copies (release and dev) version of an iOS / OS X app on a device?
Obviously, you could manually change the bundle identifier, but that has other negative consequences.
EDIT:
There's this: http://blog.chrismiles.info/2011/04/ios-dev-beta-production-builds.html but it's quite out of date.
Upvotes: 3
Views: 1927
Reputation: 7416
Typically I would recommend two bundle IDs: one for internal/beta/development use and one for production use in the App Store.
In a more complex case you could split development and beta to give you a total of 3 separate IDs.
When it comes time to test version upgrade scenarios you'll have to switch to the production bundle ID for final testing and release candidates.
Simon Wolf has a pretty good write up of the approach: Concurrent Debug, Beta and App Store Builds.
Upvotes: 3