"A Valid provisioningprofile for this executable is not found" today in xcode7.3.1 version of the real machine debugging this kind of error occurred, As you can see from the description, the executable provisioning profile was not found. So there are a lot of answers online that you provisioning profile is not found, need to re-import and so on.
Try again, useless, and then from the point of view of the problem, found that the issue is in my certificate to the formal environment, and packaged after the issue, the certificate is modified to the IPhone Develop, but in target code Signing Identity does not automatically switch over.
So the question at a glance, distribution's certificate is obviously not able to support the real machine test, but developer certificate can not be used, so the provisioning profile is changed to Automatic, then clean, Running really can run on the real machine, modify the original developer certificate can be.
This article is from the "11661812" blog, please be sure to keep this source http://11671812.blog.51cto.com/11661812/1784731
iOS error "A valid provisioning profile for this executable is not found"