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
1- TARGETS -> click the app-> Build Setting-> Code Signing : Make sure that both "Debug" and "Any iOS SDK" are set to "iPhone Development"
2- Product -> Scheme -> Edit Scheme: Make sure Build Configuration is set to Debug.