12
votes

I am a Window user so to work with Xamarin I borrowed a Mac. After installing Xamarin and it's components on Mac I am able to connect it with my windows machine but when I run the debugger for running the application I get following error

Issue

Please help.

NOTE - Already looked into Xamarin Forms iOS Deploy with simulator Failed To Install ERROR but it didn't help.

Android is working fine.

TIA

2
I started with Xamarin a couple of weeks ago, and just started getting this error today. Truly painful.BrainSlugs83
@BrainSlug83: Did below solutions helped. If yes please upvote the right one so that other people find it useful.Manoj Sethi

2 Answers

18
votes

Got it working.

  1. In Windows go to Tools => Options => Xamarin => iOS Settings => Uncheck Remote Simulator
  2. Run the application in debug mode, you will see the emulator in the Mac(A big emulator press CTRL+3 to get it normal).
  3. If 2nd step fails go for release mode and then again for debug mode.
  4. Now again check the Remote Emulator option under xamarin

Run the application and it worked.

I hope it helps for other devs who are searching for the similar issue.

5
votes

I just had this exact problem after updating to the latest version of Xamarin and Xcode (from 8.0 to 8.1) without also updating my Xamarin Remote Simulator.

I was using:

https://dl.xamarin.com/xamarin-simulator/Xamarin.Simulator.Installer.0.10.0.6.msi

Xamarin separately released a new version of the Remote Simulator to support Xcode 8.1:

https://releases.xamarin.com/preview-ios-simulator-for-windows-update-6/ https://dl.xamarin.com/xamarin-simulator/Xamarin.Simulator.Installer.0.10.1.1.msi

When I installed it and hit Debug, the Visual Studio log window showed it installing an updated Remote Simulator Server to the Mac, and then my app deployed and debugged properly.

For future visitors to this page, make sure the version of Xamarin Remote Simulator you're using also matches the versions of Xamarin and Xcode used.

Xamarin posts about these releases as they become available, here:

https://releases.xamarin.com