Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MACloop

macrumors 6502
Original poster
May 18, 2009
393
0
Germany
Hello everybody!
Is there a way to be able to install an app twice on the same iphone. I have two versions of the same app with very small differences and one is thought to be a demo version and the other one a normal version. I have to have them both installed on my iPhone at the same time. Is that possible? I have tried to change name on the demo version but even if the .app file and everything else in really names appnameDemo it will overwrite the other version and vice versa... Setting ut a totally new project is alot of work, and I thought I rather ask if someone knows a trick for this?

Thanks in advance!
-loop-
 
Hi and thanks for your answer. No, actually had not done that!
...how do I do that? I tried to simply give it a new name, but this caused the provisoning profile not to work any more...hmmm. Do I have to make a new profile?
 
The profile is app specific... is the best way to solve it to create another one?

Yes, or create a wildcard one and use that for both (and any future) apps. I initially created an app specific one then realised that a wildcard one would be much more useful so created that.

Instructions are on the Developer Portal for creating a wildcard profile...
 
Thanks for the advice! I will go into the portal and read about this wildcard thing. It seems to be what I am looking for.
 
Here are the steps that I did to get it to work for me. You can also see video of the process on my blog

http://www.brianminor.com/2009/11/12/installing-the-same-app-twice-on-the-iphone/


Directions

1. Open iTunes
2. Go into the Application section
3. Right click on the application you want to duplicate
4. Select Show in Finder (Show in Explorer on PCs)
5. Right click on the .ipa file and copy it to you desktop (or where every you’d like)
6. Replace the .ipa with .zip – An IPA files is just another type of a .Zip file
7. Un-compress the zip file
8. Open the new folder and Go into the Payload folder
9. Right click on the App and select show package contents (MAC ONLY STEP, Should just be a folder on the Windows)
10. Find the Info.plist files and open it in you favorite editor. (I prefer Plist Editor Pro)
11. Change the “Bundle display” name to whatever you’d like. This is the name that will be displayed on the iPhone (optional step)
12. Change the “Bundle identifier” (I recommend just putting a 2 at the end.)
13. Save the file
14. Open your favorite FTP software and connect into your iPhone/iPod Touch
15. Navigate to the root directory and then into the Application folder
16. Transfer the application into this folder
17. Reboot or Respiring your iPhone/iPod and the application should now be somewhere on your home-screen
18. Open the App and enjoy
 
The ftp stuff won't work on a stock OS developer device.

Change the app ID slightly in XCode, and get a new provision using a wildcard profile.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.