xcode 错误代码-90161 配置文件无效
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28960751/
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
Error Code-90161 Invalid provisioning profile
提问by Ravi Anand
ERROR ITMS-90161:"Invalid Provisioning Profile
错误 ITMS-90161:“无效的配置文件
I have created IPA using Xamarin IOS in ad-hoc mode and selected a adhoc provisioning profile. but while uploading, following error annoying me :(
我在临时模式下使用 Xamarin IOS 创建了 IPA,并选择了临时配置文件。但是在上传时,以下错误让我很恼火:(
when I uploaded using application loader:
当我使用应用程序加载器上传时:
ERROR ITMS-90161:"Invalid Provisioning Profile.The provisioning profile included in the bundle x.x.x.x[Payload/x.x.x.app] is invalid.[Missing code-signing certificate.] For more information,visit the iOS developer Portal."
错误 ITMS-90161:“无效的配置文件。包含在包 xxxx[Payload/xxxapp] 中的配置文件无效。[缺少代码签名证书。]有关更多信息,请访问 iOS 开发人员门户。”
采纳答案by Magicbj?rn
If you get this error, you probably don't have the correct type of Provisioning Profile. There's a few types of Provisioning Profiles, most notably are the "Development" and "Distribution" profiles. I suggest looking at your provisioning profiles, and if necessary recreate them.
如果您收到此错误,您可能没有正确类型的配置文件。有几种类型的供应配置文件,最显着的是“开发”和“分发”配置文件。我建议查看您的配置文件,并在必要时重新创建它们。
To elaborate: You have 1 Certificate (created via Xcode Certificate Generating). With this Certificate, you can create an "App Identifier", and Provisioning Profiles. You can use the same Certificate for both a Developer Provisioning Profile and a Distribution Provisioning Profile. They don't work with one another, meaning a Developer Provisioning Profile won't work for a release build, and a Distribution Provisioning Profile won't work for a debugg build.
详细说明:您有 1 个证书(通过 Xcode 证书生成创建)。使用此证书,您可以创建“应用程序标识符”和配置文件。您可以对开发人员供应配置文件和分发供应配置文件使用相同的证书。它们不能相互配合使用,这意味着开发人员供应配置文件不适用于发布版本,而分发供应配置文件不适用于调试版本。
Try this, and see if that helps. Be sure to haul the new profiles in Xcode (or any other method you'd use) and edit your project's settings.
试试这个,看看是否有帮助。请务必在 Xcode(或您使用的任何其他方法)中提取新配置文件并编辑您的项目设置。
Good luck!
祝你好运!
Love and regards, Bj?rn
爱和问候,Bj?rn