Xcode 5 中缺少 Provisioning Profiles 菜单项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18041267/
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-09-09 04:52:14  来源:igfitidea点击:

Provisioning Profiles menu item missing from Xcode 5

xcodeprovisioning-profilexcode5

提问by kanstraktar

After spending a whole day installing a fresh copy of Mac OS X v10.8(Mountain Lion), Xcode5, fixing provisioning profiles, certificates, creating new ones, I finally managed to get my applications running on my iPad again. The problem is that in Xcode 5 I don't have a menu item for Library - Provisioning Profiles, and I don't know what could have happened. I restarted the computer, tried some things, but I really have no idea what I could do. How can I fix this problem?

在花了一整天安装Mac OS X v10.8(Mountain Lion)、Xcode5的新副本、修复配置文件、证书、创建新文件后,我终于设法让我的应用程序再次在 iPad 上运行。问题是在 Xcode 5 中我没有 Library - Provisioning Profiles 的菜单项,我不知道会发生什么。我重新启动了电脑,尝试了一些东西,但我真的不知道我能做什么。我该如何解决这个问题?

Xcode 5 organizer

Xcode 5 组织者

回答by trojanfoe

These settings have now moved to Preferences > Accounts:

这些设置现在已移至Preferences > Accounts

enter image description here

在此处输入图片说明

回答by laktak

If you like to manually manage your profiles (mostly to clean up):

如果您想手动管理您的个人资料(主要是为了清理):

  • Open Windows/Devices in Xcode 6
  • Select your device
  • Show Provisioning Profiles:
  • open provisioning profiles
  • You'll get +and -buttons to add/remove profiles:
  • profiles
  • 在 Xcode 6 中打开 Windows/设备
  • 选择您的设备
  • 显示配置文件:
  • 打开配置文件
  • 您将获得+-按钮来添加/删除配置文件:
  • 个人资料


No longer supported... you can also download Apple's iPhone Configuration Utility 3.5 for Mac OS X, it still has "Provisioning Profiles" and works with Xcode 5 -- it's now gone from Apples site but you can find an alternative download link in @suda's comment.

不再受支持...您还可以为 Mac OS X 下载 Apple 的 iPhone Configuration Utility 3.5,它仍然具有“Provisioning Profiles”并与 Xcode 5 配合使用——它现在已从 Apples 网站上消失,但您可以在 @ 中找到替代下载链接苏达的评论。

回答by Joe

Provisioning files are located in:

配置文件位于:

/Users/${USER}/Library/MobileDevice/Provisioning Profiles/

Just remove the out-of-date files.

只需删除过时的文件。

回答by bbaassssiiee

Xcode5 lost my Mac Provisioning Profile while the one for iOS was present. The tips elsewhere helped solve the problem; this is what I did, because I noticed the lists were too short and did not include *Mac Team Provisioning Profile: **

Xcode5 丢失了我的 Mac Provisioning Profile,而 iOS 的 Provisioning Profile 存在。其他地方的提示有助于解决问题;这就是我所做的,因为我注意到列表太短并且不包括 *Mac Team Provisioning Profile:**

  1. Xcode menu => Preferences=> Accounts
  2. Select the Apple ID in the left panel.
  3. Click the View Detailsbutton on the right.
  4. In the pop-over that follows click the round refresh arrow. The lists will refresh after the download from the Member Center finishes. This can take a few minutes.
  5. The provisioning profiles can then be selected in a Mac project under Build Settings=> Code Signing=> Provisioning Profile.
  1. Xcode 菜单 =>首选项=>帐户
  2. 在左侧面板中选择 Apple ID。
  3. 单击右侧的查看详细信息按钮。
  4. 在随后出现的弹出窗口中,单击圆形刷新箭头。从会员中心下载完成后,列表将刷新。这可能需要几分钟时间。
  5. 然后可以在 Mac 项目中的Build Settings=> Code Signing=> Provisioning Profile下选择配置文件

回答by sanjeev sharma

Try this:

尝试这个:

Xcode >> Preferences>> Accounts

Xcode >> Preferences>> Accounts

回答by Lei

You can add account in the preference -> Accounts setting.

您可以在首选项 -> 帐户设置中添加帐户。

It seems that you already configure xCode4, then I think you can select your certificates for compiling in project-> Building Setting directly since your certificates are already in your keychain.

看来您已经配置了xCode4,那么我认为您可以直接在项目-> 构建设置中选择要编译的证书,因为您的证书已经在您的钥匙串中。

回答by Mahesh_P

After searching a few times in google, i found one software for provisioning profiles.

在谷歌搜索了几次后,我找到了一款用于配置配置文件的软件

Install this iPhone configuration utility software and manage your all provisioning profiles in MAC.

安装此 iPhone 配置实用程序软件并在 MAC 中管理您的所有配置文件。

回答by KiRviz

Stupid as it may sound but all "Provisioning Profiles" re-appear under "Organizer - Devices" once you connect a real device.

听起来很愚蠢,但是一旦您连接了真实设备,所有“配置文件”都会重新出现在“组织者 - 设备”下。

回答by PhilC

For me, the refresh in xcode 5 prefs->accounts was doing nothing. At one point it showed me three profiles so I thought I was one refresh away, but after the next refresh it went back to just one profile, so I abandoned this method.

对我来说,xcode 5 prefs->accounts 中的刷新什么也没做。有一次它向我展示了三个配置文件,所以我以为我只需要一次刷新,但是在下一次刷新后它又回到了一个配置文件,所以我放弃了这个方法。

If anyone gets this far and is still struggling, here's what I did:

如果有人走到这一步并且仍在挣扎,这就是我所做的:

  1. Close xcode 5
  2. Open xcode 4.6.2
  3. Go to Window->Organizer->Provisioning Profiles
  4. Press Refresh arrow on bottom right
  1. 关闭 xcode 5
  2. 打开 xcode 4.6.2
  3. 转到窗口-> 组织者-> 配置文件
  4. 按右下角的刷新箭头

When I did this, everything synced up perfectly. It even told me what it was downloading each step of the way like good software does. After the sync completed, I closed xcode 4.6.2, re-opened xcode 5 and went to preferences->accounts and voila, all of my profiles are now available in xocde 5.

当我这样做时,一切都完美地同步了。它甚至告诉我它像好软件一样下载每一步的内容。同步完成后,我关闭了 xcode 4.6.2,重新打开了 xcode 5 并转到了首选项-> 帐户,瞧,我的所有配置文件现在都可以在 xocde 5 中使用了。