解决Invalid Code Signing Entitlements 问题

上传的时候,碰到Invalid Code Signing Entitlements的错误的时候,一时间会找不到缘由,由于不是代码的问题,可是这个缘由能够很简单的解决。app

本人上传遇到的问题:ide

这个问题是由于个人项目的Code Signing Entitlements 里有内容,处理的办法是将其内容删除ui

将内容删除,变成以下图:spa

再次验证,问题解决。ci


有一些人出现的也是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.it

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

这个问题是由于你的appID容许添加iCloud ,改进的办法是将这个选线去掉。file

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



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


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


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

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的问题解决起来是同样的,将“其余选项的”"勾"去掉就好