I have been trying and failing to deploy my app under a Dev provisioning profile.
First thing to note is I develop on a PC, and I then copy the VS files to the mac, and then build on the Mac directly, although I could get the PC to pair to the mac, it drops out often, so I just figure that the mac is there, might as well open Visual Studio and work on the mac.
So my problem:
VS for Mac v 8.6.5 Build 23, Catalina and xamarin, all fully up to date 26/6/2020
In VS Mac, Build -> Archive for publishing -> Sign and Upload -> 'none of the currently installed provisioning profiles match the apps bundle identifier'
I believe my Mac has the correct signing certificate I have done this process a few times the cert in developer.apple.com matches the developer cert on the Mac keychain certs
I have setup an App with an appropriate Bundle ID in developer.apple.com, this matches the BundleID in the info.plist file
I created a dev provisioning profile in developer.apple.com, downloaded it and installed in on the Mac
I use the same Bundle ID I use in Visual Studio for Mac, Xamarin iOS project. -> If I change this bundle identifier in info.plist and try to compile the project, it fails, but if I use the same one as above, the project compiles as expected. So BundleIDs match - all good! Code compiles!
However when: In VS Mac, Build -> Archive for publishing -> Sign and Upload ->
'none of the currently installed provisioning profiles match the apps bundle identifier'
If instead of trying to upload the file directly to apple from VS, I save the IPA file to disk and use Transporter to upload it:
'No suitable application records were found. Verify your bundle identifier is correct.'
Please note that when I look at the ios project properties in VS, under IOS bundle signing options, I see in the provisioning profile dropdown, the exact same provisioning profile that I had created in developer.apple.com, and installed on the Mac. It is clearly visible in this drop down and I select it.
I have been round and round, deleting provisioning profiles from:
And re generating them in developer.apple.com reinstalling rebooting etc.. its killing me... round and round in circles..
If I examine the provisioning profle on disk at location ~/Library/MobileDevice/Provisioning Profiles/ it shows I have the correct certificate, and it shows me an appID (not bundleID)
The appID it shows is TeamID.BundleID, and this looks also 100% correct to match what is in info.plist, and what is in developer.apple.com
The fact everything matches is subtly telling me that this is another bug in Visual Studio, any one have any ideas and or contacts that could help with this one.
My sanity is on the line and I am hoping someone out there has the ability to help out!