VS2019 iOS Simulator throwing fatal error message

This was working and not sure what I have broken but when I try to debug using iPhoneSimulator and the iOS Simulator in windows enviroment I am getting a error stating "A fatal error occurred while trying to start the server.". I have updated my XCode on the Mac to the new XCode 10.2.1 version update that showed up on the Mac. Maybe I have something mismatched now? How do I determine what is happening?
Can anyone help me with this issue?

Orgbrat

Best Answer

  • SteveGraddySteveGraddy US ✭✭
    Accepted Answer

    In case anyone is interested a Full restart of the Mac resolved the issue. Better error handling is needed so the developer would have some idea as to what was causing the fatal error.

Answers

  • SteveGraddySteveGraddy USUniversity ✭✭
    Accepted Answer

    In case anyone is interested a Full restart of the Mac resolved the issue. Better error handling is needed so the developer would have some idea as to what was causing the fatal error.

  • mac121mac121 Member ✭✭✭
    edited June 26

    The best way to run ios simulators in a windows VS for taking screenshots for app store submission or any other reason would be the following method that helped me a lot and that which is not known to all..!! Very interesting..

    You should disable the remoted simulator that takes much time to load and doesnt work at all

    To disable the Remoted iOS Simulator for Windows, navigate to Tools > Options > Xamarin > iOS Settings and uncheck Remote Simulator to Windows. - https://docs.microsoft.com/en-us/xamarin/tools/ios-simulator/#disabling-the-remoted-ios-simulator-for-windows

    Now, clicking Run with the Selected iPhone simulator in windows VS, will open the ios simulator in the paired Mac which is relatively fast and working solution

    Enjoy..!

  • kakusankakusan Member
    edited October 29

    My issue is rare maybe. I had a different version of iPhone simulator on the MacBook from the one I selected from Visual Studio. I just need to match the simulators on 2 machines and it worked. So I guess restarting your Mac serves the same purpose.

  • ErdoganErdogan Member ✭✭

    @mac121

    absolutely yes, thanks!

  • BorisopritBorisoprit Member ✭✭✭

    Jep , big difference in time

Sign In or Register to comment.