a valid provisioning profile for this executable was not found异常

来源:互联网 发布:淘宝详情排版 编辑:程序博客网 时间:2024/06/07 23:34
a valid provisioning profile for this executable was not found错误
程序发布后,发现一个bug,需要在自己手机调试时,出现:a valid provisioning profile for this executable was not found错误.

原来是因为发布的时候把schema里的"Build Configuration"改成了release。而release对应的provision是用发布证书的。把"Build Configuration"改成了debug就好了。

所以,应该创建两个schema就好了。一个给debug,一个给release。如果有需求,可以再给test弄一个。


转自:http://www.educity.cn/wenda/151117.html

0 0