i don't understand why xcode7 can't archive ad-hoc ipa including all devices, xcode6 is good for that.
I can make sure that my certificates is good and include all devices.
Anyone else met this problem?
i don't understand why xcode7 can't archive ad-hoc ipa including all devices, xcode6 is good for that.
I can make sure that my certificates is good and include all devices.
Anyone else met this problem?
I had a whole bunch of issues when updating to xcode 7 and archiving. My solution was to delete all of my provisioning profiles and certificates from the member centre and create them again. Making sure i had created the correct distribution ones.
Ad-hoc uses distribution provisioning profile so make sure that is correct.
For future reference, I'd like to share my experience in dealing with provisioning profiles.
We surely need to generate our provisioning profiles from Member Center of Apple Developer. After adding the user's devices (UDID), download the latest provisioning profiles to local.
Completely quit Xcode and drag the new provisioning profiles on the icon of Xcode. Now Xcode can find the provisioning profiles you just generated.
Open Xcode, and go to Xcode -> Preferences... -> Accounts -> View details..., we will see all the provisioning profiles saved on the mac. Just right-click any of them, and reveal it in Finder.
Look for the newest file which is the provisioning profiles we just added. We can open provisioning profiles with any text editor in order to check AppIDName
and which ProvisionedDevices
are contained in it. In this way, we can delete outdated provisioning profiles easily in case Xcode doesn't pick the right provisioning profiles.
After archiving and exporting the .ipa file, we still can make sure whether all the user's UDID are included.
Rename the suffix .ipa to .zip, and now the icon should look like a normal .zip file.
Extract the .zip and a new folder named Payload appears. Open that folder and Show Content Packages, we will see an file called embedded.mobileprovision.
It is same as the provisioning profile we generated at the beginning if we have done everything correctly.