Refresh devices in team provisioning profile managed by Xcode 7?

Simplest way:

Remove the mobileprovision file using terminal

rm + drag the file path from xcode

enter image description here


After adding the UDID in the member center I had the same issue. I have to say that I have a XCode managed iOS team development profile.

eventually what's worked is deleting the provisioning profile from the member center.

in xcode preferences, delete the team provisioning profile for the relevant app

go to your target, you'll see a "Fix Issue" button. click it, it will generate a new provisioning profile with the relevant devices.

Hope it helps.


Here's what worked for me on Xcode 8 & 9.

  1. Add your device to developer.apple.com.
  2. Go to your target's General tab and tap the (i) next to "Xcode Managed Profile", then drag the profile file icon in that popover to your desktop to get the filename of the provisioning profile. enter image description here
  3. Go to ~/Library/MobileDevice/Provisioning Profiles and delete the provisioning profile with the same filename that you got in #2.
  4. Xcode should regenerate the profile for your app with the device added in #1.

My account on developer.apple.com was not showing any Xcode managed profiles so this was the only way to make it work.