Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices

爱⌒轻易说出口 提交于 2019-11-27 16:49:16
Bilal

This is what you need to do.

  1. Go to ~/Library/MobileDevice/Provisioning\ Profiles/ and delete all the provisioning profiles from there.
  2. Go to XCode > Preferences > Accounts and select the Apple Id.
  3. Click Download All Profiles. And it will download all the provisioning profiles again.

Xcode 9

Step 1 and 2 remain the same.

  1. Click Download Manual Profiles to update your provisioning profiles.

Remove the .mobileprovision file for the app this way :

The command in the terminal is : rm

Step 1. Click on desktop then from top menu Go > Go to Folders...

Step 2. Write/Paste following path and enter:

~/Library/MobileDevice/Provisioning\ Profiles/

Step 3. Select Provisioning Profiles folder and delete all provisions profiles in it

Step 4. Go to xCode Preference > Accounts > Apple ID and then click on Download Manual Profiles button

First delete the provisioning profile from ~/Library/MobileDevice/Provisioning\Profiles/ , then edit provisioning profile from developer portal and select all devices while editing Provisioning profile. Then download this profile and open in your Xcode.

To add devices to your provisioning profile in Xcode 8 with automatic code signing, you simply need to build to the device in Xcode. Xcode will add the device's UDID and regenerate the provisioning profile automatically. If you don't have physical access to the device, I don't think there is a way to add it to your provisioning profile without going back to manually managing your devices and profiles.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!