无效的代码签名权利,将应用提交给Apple时出错 [英] Invalid Code Signing Entitlements, error while submitting app to apple

查看:296
本文介绍了无效的代码签名权利,将应用提交给Apple时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发启用了iCloud的应用程序.将应用程序上传到苹果时,出现以下错误:

I am developing an app with iCloud enabled. While uploading the app to apple I got following error:

        Invalid Code Signing Entitlements. Your application bundle's 
signature contains code signing entitlements that are not supported by iOS. 

Specifically, key 
    `'com.apple.developer.icloud-container-identifiers' in Payload ------- not supported`

在冲浪时,我也得到了一些禁用iCloud的答案,但是我想为我的应用程序使用iCloud功能,所以还有其他方法可以解决此问题,请告诉我. 预先感谢

While surfing i also got some answer that disable iCloud,but I want to use iCloud feature for my app, so is there any other way to overcome this problem, please let me know. Thanks in advance

推荐答案

似乎您的配置文件未配置为允许iCloud权利.为此,请在 http://developer.apple.com 上登录您的开发帐户,然后转到iOS开发人员中心,然后在右侧的iOS开发人员计划下,点击右侧证书,标识符和配置文件"的链接.在标识符"部分中找到您的应用ID,然后单击编辑"按钮.从那里,确保同时启用iCloud进行开发和分发.

It seems like your provisioning profile is not configured to allow iCloud entitlements. To do this, log into your dev account at http://developer.apple.com, go to the iOS Dev center, and Click the link on the right for "Certificates, Identifiers, & Profiles" under the iOS Developer Program on the right. Find your app id in the Identifiers section, and click the edit button. From there, make sure iCloud is enabled for both development and distribution.

此外,请确保您的应用程序ID前缀未使用通配符.使用任何特殊权利(例如iCloud,推送通知等)时,将无法使用通配符前缀(com.example.*).一旦确定已启用iCloud进行设置,则需要重新生成您的配置文件.

Also, make sure your app id prefix is not using wildcards. You will not be able to use a wildcard prefix (com.example.*) when using any of the special entitlements, like iCloud, Push Notifications, etc. Once you are sure that is set up with iCloud enabled, you will need to regenerate your provisioning profile.

单击左侧的配置文件",然后找到您的应用商店配置文件.单击配置文件上的编辑"按钮,选择现在已启用iCloud的应用程序ID,然后单击生成"按钮以生成新的配置文件.然后下载供应配置文件,并将其安装在旧配置文件之上.然后重新构建并签名应用,然后尝试重新提交.

Click the Provisioning Profiles on the left, and find you app store provisioning profile. Click the Edit button on the profile, select the app ID that now has iCloud enabled, and click the "Generate" button to generate a new provisioning profile. Then download the provisioning profile and install it over top of the old profile. Then re-build and sign the app and try re-submitting.

这篇关于无效的代码签名权利,将应用提交给Apple时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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