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 add your device to the provisioning portal and that profile needs to be installed on the device. In Xcode4 you can do all this via organiser once you have added the device id on the site.