Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin iOS Failed to Install

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

like image 884
Manoj Sethi Avatar asked Jul 13 '16 15:07

Manoj Sethi


2 Answers

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.

like image 100
Manoj Sethi Avatar answered Oct 12 '22 12:10

Manoj Sethi


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

like image 26
Jonathan Leaver Avatar answered Oct 12 '22 11:10

Jonathan Leaver