Xamarin iOS Hot Restart Not Deploying to Phone from Windows to iPhone

Sormin TheRed 1 Reputation point
2022-07-14T11:21:26.697+00:00

I am trying to debug from a Windows computer to an iPhone plugged into the computer.
I set up Hot Restart and followed every step closely.
I have a paid Apple Developer account, downloaded iTunes, and Visual Studio 2022
I have since revoked my certificates and provisioning profiles since automatic provisioning apparently creates those
However, I am getting the following error when I try to debug on the iPhone device:

"No valid iOS code signing keys found in keychain. Please enable automatic provisioning from the iOS Bundle Signing page."

When I go to the iOS bundle signing page and try to enable automatic provisioning by selecting my team, it says:

"Automatic provisioning failed, please check the logs."

What on earth could I be doing wrong? I've been trying to solve this problem for two days. Please help.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,257 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,341 Reputation points Microsoft Vendor
    2022-07-15T08:55:56.963+00:00

    Hello,

    There is a known bug for Hot Restart - A valid provisioning profile for this executable was not found, and it is in MAUI project. Hot Restart still doesn't work for Xamarin projects. You could follow the progress or create a new one for Xamarin.

    In addition, please don't use this site to report product bugs or feature requests. This is a site for support, so please use the right site to requests new feature requests about a Microsoft product or report any bugs. If you want to report a problem about Visual Studio, see: Report a problem with Visual Studio - Visual Studio (Windows) | Microsoft Learn

    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.

    0 comments No comments