question

BernieMueller-0351 avatar image
0 Votes"
BernieMueller-0351 asked ·

Error running app with Hot Restart

I am trying to debug a test app using Hot Restart but it will not launch. The Build Output window shows that the app has been successfully deployed to the iPhone. I see the icon on the iPhone but when I try to start the app it opens something for a short period of time and then it closes. The Build Output window reports that: An error occurred while trying to launch the app 'MVVMDemo.iOS'. Details: Error running hotrestart: 'An error occurred while disposing the 'com.apple.debugserver' service. Details: Value cannot be null.'. Command: 'launch -u=8c5ef99b1c1907ce22b4eb3f5d4a848839e78255 -i=com.companyname.MVVMDemo -p=10000 -d="C:\Users\xxxxx\AppData\Local\Xamarin\iOS\DeveloperDiskImages\14.3\DeveloperDiskImage.dmg" -w=True'

dotnet-xamarinforms
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I forgot to mention, I am using Xamarin.Forms 5.0.0.2012 and Visual Studio 2019 version 16.9.0

0 Votes 0 ·

1 Answer

JessieZhang-2116 avatar image
0 Votes"
JessieZhang-2116 answered ·

Hello,


Welcome to our Microsoft Q&A platform!

This is a known issue about hot restart : https://github.com/xamarin/Xamarin.Forms/issues/13759 .

And the issue has been fixed and will be available soon in the next VS 16.10 Preview and also in the next VS 16.9 Service Release.


Best Regards,

Jessie Zhang


If the response is helpful, please click "Accept Answer" and upvote it.


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.



·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.