Things were working fine before but all of a sudden I can't build and deploy my Xamarin Forms 5 app to my iPhone connected to my Windows 11 machine via USB cable.
Initial error I got was the following:
The 'HotRestart.Tasks.DetectSigningIdentity' task failed unexpectedly.
Here's a screenshot of the error:

I then tried to rebuild the project and I got the following error:
The "PrepareAppBundle" task failed unexpectedly.
Here's a screenshot of that:

To make sure it's not my project that's causing the error, I created a fresh new Xamarin Forms app and tried to look at it on my iPhone without changing a single line anywhere in the new app and I ended up with the same exact errors above.
I'm on the latest version of Visual Studio 2022 - version 17.1.3 and my laptop runs Windows 11 with all the latest updates.
I'm able to run the app on Android Simulator AND a physical Android device connected to my laptop via the same USB port. It just seems to be failing on iPhone.
Any idea what's causing this issue?
Just upgraded Visual Studio to 17.1.4 and the problem is FIXED!!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With