I updated my provisioning profile to include some more devices for Ad-Hoc testing,I added this new profile and removed the old and now I am getting this error:
I also had this problem while trying to replace a dev provisioning profile with an updated version. Looks like a bug.
Running XCode clean, then setting the code signing identity (for dev, in my case) to "don't code sign", then setting the code sign identity back to the relevant development provisioning profile resolved the build error.
It should be problem with the Application Identifier in the plist file.Check that. Did you install the new Provisioning Profile?
In Xcode (I am using 4.5.2) > Build Settings > Code Signing section:
Don't Code Sign
For example:
Note It is Advice to create two different profile for development and testing
Seems to be a bug in Xcode GM Seed, I had to kill Xcode and reopen it every time I change a profile.