xcode iTunes Connect 验证 iOS 应用程序时出现无效的代码签名权利错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21515349/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:36:56  来源:igfitidea点击:

Invalid code signing entitlements error upon iTunes Connect validation for iOS app

iosxcodeapp-store-connectcode-signingbundle-identifier

提问by ZooZ

I am attempting to validate my iOS app in Xcode. However, upon validation, I receive the following error:

我正在尝试在 Xcode 中验证我的 iOS 应用程序。但是,经过验证,我收到以下错误:

iTunes Connect Validation

iTunes 连接验证

The following issues were found during validation:

  • Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'VQ27FEWWTE.Veniteck.Solutions.Radio-Malayalam' for key 'application-idenfier' in 'Payload/Radio Malayalam.app/Radio Malayalam' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier.

验证过程中发现以下问题:

  • 无效的代码签名权利。您的应用程序包的签名包含 iOS 不支持的代码签名权利。具体来说,不支持“Payload/Radio Malayalam.app/Radio Malayalam”中关键“application-idenfier”的值“VQ27FEWWTE.Veniteck.Solutions.Radio-Malayalam”。该值应该是一个以您的 TEAMID 开头的字符串,后跟一个点“.”,后跟包标识符。

回答by

If you have tried everything and nothing is helping, believe me, sometimes just closing the XCode, shutting down the system helps. When you again start the system, the same thing whil work like a charm. I have been a victim of Apple's Troll.

如果你已经尝试了一切但没有任何帮助,相信我,有时只是关闭 XCode,关闭系统会有所帮助。当你再次启动系统时,同样的事情会像魅力一样工作。我一直是苹果巨魔的受害者。

回答by PWiggin

Also make sure your version number is the same as what is in itunes connect.

还要确保您的版本号与 itunes connect 中的版本号相同。

回答by Jojodmo

Try the following steps to fix the problem:

请尝试以下步骤来解决问题:

1)Close XCode, and restart your computer. Sometimes errors like this happen because you're in need of a restart

1)关闭 XCode,然后重新启动计算机。有时会发生这样的错误,因为您需要重新启动

2)Try changing your bundle ID to have no -'s or _'s in it. Try to only use numbers, letters, and the dots needed in your ID. something like com.myDomain.myApp, avoid com.myDomain.this-is_my+App

2)尝试更改您的包 ID,使其中没有-'s 或_'s。尽量只使用 ID 中所需的数字、字母和点。类似的东西com.myDomain.myApp,避免com.myDomain.this-is_my+App

3)Make sure that your bundle id follows this syntax: TLD.domain.appName, so you should have your bundle ID set to com.venitecksolutions.Radio-Malayalam. Your team ID is not needed. Here is an example when creating a new project:

3)确保您的包 ID 遵循以下语法:TLD.domain.appName,因此您应该将包 ID 设置为com.venitecksolutions.Radio-Malayalam。不需要您的团队 ID。以下是创建新项目时的示例:

enter image description here

在此处输入图片说明

4)Try changing the bundle ID, create an entirely new app with a compleatly different, unique ID, like com.venitecksolutions.RadioMalayalam. Creating an entirely new project, and an entirely new application in iTunesConnect

4)尝试更改包 ID,创建一个全新的应用程序,使用完全不同的唯一 ID,例如com.venitecksolutions.RadioMalayalam. 创建一个全新的项目,以及一个全新的应用程序iTunesConnect

5)If all else fails, try entirely re-creating the project, and copying over all of the code to the new project. Sometimes the project is corrupted and you just need to move all of your code, and nib or storyboards over to a completely new file.

5)如果一切都失败了,请尝试完全重新创建项目,并将所有代码复制到新项目中。有时项目已损坏,您只需要将所有代码、笔尖或故事板移动到一个全新的文件中。

回答by grg

As shown in the error message, there is a specific syntax which you must follow for your application-identifier key.

如错误消息中所示,您的应用程序标识符键必须遵循特定的语法。

This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier.

该值应该是一个以您的 TEAMID 开头的字符串,后跟一个点“.”,后跟包标识符。

Make sure you follow this syntax, otherwise the app will not validate. Use…

请确保遵循此语法,否则应用程序将无法验证。用…

VQ27FEWWTE.com.venitecksolutions.Radio-Malayalam

回答by Jamshed Alam

I did everything. Nothing worked. The problem was my mobile provision in dev portal was invalid. So, i edit and updated it and then quit, restart Xcode. Now everything is fine.

我做了一切。没有任何效果。问题是我在开发门户中的移动配置无效。所以,我编辑并更新它,然后退出,重新启动 Xcode。现在一切都很好。