Add device to auto-generated Xcode 5 provisioning profile

zp26 picture zp26 · Oct 2, 2013 · Viewed 11.6k times · Source

I have created a simple project with XCode 5. When I have created the project, XCode automatically generate the provisioning profile for my app. (I see it on my provisioning portal). But now I added and removed some devices from my device list. Is there a way to add a devices to provisioning profile generated by Xcode 5.

Thanks

Answer

Adil Malik picture Adil Malik · Mar 19, 2014

This is what worked for me:

Go to Apple development portal and add the device (UDID) as you normally do. Till now the UDID is not added to your provisioning profile.

In Xcode, go to project settings and select Add an Account from the Team dropdown.

enter image description here

A dialog will pop up. Just press Cancel. (if xCode automatically generated Profiles that means you'd already have the account setup. You don't need to add a new account)

Now from left side, select the Apple account this project belongs to.

Click View Details

Now just click the refresh button at the bottom left side of the window.

enter image description here

It will take some time to refresh, but when it finishes, the UDID will be added to your X-Code generated Provisioning Profile.