Why does the .mobileprovision file needs to be on the device before installing an .ipa ad-hoc? What purpose does it serve? Including the mobileprovision embedded on an ipa it means that a device has 2 .mobileprovision files.
- The one coming with the .ipa
- The one already on the device
Which one does the device use to check whether its UUID is included in the provision file? What purpose does each file serve? I also noticed that once I installed the .ipa once , even after I removed the .mobileprovision from the device afterwards I could still install the .ipa. Looking on stack overflow and I found this question here
Where there was this quote
The mobileprovision file is only needed once for a particular device. It basically just serves to authorize the device, in the absence of XCode. Any future IPA files, even for entirely new projects can be deployed to an "authorized" device until the authorization expires, or you replace the provisioning file in XCode. – Barney Mattox Jul 30 '11 at 8:23
What does this mean?
Furthermore
- If I have present on my mac more than one valid certificates for a profile, how does xcode decides which one to use?
- When I assign "Team" in Xcode in the target settings, what do I do exactly? If I am choosing a Team provisioning profile, why do I have to choose a profile again when I archive the application?
- In organiser when I choose Ad-hoc distribution why do I get a pop-up stating "Choose a profile to sign it with"? How can you sign something with a profile,if the profile has only the public-keys of the developers , a list of device UUIDS and the App ID
Regards