ios 代码签名权利无效?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27778532/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Invalid code signing entitlements?
提问by Nasir Khan
I have found these errors while uploading the app on app store, can anyone solve this issue please?
我在应用商店上传应用时发现了这些错误,请问有人能解决这个问题吗?
Error ITMS-9000: "Invalid code signing entitlements. Your application bundle's signature contains code signing entitlement that are not supported on iOS. specifically, value '*' for key 'com.apple.developer.associated-domamains' in
'Payload/battleofchampionsHDIOS.app/battleofchampionsHDIOS' is not support."
I already have tried previous methods like, disabled that iCloud
, `regenerated provisional profiles multiple times, refreshed the Xcode / mac / provisional profiles from Xcode. but still having the same error again and again and again.
我已经尝试了以前的方法,比如,禁用了iCloud
,`再生临时型材多次,从Xcode中刷新的Xcode / MAC /临时配置文件。但仍然一次又一次地出现同样的错误。
采纳答案by Puvanarajan
Check your certificate again. Are you sure you are using correct certificate? Production environment certificate?
再次检查您的证书。您确定您使用的是正确的证书吗?生产环境证书?
Refer these links
参考这些链接
错误 ITMS-9000:“缺少代码签名权利。捆绑中未找到权利”-如何更改应用程序 ID 名称
Getting ERROR ITMS-9000 when trying to upload an app using Application Loader
回答by Henry Heleine
I resolved this issue because I had selected the "Associated Domains" entitlement (on the Apple Developer site) however in Xcode 6.1.1 seemed to not allow an app to be submitted if you have the Associated Domains switch as off in the capabilities Xcode tab.
我解决了这个问题,因为我选择了“关联域”权利(在 Apple 开发人员网站上)但是在 Xcode 6.1.1 中似乎不允许提交应用程序,如果您在功能 Xcode 选项卡中关闭了关联域.
You can therefore solve the Associated Domain issue by going to your app target in Xcode, Capabilities, Associated Domains and hitting the switch to ON if it's off. You don't have to add any info/domains but it seems to make Xcode happy!
因此,您可以通过在 Xcode、Capabilities、Associated Domains 中转到您的应用程序目标并在它关闭时将开关打到 ON 来解决关联域问题。您不必添加任何信息/域,但它似乎让 Xcode 高兴!
See image below:
见下图:
Alternatively if you can (and don't mind) then you could remove the Associated Domain entitlement when configuring your app on the Apple Developer site and re-download the certs/profiles.
或者,如果您可以(并且不介意),那么您可以在 Apple Developer 站点上配置您的应用程序时删除关联域权利,并重新下载证书/配置文件。
回答by Allen
This issue suddenly attacked me. I upload builds frequently and nothing was changed. Just kept getting rejected from the app store for the code signing.
这个问题突然袭击了我。我经常上传构建,但没有任何改变。只是不断被应用程序商店拒绝进行代码签名。
For me a different solution worked. In Xcode go to your App Target -> Build Settings -- check the code signing identity, on that drop down I selected my distribution code signing (I had developer selected). I changed that and it worked. Also the Provisioning Profile (still under code signing) was set to automatic which I think might play a role if this is an issue for someone.
对我来说,一个不同的解决方案奏效了。在 Xcode 中,转到您的 App Target -> Build Settings - 检查代码签名标识,在该下拉列表中我选择了我的分发代码签名(我选择了开发人员)。我改变了它并且它起作用了。此外,配置文件(仍在代码签名中)设置为自动,如果这对某人来说是个问题,我认为这可能会起作用。
回答by dogsgod
Check your associated domains in Project Settings > Capabilities
From the error, you have set that to wildcard (*) which is not allowed.
Project Settings > Capabilities
在错误中检查您的关联域,您已将其设置为不允许的通配符 (*)。
For more information about associated domains consult the App Distribution Guide
有关关联域的更多信息,请参阅应用分发指南