Visual Studio Cordova错误“未找到匹配的配置文件:未找到与分发包标识符匹配的配置文件。”

曼格什·库尔卡尼(Mangesh Kulkarni)

我正在尝试使用Visual Studio在分发模式下的ios cordova应用程序上运行我的应用程序。

构建失败,并出现以下错误。

 No matching provisioning profiles found: No provisioning profiles matching the bundle identifier ΓÇxxxx.yyy.appΓÇ¥ were found.
查克·兰兹

这是在告诉您您尚未在Mac上为您的应用设置有效的分发证书。iOS,Android和Windows都要求您生成证书,然后才能签名和打包应用程序以分发到适当的应用程序商店。

看...

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

...和...

https://msdn.microsoft.com/zh-CN/library/dn757048.aspx#iOS

默认情况下,Visual Studio将自动匹配分发证书。如果需要覆盖以使用其他签名身份,则可以将自定义build-debug.xcconfig或build-release.xcconfig文件放置在res / native / ios / cordova中。

样品:

https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/build-release.xcconfig

https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/build-debug.xcconfig

iOS Build设置上的文档:https : //developer.apple.com/library/ios/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/0-Introduction/introduction.html#//apple_ref/doc/uid/TP40003931-CH1-SW1

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

Related 相关文章

热门标签

归档