Keep "Live" app as well as "Dev" app on iPhone
Is there a way to keep the "live in t开发者_开发技巧he app store" version of an app on your phone, as well as the "beta" version I am currently working on adding features to?
I use my own app on a daily basis and v2.0 is still to buggy to use as the primary use app.
Thanks.
You need to change the bundle identifier of the application in order to achieve this.
Instructions
- Right click on your target in Xcode -> click 'Get Info'
- Select the 'Properties' tab
- Change the 'Identifier' field to something different. As of Xcode 3, this is the second field (right under 'Executable')
NOTE: You will need this to be the same in order for your application to be accepted upon submission to the App Store for updates. Remember to change this value back to the original before resubmitting.
Imho a better way would be to create a second target. The time will come when you forget to switch the identifiers manually and then you have overwritten your app, and probably upgraded all the data which can't be undone. BTDTNT
- In Xcode3 you would right click the existing target and select
duplicate
. - Rename the target to whatever you want.
- Then you should rename the second plist, because the name
Project-Info copy.plist
isn't that nice. - Once you renamed the plist open the beta target info and put the new name into
Info.plist File
.
精彩评论