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