Search code examples
iphonexcodedistributionadhoc

Do I have to re-compile everytime I add a new device for ad-hoc installation?


I have created an ad-hoc provision profile for my iPhone application. Everytime I add a new device, do I need to re-compile my application so that it can be distributed? This is VERY tedious.


Solution

  • Yes. When you compile your application it is code signed with the *.mobileprovision you have selected for the current build configuration. Each time you add a new device, it changes the *.mobileprovision file to allow for that unique UDID, so you need to both recompile AND reinstall your *.mobileprovision (by dragging into iTunes again) in order for the new devices to run the Ad Hoc distro.