Search code examples
iosxcodexcode8provisioning-profile

XCode 8 updates in Provisioning Profile not reflected


I'm using Automatic Provisioning Profile in XCode 8. The problem is after adding new devices from the developer console, the changes are not reflected in the XCode provisioning profile.

Where as if I try to run a project on a new device using a usb, the XCode prompts whether to add this device to profile & then it updates the profile but NOT when adding a device from developer console.

In the earlier versions the profiles were not automatically managed & I could just overwrite the updated profile by downloading it from server but this is not the case now.

Also enabling/disabling devices from console doesn't work.


Solution

    1. Delete the existing provisioning profile from location ~/Library/MobileDevice/Provisioning\ Profiles
    2. Open the project & use the automatic profiling option & XCode will pull the new/changes to profile from the server(developer.apple.com)