xcode 代码签名错误:无法找到配置文件“XX-YY-ZZ”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5315947/
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
Code Sign error: Provisioning profile 'XX-YY-ZZ' can't be found
提问by testndtv
I am trying to use iPhoneDistribution...
我正在尝试使用 iPhoneDistribution ...
When I do Build, I get the error Code Sign error: Provisioning profile 'XX-YY-ZZ' can't be found ...
当我构建时,我收到错误代码签名错误:无法找到配置文件“XX-YY-ZZ”...
How do I fix this?
我该如何解决?
What/ WHere is that XX-YY-ZZ ?
什么/哪里是 XX-YY-ZZ ?
From my side, I have verified the App ID and used it in Info.plist as well as under Configuration > Identifier
就我而言,我已经验证了 App ID 并在 Info.plist 以及 Configuration > Identifier 下使用了它
What should I do now?
我现在该怎么办?
Please help me...I have tried all possible fixes on this and referred the Apple docs as well...I am totally confused and feel helpless now.
请帮助我...我已经尝试了所有可能的修复方法并参考了 Apple 文档...我现在完全困惑并且感到无助。
回答by PengOne
In your Project settings for the Build, make sure that the Release configuration is using the (correct) Distribution profile and that the Debug configuration is using the (correct) Developer profile.
在构建的项目设置中,确保发布配置使用(正确的)分发配置文件,并且调试配置使用(正确的)开发人员配置文件。