Visual Studio Mac configuration iPhone Simulator is gone

Tom Flemming 101 Reputation points
2021-03-10T14:34:51.577+00:00

visual studio mac 8.9.1 configuration iphone simulator is gone, it was there last week. Running xcode 12.4, simulator 14.2 is installed. How to get back debugging ios-app on simulator?

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

Accepted answer
  1. Tom Flemming 101 Reputation points
    2021-03-11T11:56:53.557+00:00

    Hi ColeXia, thanks for your response. Yes, there is plenty of Simulators.
    The problem is, that in Visual Studio Mac in the list of configuration Debug|iPhoneSimulator is missing, don't know why, it was there last week before updating to VS Mac 8.9.1

    76762-screen-shot-2021-03-11-at-124709.png

    But I found a workaround by creating a new solution configuration DebugSim with iPhoneSimulator and now I have all simulators back:

    76793-screen-shot-2021-03-11-at-124954.png

    76754-screen-shot-2021-03-11-at-125507.png


7 additional answers

Sort by: Most helpful
  1. Clifton 1 Reputation point
    2021-07-26T09:32:30.427+00:00

    I closed the project, cleared the bin and obj folders, and finally re-opened the project, afterwards the simulators were displayed again.

    0 comments No comments

  2. ufuk çetinkaya 1 Reputation point
    2021-11-01T19:53:13.08+00:00

    run flutter doctor and resolve errors and warnings

    0 comments No comments

  3. Marc Anthony Cruz 1 Reputation point
    2022-12-20T15:06:59.697+00:00

    This thread is a year old. I'm getting a similar issue wherein only iOS 16.1 devices are appearing in Visual Studio for Mac, while all other iOS 16.0 devices that are available in XCode/Simulator are not appearing in Visual Studio. Tried everything suggested in this thread, but no luck :(