Question

I have an IOS app currently being beta tested by a few people. I have a few more testers that I would like to add and distribute my beta app to. Can I simply add the devices and activate them in my distribution provisioning profile? Or do I need to download the updated profile and create a new archive with the updated device list?

If I do need to create a new archive, will the archives I sent the original testers still be valid or do they need the newly created one also? No code changes have been made.

Was it helpful?

Solution

You have to download the updated provisioning profile and rebuild the app using that profile. An "Ad-hoc distribution profile" contains the list of allowed devices, and the app will not install on other devices.

The previous version of the app continues to work on the devices that it was built for.

OTHER TIPS

You need to add the new devices in the Provisioning Portal. Then add those devices to your Ad Hoc Distribution Provisioning Profile. You then have to download the provisioning profile and build an new archive with that profile. The previous archive is still valid and there is no impact to the previous testers.

The provisioning profile and application is installed on the users device user A and user B just have slightly differed versions. This is why I have automated setting CFBundleShortVersionString and CFBundleVersion as a build script. I display the version and build number in my about page. Also Crashlytics and TestFlight key off them.

What will kill all Ad Hoc builds you have in the field is deleting your certificate in the provisioning profile. But loosing your private key to the certificate would be a pain but not terminal. You would have to make a new one and recreate all you provisioning profiles and give new builds to all your testers. It will not effect your apps in the app store. Your distribution certificate is used by you to sign and certify your build. Apple then can know it really came from you they then remove your signing and resign it for the App Store.

My Check List

  • Add device in portal Edit TestFlight Distribution Profile
  • Add new devices
  • Delete old TestFlight Distribution Profile in the Xcode Organizer
  • Click refresh in the Xcode Organizer
  • Select TestFlight Distribution Profile in build setting
  • Commit project settings change from above step (committing increments my CFBundleVersion)
  • Build new archive
  • Up load to TestFlight
  • Notify / Authorize only the new devices / users
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top