Xcode 5中缺少Provisioning Profiles菜单项

本文翻译自:Provisioning Profiles menu item missing from Xcode 5

After spending a whole day installing a fresh copy of Mac OS X v10.8 (Mountain Lion), Xcode 5, fixing provisioning profiles, certificates, creating new ones, I finally managed to get my applications running on my iPad again. 花了一整天安装Mac OS X v10.8 (Mountain Lion), Xcode 5的新副本,修复配置文件,证书,创建新版本后,我终于设法让我的应用程序再次在我的iPad上运行。 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. 问题是在Xcode 5中我没有Library - Provisioning Profiles的菜单项,我不知道会发生什么。 I restarted the computer, tried some things, but I really have no idea what I could do. 我重新启动计算机,尝试了一些东西,但我真的不知道我能做什么。 How can I fix this problem? 我该如何解决这个问题?

Xcode 5中缺少Provisioning Profiles菜单项


#1楼

参考:https://stackoom.com/question/1DhMB/Xcode-中缺少Provisioning-Profiles菜单项


#2楼

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,然后我认为您可以直接在项目 - >建筑设置中选择您的证书进行编译,因为您的证书已经在您的钥匙串中。


#3楼

These settings have now moved to Preferences > Accounts : 这些设置现已移至Preferences > Accounts

Xcode 5中缺少Provisioning Profiles菜单项


#4楼

If you like to manually manage your profiles (mostly to clean up): 如果您想手动管理您的个人资料(主要是为了清理):

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

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. 不再支持 ...你也可以下载Apple的iPhone配置实用程序3.5 for Mac OS X,它仍然有“配置文件”并与Xcode 5一起使用 - 它现在已经从苹果网站上消失了,但你可以在@找到另​​一个下载链接苏达的评论。


#5楼

Xcode 5 lost my Mac Provisioning Profile while the one for iOS was present. 当iOS版本存在时, Xcode 5丢失了我的Mac Provisioning Profile。 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: ** 这就是我所做的,因为我注意到列表太短而且没有包括* Mac Team Provisioning Profile:**

  1. Xcode menu => Preferences => Accounts Xcode菜单=> 首选项 => 帐户
  2. Select the Apple ID in the left panel. 在左侧面板中选择Apple ID。
  3. Click the View Details button 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 . 然后可以在Build Settings => Code Signing => Provisioning Profile下的Mac项目中选择配置文件

#6楼

Try this: 试试这个:

Xcode >> Preferences >> Accounts Xcode >> 首选项 >> 帐户