Is there an iOS emulator to test an application developed in Xamarin? [duplicate]

3

There's nothing like testing on the actual device, but in some cases emulators are extremely necessary. For Android I use Genymotion, but at the moment I need some iOS emulator so that it can test the basic compatibility of an application developed in Xamarin.

Is there an iOS emulator that does not need an actual device and runs on Windows or Linux?

In this case I'm using Visual Studio and Xamarin, the other questions that were related to this refer to Ionic / Cordova.

    
asked by anonymous 20.02.2017 / 19:27

3 answers

2
  

Is there an iOS emulator that does not need an actual device and runs on Windows or Linux?

No.

Some alternatives:

  • Use a virtualization environment (VMWare or something) and create a VM with macOS. With everything, you will create a VM to run an emulator (which in macro terms is also a VM) ... Unless you have a very good computer, it is very likely that the machine will slow down;

    / li>
  • Connect VisualStudio (Windows) to a machine running macOS over the network;

  • Finally, you can use the Xamarin Test Cloud which is a large repository of real / physical and it simulates all possible movements of the human iteration with the device. It's as if someone was touching the cell phone screen. You can choose the device and write something like Test Case and ask the Test Cloud to run. All in all, this is a (very) expensive resource.

If you're going to produce Xamarin iPhone apps professionally, I strongly advise you to get a Mac.

Detail: The point I quoted in the second bullet is "judicially legal" if the ratio is 1 to 1. You can not have a single Mac and connect multiple Windows developers on it. You can only (legally) connect a Windows to a Mac for development purposes.

It's not that you can not connect more than one person. It's just not "legally legal."

    
22.02.2017 / 13:10
2

If you have a MAC, in visual studio there is a Simulator that mirrors the emulator of your MAC. There is no way to compile an iOS app without a Mac.

If you have a Mac, in Visual Studio go to Tools / Options / Xamarin / iOs Settings, you will have a checkbox to use the simulator.

I hope I have helped.

    
22.02.2017 / 12:49
2

Good news, there is:

Remoted iOS Simulator (for Windows)

Badnews1,unfortunatelythisdoesnotgetridofhavingaMACorhavingtovirtualizeone.Badnews2RemotediOSSimulatorrequiresaVisualStudioEnterpriselicense=/

  

Source:

link

    
22.02.2017 / 13:57