Xcode 5:代码签名授权错误 [英] Xcode 5: Code signing entitlement errors

查看:69
本文介绍了Xcode 5:代码签名授权错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个支持IOS 7的新应用程序.我获得了新的XCode 5 GM,并尝试使用新的配置文件和分发证书对我的应用程序进行签名,但是我在分发方面遇到了麻烦.我不断收到以下错误:

I've build a new application which is going to support IOS 7. I got the new XCode 5 GM and tried to sign my apps using my fresh provisioning profile and distribution certificate, but i'm having trouble with distribution. I constantly get the following error:

无效的代码签名权利.您的应用程序中的权利 捆绑包签名与 供应配置文件.根据配置文件, 捆绑软件包含不允许的键值: "[XXXX.com.sample.company]"作为密钥"keychain-access-groups".

"Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[XXXX.com.sample.company ]' for the key 'keychain-access-groups".

对于名为application-identifier的键值,也存在相同的错误.

Also the same error for a key value called application-identifier.

错误的屏幕截图:

推荐答案

解决方案在于Xcode 5中的新选项,该选项中显示了配置文件.只需将项目目标的供应配置文件设置为正确的配置文件即可.

The solution lies in the new option in Xcode 5 which says provisioning profile. Just set the project target's provisioning profile to the right one and it'll work.

这篇关于Xcode 5:代码签名授权错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆