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

查看:32
本文介绍了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天全站免登陆