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,362 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. Robert Lensing 16 Reputation points
    2021-04-27T09:49:10.887+00:00

    I had the same issue, after installing Apples latest XCode update this morning. The simulators appeared again, after I had once explicitly started XCode after that (which I normally do not need in daily business). I had a look in the context of above mentioned proposal to manually add simulators again (assuming they were gone). They were all still there, but for some reason not exposed to Visual Studio. As soon as XCode was started and I had restarted Visual Studio, they showed up again.

    3 people found this answer helpful.

  2. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2021-03-11T02:59:42.41+00:00

    Hello,

    Welcome to Microsoft Q&A!

    1 . Open Xcode - Window - Devices and Simulators .
    2 . Check if there is any Simulator in left list ,if not add the + button .

    76489-inkedscreen-shot-2021-03-11-at-104910-am-li.jpg

    3 . Select Device Type and OS Version and click Create .

    76544-screen-shot-2021-03-11-at-104936-am.png

    4 . Restart Visual Studio you will see the simulator in configuration .

    76468-screen-shot-2021-03-11-at-105127-am.png

    (I test with VS for mac 8.9.1 and Xcode 12.4 . )


    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.

    0 comments No comments

  3. f.hintsch 6 Reputation points
    2021-04-13T07:05:09.23+00:00

    I have many simulators listed by Xcode. But this does not help VC. Very bad...

    0 comments No comments

  4. Amir Hajiha 1 Reputation point
    2021-06-18T19:31:21.823+00:00

    I still have this issue!


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.