question

TomFlemming-2523 avatar image
0 Votes"
TomFlemming-2523 asked ·

Visual Studio Mac configuration iPhone Simulator is gone

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?

dotnet-ios
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.

TomFlemming-2523 avatar image
0 Votes"
TomFlemming-2523 answered ·

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



· 3 ·
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.

Great, could you mark this solution as answer ?

0 Votes 0 ·

@ColeXia-MSFT I will, but don't you guys want to fix something? I mean, it was working, then it was gone and it took me some hours to figure out this workaround which is still kind of a hack.

0 Votes 0 ·

I've reported this issue to my team ,thanks for pointing it .

0 Votes 0 ·
ColeXia-MSFT avatar image
0 Votes"
ColeXia-MSFT answered ·

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.




·
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.

fhintsch-7402 avatar image
0 Votes"
fhintsch-7402 answered ·

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

·
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.