5

In Xcode: Window->Organizer Share...->Save to Disk...

You get an ipa.

Share...->Email...

You get an ipa and a mobileprovision file as attachments. But is seems that the very same mobileprovision is included in the ipa as well. Why the out-of-band mobileprovision? What purpose does it serve?

jeff7091
  • 957
  • 2
  • 13
  • 25

1 Answers1

0

If you do a checksum on the mobileprovision file inside the IPA and the one outside, you'll notice that they don't match. Your beta users will need the one that is not packaged inside the IPA. I can only speculate on the need for the one inside the app bundle, but perhaps it used in the identification process in conjunction with the one outside.

Wayne Hartman
  • 18,369
  • 7
  • 84
  • 116
  • 1
    Hmm. If you do Share->Save to Disk... is that IPA different? I do that all the time, and I am able to install the IPA over the air all the time w/out trouble. The mobileprovision file is of the PKCS#7 format. Good tip that the two are different... – jeff7091 Mar 10 '11 at 06:34
  • 1
    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 08:23