Refresh devices in team provisioning profile managed by Xcode 7?

后端 未结 14 1999
谎友^
谎友^ 2020-11-30 22:13

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

相关标签:
14条回答
  • 2020-11-30 22:17

    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.

    0 讨论(0)
  • 2020-11-30 22:21

    Update for Xcode 8

    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:

    1. Open “Xcode → Preferences…” (,).
    2. Select the corresponding “Apple ID” from the “Apple IDs” list in the left side of the window. Then select the corresponding “Team” from the list in the bottom right side of the window.
    3. Click on “View Details…”, then click on “Download All Profiles”.
    4. Close the “Preferences” window, select the scheme & affected devices and build your project. Eventually let Xcode automatically register the device.
    0 讨论(0)
  • 2020-11-30 22:22

    Spent the last hour looking for a solution

    I unplugged my iPhone and now it works.

    0 讨论(0)
  • 2020-11-30 22:23

    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.

    0 讨论(0)
  • 2020-11-30 22:24

    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.
    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.

    0 讨论(0)
  • 2020-11-30 22:24
    1. Remove old team provisioning profile from site.
    2. Remove all local provisioning profiles (Xcode -> Preferences -> Accounts -> Select account -> Select team -> View details -> Right click any profile -> Show in finder -> Cmd+A -> Cmd+Backspace).
    3. Try build for device.

    You will see fix button.

    0 讨论(0)
提交回复
热议问题