简体   繁体   English

无法安装.ipa文件

[英]Unable to install .ipa file

I want to test my app in release mode so I changed the schemes and then tried to run it on my device when it said "A valid provisioning profile for this executable was not found" 我想在发布模式下测试我的应用程序,因此我更改了方案,然后尝试在设备上"A valid provisioning profile for this executable was not found"时尝试在我的设备上运行它

Then I archived the file, code signed it and then exported an .ipa file, for Enterprise and Ad-Hoc testing , to run on my device. 然后,我存档了该文件,对其进行了代码签名,然后导出了一个.ipa文件以进行Enterprise and Ad-Hoc testing ,以在我的设备上运行。 I tried to install this with the iPhone Configuration Utility and even then it gave me the same error. 我尝试使用iPhone Configuration Utility安装它,即使这样,它也给了我同样的错误。 What am I doing wrong? 我究竟做错了什么?

Have a look at the bundle ID. 看一下捆绑ID。 When you create Distribution certificate with the bundle ID which was used for testing purpose , then it will be blocked for Distribution and release purpose. 当创建具有用于测试目的的捆绑包ID的分发证书时,将出于分发和发布目的而将其阻止。 So even if you re-create Ad-HOC certificate with the same bundle ID(Which was used for Distribution cerfiticate) it does not work. 因此,即使您使用相同的分发包ID(已将其用于分发证书)重新创建Ad-HOC证书,也无法使用。

Try adding a new bundle ID and create new certificate with the new ID. 尝试添加新的捆绑软件ID,并使用新ID创建新证书。 It WORKS.... 有用....

Thanks Jithen 谢谢吉森

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM