问题
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:
Code Sign error: Provisioning profile 'Floors2Go' specifies the Application Identifier 'com.reapptive.Floors2Go' which doesn't match the current setting 'com.reapptive.Floors2Go'
Which if you look they are both exactly the same, I have removed, re-added a new profile, deleted and re-entered the bundle name in my plist and for the life of me I cant figure this out.
I have also tried cleaning all and rebuild but to no avail.
Any ideas?
回答1:
Seems to be a bug in Xcode GM Seed, I had to kill Xcode and reopen it every time I change a profile.
回答2:
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.
回答3:
In Xcode (I am using 4.5.2) > Build Settings > Code Signing section:
- Change everything to
Don't Code Sign
- Change individual setting to appropriate developer/distribution profiles.
For example:

回答4:
In my case, deleting a duplicate and invalid certificate in keychain fixed this problem..
回答5:
It should be problem with the Application Identifier in the plist file.Check that. Did you install the new Provisioning Profile?
回答6:
- 1- Clean (Product --> Clean)
- 2- Remove Prov. Profile (Window --> Organizer ) remove unused and expired prov. profile
- 3- Set everything to dont code sign in your project and target (press on your project under build settings under code sign set everything to dont code sign and do it again on you target)
- 4- Relaunch Xcode
- 5- Re-add prov. profile
- 6- Go to code sign again and set them to your prov. profile.
- 7- Do step 6 again for code sign in your target. If it didnt work try to make the next step
- 8- Any iOS SDK under debug set it to iPhone or iPad developer under automatic profile selector.
回答7:
- Remove all Prov. Profile from Organizer
- From Menu Select Editor -> Refresh From Developer Center
- Enter your apple id and password and wait
- Go to Buit Settings of App select development profile for debug and ad-Hoc profile for release
Note It is Advice to create two different profile for development and testing
- For Development - > Create Development Profile -> Use
- For Distribution -> Create Ad Hoc Profile
来源:https://stackoverflow.com/questions/12406159/code-sign-error-application-identifier-com-reapptive-floors2go-which-doesnt