Project Bundle identifier does not match the provisioning profile

Below is an high level overview on what we've now done so far


please bear in mind I'm not a MAC person myself


  1. Created a new distribution certificate on the MAC
  2. Created new provisioning profile with the iOS distribution type and assigned to one of our intended to be deployed into iPad devices
  3. Generated and download on the MAC and executed the downloaded prov file (double-clicked)
  4. On VS on Windows 10, we are connecting to the MAC and the MAC itself hooked up to the afore-mentioned iPad device
  5. VS Bundle signing section is configured the following way
    1. Within the Signing Identity: we've got the iphone distribution option set to the name of our iOS certificate
    2. On the Provisioning Profile option: the one available and active on the Apple Dev portal
  6. As we build on Windows and deploy then to iOS devices, we are now blocked in the process that allows you to successfuly deploy your Xamarin.Forms to an iOS device on Windows and get the provisioning to match to the one available on the MAC and on the Apple Dev portal
  7. Below is error message thrown


Project bundle identifier 'com.yourcompany.PropertyDC' does not match specified provisioning profile 'Provisioning Profile PDC' PropertyDC.iOS

Honestly, I would go take a look in the Xamarin forums. The Apple forums are focused on using the Apple toolchains.


(Also it's just Mac. A "MAC" is part of your ethernet hardware 🙂)

Accepted Answer

We now finally got this to work! It was mainly caused by the info.plist file which was defaulting to something other than the required one from the provisioning profile.

In essence everything was setup the way it should when it comes to the provisioning profile and certificate side of things, the only bit missing was the default bundle id that needed to be changed in accordance to the provisioning file.

Although the error message was a bit self explanatory, it still a bit of a cumbersome process to have it all to work
Hope this one helps others potentially facing the same issue

Project Bundle identifier does not match the provisioning profile
 
 
Q