ios: How do I add a new UDID to provisioning profile without a tethered device?

前端 未结 4 1391
夕颜
夕颜 2021-02-08 12:35

I know how to add from the web portal, but this particular provisioning profile is marked as \"Managed by Xcode\", therefore, I need to either stop managing from xcode or add a

相关标签:
4条回答
  • 2021-02-08 13:15

    Connect the phone to your mac and open XCode. Then click under Window->Organizer under Devices you must see your connected phone. There is an Button named "use for Development". Click this and after a few seconds the UDID must be in your team profile and you can install the app.

    IMO you cant add devices to your team-provisioning-profile without connected to your mac, if this profile is managed by xcode. Alternative make an ad-hoc-provisioning-profile.

    Hope that helps?

    0 讨论(0)
  • 2021-02-08 13:16

    Go to: https://developer.apple.com/account/ios/profile/edit

    • Click All

    • Pick profile

    • Click edit
    • Select missing device

    • Click generate
    • Go to Xcode -> Preferences -> Accounts
    • Select your account and click View Details

    • Click Download All
    0 讨论(0)
  • 2021-02-08 13:17

    Here is what worked (multiple times now) ...

    • (Web) Login to Apple Developer > Member Center > iOS Provisioning > Add Devices
    • Add UDID with a meaningful name
    • Create a Provisioning Profile that includes all of your registered devices
    • (Xcode) Go back to the Organizer
    • Select the Provisioning Profiles section and select the specific profile
    • Check the box "Automatic Device Provisioning"
    • Press the Refresh button

    Voila!

    0 讨论(0)
  • 2021-02-08 13:18

    If you simply add the device's UDID to the developer portal, it will be automatically be added to ALL provisioning profiles. You can confirm this by downloading the profile and inspecting it (in plain text editor).

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