I’m building iOS apps with Visual Studio 2022 (MAUI/Xamarin) on Windows paired to a Mac.
In Tools → Apple Accounts → View Details → Certificates, Visual Studio only shows:
But it does not show:
Also, when I click Import Certificate and select my exported .p12, VS asks for the password. After entering it, the dialog closes and nothing is added (no error, still not listed). The .p12 was exported from Keychain → My Certificates, so it should include the private key. Xcode is latest.
Questions:
-
Does VS only list Development certs created via App Store Connect API (and ignore Xcode/manual “legacy” certs)?
-
Why would .p12 import fail silently in VS 2022?
-
Any known workaround (e.g., converting the .p12 format, importing on the Mac build host only, or placing cert/profile files in specific Xamarin folders)?
I’ve followed these ones
https://docs.purplepublish.com/experience/create-an-ios-distribution-certificate-p12
https://www.reddit.com/r/Xamarin/comments/145a14v/comment/jo4a22v
PS: My colleague also tried this issue with VS 2026 and a different mac but we both have same issues.