It used to be that hitting the refresh arrow/loop button in preferences -> account would pull down a new provisioning profile with all ur new devices.
Now it just do
I also couldn't find a way to delete or refresh the provisioning profile in Xcode.
I managed to pull the provisioning profile with the new devices by quitting Xcode, deleting the Development provisioning profiles - the ones marked "Active (Managed by Xcode)" - on the Apple Developer site, then reopening Xcode and choosing the team in General settings for the app target. Xcode recreated the profiles (as confirmed on the developer site) and the device was included.
With Xcode 8 you don’t need to add the device in the “Member Center” anymore and you can skip some annoying steps.
What you still have to do are the following steps:
,
).Spent the last hour looking for a solution
I unplugged my iPhone and now it works.
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.
My account on developer.apple.com was not showing any Xcode managed profiles so this was the only way to make it work.
Xcode -> Preferences -> Accounts -> Select account -> Select team -> View details -> Right click any profile -> Show in finder -> Cmd+A -> Cmd+Backspace
).You will see fix button.