Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A valid provisioning profile for this executable was not found

I just cracked open an older project to apply a bug fix.

After 2 minutes of fixing the, bug I go to build it to my device, and I get this error "A valid provisioning profile for this executable was not found."

In mad trouble shooting, I completely made new distribution and developer certificates, as well as a new certificate for the app.

Still, same error.

Can anyone provide a list of things to check? Ways I can troubleshoot this further?

Cheers. PS. I hate provisioning.

EDIT: I'm using the team provisioning profile... is that a problem? I'm just trying to debug to a device.. it shouldn't be an issue.

like image 678
Sam Jarman Avatar asked Jun 29 '11 09:06

Sam Jarman


1 Answers

Ok, so I solved this, somehow in trying to build for the app store I changed the build config for the "run" scheme from debug to release.. and naturally release was using a distribution cert.. which wasn't (and can't be) installed on my device.

I hate xcode 4. (this aspect of it :P)

What is a scheme anyway? :S

like image 138
Sam Jarman Avatar answered Sep 30 '22 01:09

Sam Jarman