I have an app with a distribution certificate with an app id. I have downloaded the distribution profile into my organizer and set the bundle id in info.plist to the app id. However, when I try to archive the project, I get
Code Sign error: Provisioning profile '...' specifies the Application Identifier '...' which doesn't match the current setting 'mybundleid'.
Xcode is looking at a different provisioning profile and saying it's wrong, but I don't want to look at that provisioning profile, I want it to look at a different one. In Build Settings, it even says "(currently matching...) to my correct provisioning profile, so I don't get what's going on.
I also did try removing the wrong profile, but then it gave me another error that the provisioning profile did not exist.
Does anyone know what I'm missing here? Thanks.
3. How To Fix Xcode Failed To Create Provisioning Profile Error. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.
I got the same issue last night, worked on it for 5+ hours. I finally figured it out this morning, turned out I was change the build settings of the project, instead of the target in Xcode...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With