简体   繁体   English

xCode 6 iOS应用中的权利错误

[英]Entitlements error in xCode 6 iOS app

I am getting this error while trying to use an App Store Provisioning profile: 尝试使用App Store供应配置文件时出现此错误:

The entitlements specified in your application’s Code Signing Entitlements

file do not match those specified in your provisioning profile. 文件与您的配置文件中指定的文件不匹配。 (0xE8008016). (0xE8008016)。

I went into the "capabilities" section in Xcode and they match the app in iTunes connect. 我进入了Xcode中的“功能”部分,它们与iTunes connect中的应用程序匹配。

What do I put in my entitlements file, what should it be called, and where should it be located. 我应在权利文件中放入什么,应称其为什么,应将其放置在何处。 And how do I import the entitlements into my Xcode project? 以及如何将权利导入我的Xcode项目中?

  1. Go into your project settings in xcode, both under Project -> Build Settings and Targets -> Build Settings. 在“项目”->“构建设置”和“目标”->“构建设置”下进入xcode中的项目设置。 The Provisioning Profile you wish to use should be chosen next to Provisioning Profile 您希望使用的配置文件应在配置文件旁边选择
  2. In those same locations, look under Code Signing Identity. 在那些相同的位置,在“代码签名身份”下查看。 Whatever code signing certificate you used when creating that specific Provisioning Profile should be selected. 应该选择创建该特定Provisioning Profile时使用的任何代码签名证书。 You are probably selecting a certificate that was not selected in your provisioning profile. 您可能选择的是在配置文件中未选择的证书。
  3. If you are running on a device, make sure the device has been added to that Provisioning Profile. 如果您正在设备上运行,请确保已将设备添加到该配置文件中。

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

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