Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices
IosXcodeProvisioning ProfileIos Problem Overview
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: https://stackoverflow.com/questions/32729193/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.
Ios Solutions
Solution 1 - Ios
This is what you need to do:
- Go to
~/Library/MobileDevice/Provisioning\ Profiles/
and delete all the provisioning profiles from there. - Go to Xcode > Preferences > Accounts and select the Apple ID.
- Click
Download Manual Profiles
orDownload All Profiles
. And it will download all the provisioning profiles again.
Solution 2 - Ios
Solution 3 - Ios
Step 1. Click on desktop then from top menu Go > Go to Folders...
Step 2. Write/Paste following path and enter:
> ~/Library/MobileDevice/Provisioning\ Profiles/
Step 3. Select Provisioning Profiles folder and delete all provisions profiles in it
Step 4. Go to xCode Preference > Accounts > Apple ID and then click on Download Manual Profiles button
Solution 4 - Ios
First delete the provisioning profile from ~/Library/MobileDevice/Provisioning\Profiles/
, then edit provisioning profile from developer portal and select all devices while editing Provisioning profile. Then download this profile and open in your Xcode.
Solution 5 - Ios
To add devices to your provisioning profile in Xcode 8 with automatic code signing, you simply need to build to the device in Xcode. Xcode will add the device's UDID and regenerate the provisioning profile automatically. If you don't have physical access to the device, I don't think there is a way to add it to your provisioning profile without going back to manually managing your devices and profiles.