Visual Studio doesn´t display my Apple provisioning profiles

Kim Strasser 1,141 Reputation points
2024-12-19T11:23:02.5733333+00:00

I have an Apple Developer Individual account and I already use Visual Studio some time to debug my iOS application on my iPad. Now I wanted to download my Apple Distribution provisioning profile in Visual Studio but nothing is displayed:

Screenshot 2024-12-19 121507

Screenshot 2024-12-19 120622

I have the certificates and profiles in my Apple developer account:

Screenshot 2024-12-19 121244

Screenshot 2024-12-19 121146

How can I add the provisioning profiles to Visual Studio Version 17.13.0 Preview 2.1?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,596 Reputation points Microsoft Vendor
    2024-12-20T03:48:46.23+00:00

    Hello,

    I have an Apple Developer Individual account and I already use Visual Studio some time to debug my iOS application on my iPad.

    From the screenshot, the role of your count is Admin, please login with the Account-holder Apple developer account. And it's suggested that you login with the API key, please refer to the step9-11 on the Hot restart doc. (You don't have to configure hot restart, just read the doc about how to login with the API key)

    About creating an App Store Connect API key, see Creating API Keys for App Store Connect API on developer.apple.com.

    How can I add the provisioning profiles to Visual Studio Version 17.13.0 Preview 2.1?

    From the latest picture, I can see there are valid iOS distribution provisioning profile on Apple developer portal. You could download it and import to VS, please follow the detailed steps below:

    1. Click the details of the profile on Apple developer portal and see the Certificate Details.
    2. Open Keychain Access on your Mac, go to Login->Certificates, select the certificate you have confirmed on step1. Right-click the certificate, export it, then you will get a p12 file.
    3. Move the p12 file into your Windows machine, click "Import Certificate" button (on the second picture you provided), take care the password.
    4. Download the provisioning profile on Apple developer portal and move it to \AppData\Local\Xamarin\iOS\provisioning folder on your Windows machine.

    After that, you could select the Signing identity (certificate) and provisioning profile for your project. (Open your project->right-click and open Properties window->iOS->Bundle Signing)

    If you have any other issues, please feel free to let me know.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.