Search code examples
iosxcodeprovisioning-profile

Automatically refresh IOS devices in a team provisioning profile by Xcode


I have some IOS devices week by week to which I must send my apps for testing purposes during development. These devices can't be pluuged to my computer, because they are far away from me and just for this case they won't be taken to my local machine. If plugging would be available, my life would be much easier. But it is not the case.

Now I have to do a lot of annoying things by hand: add it, regenereate it, delete it from local machine, add to new one etc etc.

After adding a device to my devices in Apple developer portal I'd like to have it in XCode without regenerating certificate, delete, download to my local machine. There should be some automatic refresh process.

Before XCode 4.5 there was an option in organizer to refresh it automatically by Xcode.

What about in the current XCode version?


Solution

  • In Xcode 4.5 same option to refresh is available.

    Steps To create Ad hoc Profile which is to be followed before the above process is done. Check this.

    Steps to refresh profile. 1.In developer portal Add device. 2.Update Developer provisioning profile by adding the device to the profile. 3.Open Xcode> Organiser >Devices 4.Delete the old profile

    You will find a refresh button at the button click refresh. Clean the project and Archive it. Send it to user, It will work on the new Device.