教训啊, xcode edit and release


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

 
 
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就好了。

posted @ 2017-02-25 11:31  NOIP/NOI辅导  Views(172)  Comments(0Edit  收藏  举报