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 provisioni
You need to assign provision profile at target level as well as Project level. So if you are using Xcode 4 you can see two column. So you need to assign provision profile in both. Also, Make sure
Select provision profile in all the configuration if above not work. Just to give it a try.