iosxcodeprovisioning-profile

Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices


I have added some new devices. How can I refresh the provisioning profile, as Xcode 8 automatically manages signing assets?

I have found this question: Refresh devices in team provisioning profile managed by Xcode 7? – but we can't do that in Xcode 8.3.

I don't have the device with me so I manually added it in the portal and also edited the provisioning profile but Xcode is not re-downloading it.


Solution

  • This is what you need to do:

    1. Go to ~/Library/MobileDevice/Provisioning\ Profiles/ and delete all the provisioning profiles from there.
    2. Go to Xcode > Preferences > Accounts and select the Apple ID.
    3. Click Download Manual Profiles or Download All Profiles. And it will download all the provisioning profiles again.

    Download Profiles button