When archiving one of the targets, Xcode issues an error of incorrect provisioning profile

Problem: you want to sign and archive one of your project’s targets but Xcode issues an error message, stating that the provisioning profile is incorrect and does not match the target’s bundle id: Provisioning profile '<name of the profile>’ specifies the Application Identifier '<identifier from profile>’ which doesn’t match the current setting '<identifier from application>’.

Solution: First of all check in the Organizer (Shift + Command + 2) that you have all your provisioning profiles downloaded and updated in the Xcode.

If this is not the issue, then go to your target’s Build Settings and re-select the developer key you use for signing. The important part here is to select the user from the correct provisioning profile, even if it is exactly the same user.

Komentowanie jest zakończone.