分享

解决Invalid Code Signing Entitlements 问题

 爽行天下丶 2015-07-02

上传的时候,碰到Invalid Code Signing Entitlements的错误的时候,一时间会找不到原因,因为不是代码的问题,但是这个原因可以很简单的解决。

本人上传遇到的问题:

这个问题是因为我的项目的Code Signing Entitlements 里有内容,处理的办法是将其内容删除

将内容删除,变成如下图:

再次验证,问题解决。


有一些人出现的也是Invalid Code Signing Entitlements 的问题,但是是因为 icloud的原因,错误提示为

Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-container-identifiers entitlement, the first value in the array must consist of the prefix provided by Apple in the provisioning profile followed by a bundle identifier suffix. The bundle identifier must match the bundle identifier for one of your apps or another app that you are permitted to use as the iCloud container identifier.

Specifically, value "CVYZ6723728.*" for key "com.apple.developer.ubiquity-container-identifiers" in XX is not supported.

这个问题是因为你的appID允许添加iCloud ,改进的办法是将这个选线去掉。

进入开发者账号,选择appID里你正在发布的应用的 app ID,点击最下方的 “edit”将iCloud选项勾去。



完成后,重新生成一个描述文件,如图


生成后,点击安装,用新的描述文件重新上传就好。


还有一些人会有其他的问题:

Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-container-identifiers entitlement, the first value in the array must consist of the prefix provided by Apple in the provisioning profile followed by a bundle identifier suffix. The bundle identifier must match the bundle identifier for one of your apps or another app that you are permitted to use as the “其他的选项”container identifier.

这个问题和icloud的问题解决起来是一样的,将“其他选项的”"勾"去掉就好


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多