How remove a old provisioning profile in xcode 5?

2019-03-08 01:30发布

I've install different provisioning profile in my xcode 5, before for remove it you had a session with all provisioning profile installed on the mac, but now this session disappear, how can I have access to this session now?

5条回答
狗以群分
2楼-- · 2019-03-08 02:00

You can delete the files directly from ~/Library/MobileDevice/Provisioning Profiles

Open finder, ⌘-Shift-G, and paste in the above path. Restart Xcode afterward.

Check out this related question for other suggestions.

查看更多
对你真心纯属浪费
3楼-- · 2019-03-08 02:04

There are two ways for deleting your old provisioning profiles from Xcode. 1. Xcode Preferences 2. iPhone Configuration Utility Software.

  1. Xcode Preferences -> Go Xcode -> click on left hand side top toolbar option Xcode -> Click Preferences -> Accounts, select your account, and hit the refresh button on the bottom left corner under the provisioning profile list.

By doing this you can delete your provisioning profiles.

  1. iPhone Configuration Utility Software -> Install this software -> Open Software -> Provisioning Profiles -> find list of your all profile -> Press Backspace button, it will ask to delete provisioning profile ->Click on delete provisioning profile. So it will remove it from your all existing Xcode application and even from your PC. Photo is showing how to delete profile
查看更多
虎瘦雄心在
4楼-- · 2019-03-08 02:05

The best way to do this in XCode 5 is using an iPhone Configuration Utility. It lets you manually delete duplicates of provisioning profiles with ease and speed.

enter image description here

I keep Xcode closed when I do this just in case.

Edit: For anyone wondering how to actually 'delete'. There are only two ways: a. menu -> b. Hit the / keyboard button.

查看更多
Animai°情兽
5楼-- · 2019-03-08 02:08

Mirko's answer is correct- however, below I am trying to explain "why-it-is-so" on XCode5. On XCode5, you are not supposed to/allowed to directly delete a provisioning profile- I think Apple has changed the paradigm a little bit and wanted to streamline the process, while making the provisioning and signing of binaries more secure. The idea on XCode5, is to allow you to login using your dev apple ID and then X-Code will be in sync with all your provisioning profiles. If you want to delete a profile (probably expired or redundant), you go to your dev profile and delete it- since the X-Code has all the details about your apple ID and provisioning profiles (as seen in the screenshot)- it will sync itself with your latest list of profiles- you do not have to worry about deleting those from X-Code anymore (and hence you can not delete these from X-Code anymore). enter image description here

查看更多
甜甜的少女心
6楼-- · 2019-03-08 02:25

To delete a duplicate of an edited provisioning profile, you can also go to Xcode -> Preferences -> Accounts, select your account, and hit the refresh button on the bottom left corner under the provisioning profile list.

查看更多
登录 后发表回答