Well, here's what worked for me: turned out that the project file was messed up. (I'd attribute this to myself, but I'm not so sure now. I've been testing it for a while, and ... well... just check this out and see if it's happening with you too.)
The project file is a package, including project.pbxproj. At the end of that file is where you'll find the provisions listed. Compare those -names and numbers- to those in ~/Library/mobiledevice/provisioning profiles. (You'll have to open the profiles to see which is which.)
What I found was that they were mis-matched. in some cases the ones labeled distribution had debug provisions listed, or some other mismatch.
I just replaced the incorrect names and numbers with the correct ones, and things worked fine for me.
I'm going to submit this as a bug to Apple, once I'm positive it's not me fumbling around.
OH... and make a copy of your project file before you go hacking around in it.
This could just be me, but if it's true for you too, will you please post back here?
Good luck!
|