问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/1284878/do-i-have-to-re-compile-everytime-i-add-a-new-device-for-ad-hoc-installation