Home > Software design >  Apple ad hoc distribution issue
Apple ad hoc distribution issue

Time:09-21

I am trying to deploy an app using the ad hoc method on iOS devices (iPhones). We created a developer account and invited my apple account to join the development team. I managed to setup a provisioning profile and use it in Xcode to build an ad hoc archive.

We uploaded the archive to an URL (the one set in the manifest) and set up a simple install app using href="itms-services://?action=download-manifest&url=https://..".

The issue I have now is that this works OK for the device I used before during development (iOS 12 iPhone 6), but cannot run the ad hoc app on a second device (iOS 14 iPhone 7), even though I added both devices' UUID to my account. The app installs on the second device but gives the "identity cannot be verified" message when trying to run it.

So in short, I managed to do an ad hoc install only on the device I started developing on - the one that is logged in with my account (not the main developer account that invited me to join the developer team).

I would really appreciate some help - as for me, Apple's overall approach is confusing and messy at this point and there are few replies related to this specific issue.

CodePudding user response:

even though i added both device UUID to my account

It isn't enough to add another device to the account. An ad hoc build contains a provisioning profile that explicitly lists all the devices it can run on. That profile is not magically self updating. You have to re-export from the archive with a new provisioning profile that includes the new device.

  •  Tags:  
  • ios
  • Related