简体   繁体   English

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

[英]How remove a old provisioning profile in xcode 5?

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

The best way to do this in XCode 5 is using an iPhone Configuration Utility . 在XCode 5中执行此操作的最佳方法是使用iPhone配置实用程序 It lets you manually delete duplicates of provisioning profiles with ease and speed. 它允许您轻松快速地手动删除配置文件的重复项。

在此输入图像描述

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. 只有两种方式:a。 menu -> b. 菜单 - > b。 Hit the / keyboard button. 按/键盘按钮。

You can delete the files directly from ~/Library/MobileDevice/Provisioning Profiles 您可以直接从~/Library/MobileDevice/Provisioning Profiles删除~/Library/MobileDevice/Provisioning Profiles

Open finder, ⌘-Shift-G, and paste in the above path. 打开取景器,⌘-Shift-G,然后粘贴到上面的路径中。 Restart Xcode afterward. 之后重启Xcode。

Check out this related question for other suggestions. 查看此相关问题以获取其他建议。

Mirko's answer is correct- however, below I am trying to explain "why-it-is-so" on XCode5. Mirko的答案是正确的 - 但是,下面我试图在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. 在XCode5上,您不应该/允许直接删除配置文件 - 我认为Apple已经稍微改变了范例并希望简化流程,同时使二进制文件的配置和签名更加安全。 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. XCode5的想法是允许您使用您的开发苹果ID登录,然后X-Code将与您的所有配置文件同步。 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). 如果要删除配置文件(可能已过期或冗余),请转到您的开发配置文件并将其删除 - 因为X-Code包含有关您的苹果ID和配置文件的所有详细信息(如屏幕截图所示) - 它将将自己与最新的配置文件列表同步 - 您不必担心从X-Code中删除这些配置文件(因此您无法再从X-Code中删除这些配置文件)。 在此输入图像描述

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

There are two ways for deleting your old provisioning profiles from Xcode. 有两种方法可以从Xcode中删除旧的配置文件。 1. Xcode Preferences 2. iPhone Configuration Utility Software. 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. Xcode首选项 - > Go Xcode - >单击左侧顶部工具栏选项Xcode - >单击首选项 - >帐户,选择您的帐户,然后点击配置文件列表下方左下角的刷新按钮。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM