I've got a Xamarin Forms solution with iOS and Android projects. The iOS side was working, I switched over and did a bunch of work on the Android side. Now I need to do some more iOS stuff (push notifications) and I can't get the iOS Simulator to kick in. Xcode is installed, VS says it can see the SDK. I can open the simulator from XC but inside VS no matter what Debug combination of the .iOS project I select all I get is "Generic Simulator". Any ideas?
-
do you have the iOS project selected as the "startup project"? – Jason Jul 16 '17 at 23:31
-
I do yes. It's got to be something with the project itself. I switched over to a solution from a different project and it would let me select the iOS Simulator as expected. – hofo Jul 17 '17 at 01:21
-
3Is the minimum supported version in Info.plist less than or equal to the version of iOS Simulator that you have? – lowleetak Jul 17 '17 at 01:47
-
@lowleetak +1 this was totally it! Thank you so much! Why can't I choose a comment as the accepted answer?!?! – hofo Jul 17 '17 at 14:59
-
Glad that it helps – lowleetak Jul 18 '17 at 13:32
-
I have got all simulators after Xcode successfully installed. – summerGhost Feb 11 '19 at 07:27
3 Answers
Try Unload the IOS Project and Reload and Set as a Startup Project, it works for me

- 1,621
- 19
- 20
-
This happened to me after i installed Homebrew on my mac and i had to relocate the apple sdk in VS (I don't know why this happened). After reloading the project the simulators finally appeared again. – Elias Johannes May 25 '21 at 10:32
-
See the answer in the comment provided by @lowleetak:
Is the minimum supported version in Info.plist less than or equal to the version of iOS Simulator that you have?
This was the issue. The project settings listed 10.2 as the target SDK but the info.plist file had 10.3 which wasn't installed on the machine via Xcode. The machine has Xcode 8.2.1 and iOS 10.2 installed.
Additionally there's now a bug opened about this behavior. If the two fields are going to allow different values there should at least be a warning next to them about the mismatch.

- 522
- 1
- 4
- 16
I also showed Generic Simulator only on my project after updating to XCode 14 early. At the release of XCode 14 the stable Visual Studio for Mac (Xamarin) release did not yet support this version of XCode. Even the preview channel was not yet ready. Guidance from Xamarin.iOS discussion group was that the special XCode14 channel could be used to evaluate. https://github.com/xamarin/xamarin-macios/issues/15954

- 915
- 10
- 24