ios 如何在 xcode 5 中删除旧的配置文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19530712/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 02:31:12  来源:igfitidea点击:

How remove a old provisioning profile in xcode 5?

iosobjective-cxcode5provisioning-profile

提问by mark jannet

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?

我已经在我的 xcode 5 中安装了不同的配置文件,在删除它之前,你在 mac 上安装了所有配置文件的会话,但是现在这个会话消失了,我现在如何访问这个会话?

回答by Mirko Catalano

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.

在 XCode 5 中执行此操作的最佳方法是使用iPhone 配置实用程序。它使您可以轻松快速地手动删除配置文件的重复项。

enter image description here

在此处输入图片说明

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

以防万一,当我这样做时,我会关闭 Xcode。

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

编辑:对于任何想知道如何实际“删除”的人。只有两种方法:a。菜单 -> b. 点击 / 键盘按钮。

回答by mopsled

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

可以直接删除文件 ~/Library/MobileDevice/Provisioning Profiles

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

打开finder,?-Shift-G,然后粘贴到上面的路径中。之后重新启动Xcode。

Check out this related questionfor other suggestions.

查看此相关问题以获取其他建议。

回答by Subzero

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

Mirko 的回答是正确的——但是,下面我试图解释 XCode5 上的“为什么是这样”。在 XCode5 上,您不应该/不允许直接删除配置文件 - 我认为 Apple 已经稍微改变了范式并希望简化流程,同时使二进制文件的配置和签名更加安全。XCode5 的想法是允许您使用您的开发 Apple ID 登录,然后 X-Code 将与您的所有配置文件同步。如果要删除配置文件(可能已过期或多余), 在此处输入图片说明

回答by ChaozUT

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.

要删除已编辑配置文件的副本,您还可以转到 Xcode -> 首选项 -> 帐户,选择您的帐户,然后点击配置文件列表下左下角的刷新按钮。

回答by Karishma

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

有两种方法可以从 Xcode 中删除旧的配置文件。1. Xcode 首选项 2. iPhone 配置实用程序软件。

  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.
  1. Xcode Preferences -> Go Xcode -> 单击左侧顶部工具栏选项 Xcode -> Click Preferences -> Accounts,选择您的帐户,然后点击配置文件列表下左下角的刷新按钮。

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
  1. iPhone 配置实用程序软件 -> 安装此软件 -> 打开软件 -> 配置文件 -> 查找所有配置文件的列表 -> 按 Backspace 按钮,它会要求删除配置文件 -> 单击删除配置文件。因此,它将从您所有现有的 Xcode 应用程序甚至您的 PC 中删除它。 照片显示了如何删除个人资料