If none of those work, right click on your project in the finder, select "Show package contents." Open the pbxproj file in a plain text editor, and double check that your provisioning profile ID is correct in there. Sometimes, even though Xcode will say you have one profile selected, there will be something totally different in the pbxproj file.