tacos_tacos_tacos
tacos_tacos_tacos

Reputation: 10585

Do you have to re-archive your project after adding devices to the provisioning profile?

Say you have an existing provisioning profile with some devices and you archive a target with that provisioning profile. Then, you go into Member Center and add some more devices to the profile. Do you have to re-download/re-archive the project in order for those devices to install the target app?

Upvotes: 2

Views: 1283

Answers (4)

Charan
Charan

Reputation: 4946

Yes, if not - how can the previous profile know that you have added more devices to it ?

You have to delete the old profile in organizer and then you need to download freshly the same profile which is configured with new devices.

Note: don't forget to check the code signing in your project settings after installing the new profile.

                 (OR)

If you have already configured your iOS Developer Network profile in your system,

Just press the refresh button at the bottom right of your organizer

enter image description here

Upvotes: 3

Drew C
Drew C

Reputation: 6458

No, as long as the name of the profile is the same, you can now distribute apps that include it to the new devices, as long as the new devices get the provisioning profile that includes their device ID.

Edit: A note of further explanation. Your archived app does not store the provisioning profile in its archive. You merely tell it what provisioning profile to look for in order to determine if it can run on a certain device. Therefore you can change your provisioning profiles all you want, and as long as it is the same profile the app is told to look for, you never have to recompile the app to recognize new devices.

Upvotes: 6

Sylvain G.
Sylvain G.

Reputation: 508

You have to download again the profile (or let XCode do the work for you).

You do not have to re-archive. Just share existing archive BUT sign-again with the new/updated profile.

Upvotes: 0

rooster117
rooster117

Reputation: 5552

Yes the new profile will have to be built into your app for it to work with the devices added.

Upvotes: 0

Related Questions