Cannot debug my MAUI app using hot restart

Dmitriy Reznik 236 Reputation points
2022-08-25T17:22:04.817+00:00

I have a .Net MAUI app that I want to test and debug if needed on my iPhone without Mac. I found instructions on how this can be done here:

https://learn.microsoft.com/en-us/dotnet/maui/deployment/hot-restart

But on the second step I get the following:

235101-inked234947-image-li.jpg

I don't understand what username and password it is talking about. I am signed in on the Visual Studio.
If it is about my Apple Developer account credentials, it does not ask me for them, and I don't see where I can enter them.
Please advise.
I use Visual Studio 2022 version 17.3.2.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,316 Reputation points Microsoft Vendor
    2022-08-26T05:18:56.02+00:00

    Hello @Dmitriy Reznik ,

    It means your Apple Developer account. You could check the step 8-10 in the mentioned Doc - .NET MAUI hot restart for iOS device deployment - .NET MAUI | Microsoft Learn, and you need to create an App Store Connect API key if your developer account is an individual account.
    If there is no prompt dialog asking you to enter the account, please go to Tools->Options->Xamarin->Apple Accounts -> Add.

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful