Adding devices to team provisioning profile

后端 未结 19 1406
旧时难觅i
旧时难觅i 2020-12-02 05:38

I need to add a device to my team provisioning profile, however I do not physically have the device so I can\'t hook it up to my computer so Xcode can\'t add the UDID to my

相关标签:
19条回答
  • 2020-12-02 06:28

    All answers I've seen above assumed that the developer owns an iPhone. No one knows the right answer. As far as I know, you need:

    • a physical iPhone that you own
    • or UDID of someone else's iPhone. But it is a must to have an iPhone before you publish your app. Correct me if I am wrong.
    0 讨论(0)
  • 2020-12-02 06:29

    After adding UDID in developer.apple.com, do the following steps:

    1, Go to Xcode, open Preferences (cmd + ,) -> Accounts -> Click your Apple ID -> View Details enter image description here

    2, In the new window, click on "Refresh", then "Request" enter image description here

    3, Now try to run your app on the new device, if you get an error saying "unfound provisioning profile", keep reading

    4, Click on your project enter image description here

    6, Find "Fix It" button in Identity section, click it enter image description here

    7, Now try to run again, it should work

    0 讨论(0)
  • 2020-12-02 06:29

    login to developer account of apple and open the provision profile that you have selected in settings and add the device . The device will automatically displayed if connected to PC.

    0 讨论(0)
  • 2020-12-02 06:33

    After you've added the UDID to the devices in Provisioning Portal manually, you should trick Xcode into generating a new Team Provisioning Profile (with the newly added device included). Follow these steps:

    1. Open Organizer > Devices > Library > Provisioning Profiles. Find the existing (old) profile (that does not include the newly added device). Delete it.
    2. Connect one of your own devices. Right-click on it in Organizer > Devices > Devices. Choose 'Add Device to Provisioning Portal'.

    This will trick Xcode into generating a new Team Provisioning Profile, which automatically includes devices you've added in Provisioning Portal.

    0 讨论(0)
  • 2020-12-02 06:35

    Update for Xcode (Version 9.1). Please follow below steps for refreshing Provisioning profiles

    Using Xcode Organizer

    • Select Export

    • Select desired distribution facility

    • Now Select Automatically Manage Signing Identity
    • In next Screen Please click on Profile tag detail discloser button which will navigate you to Provisioning profile Folder

    • Select all profiles and trash them. Now in Xcode click on the Previous button and click again on Automatically Manage Signing, Now Xcode will create new signing identity for you with latest features (including new device id's)

    In short, you can navigate to MobileDevice/Provisioning Profiles/ folder path and delete all profiles and then Archive. Now you can see there are new profiles for you. Cheers :)

    @JasonH hope it will help you.

    0 讨论(0)
  • 2020-12-02 06:35

    This is what worked for me in XCode 7.3

    1. Login to developer.apple.com
    2. Add the device.
    3. Head straight back to XCode (DO NOTHING) and create the .ipa
    4. Install the build on the device, it will work.

    I have no idea how this worked since I didn't download a new provisioning profile which included the newly added device, neither did I touch anything in XCode after adding the new device. That's Apple magic for you.

    I will try to add an explanation to this if I find one.

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