why can not connect to ios Simulator?

mc 5,426 Reputation points
2024-06-12T03:35:06.8366667+00:00

User's image

User's image

Developer technologies .NET .NET MAUI
{count} votes

3 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2024-06-12T09:48:58.0666667+00:00

    Hello,

    Please try the Troubleshooting solution and check if it works for you.

    You need to remove and reset the Simulators on your Mac build host:

    • Ensure that Xamarin Mac Agent (XMA) and Xcode aren't running.
    • Delete your ~/Library/Developer/CoreSimulator/Devices folder.
    • Run killall -9 com.apple.CoreSimulator.CoreSimulatorService.
    • Run xcrun simctl list devices.

    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

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-06-12T17:42:54.89+00:00

    you need to install Xcode 15 and IOS 17 simulators, as Xcode 14 is not longer supported by Apple to build IOS apps. Also Visual Studio and the IOS build chain has been updated to work with Xcode 15 and no longer supports Xcode 14.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.