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

Asked

Viewed 34,005 times

4

There is 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 that so I can test the basic compatibility of an application developed in Xamarin.

Is there an iOS emulator that doesn’t need a real 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.

  • Almost certainly not. Another detail, probably already know, but without a mac will not have to send to store (app store).

  • Yes, because you need to "sign" the binaries later. The problem is that for a team development where there is only one available, it makes the testing process difficult, so I thought about the emulator issue.

  • 1

    I know your problem. I think like this: That iPhone is a miniature Mac, so just as it’s hard to use the OSX outside of a Mac, it’s going to be as hard as, if not harder to make the simulator work outside of the Mac. But if you find something of a touch that you would also find very useful.

  • http://www.itrickbuzz.com/iphone-ipad-ios-emulator-for-windows-pc/

  • https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/testflight/

3 answers

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 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’ve helped.

2


Is there an iOS emulator that doesn’t need a real device and runs on Windows or Linux?

Not.


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 macros terms is also a VM)... Unless you have a very good computer, it is very likely that the machine will be slow;

  • Connect Visualstudio (Windows) to a macOS machine via network;

  • Finally, you can use the Xamarin Test Cloud which is a large repository of devices real/physical and that simulates all possible movements of human iteration with the device. It’s like someone touching the screen of the mobile phone. You can choose the apparatus and write something similar to a Test Case and ask Test Cloud to run. With everything, this is an expensive (well)resource.

If you are going to produce Xamarin iPhone applications professionally, I strongly advise you to acquire a Mac.


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

It’s not that it’s not possible to connect more than one person. It’s just not "judicially legal".

2

  • It doesn’t do much good this solution, because you need to have a mac, if you have a mac, you don’t need an emulator. just use the mac at once. I was looking for a solution, but really, Apple forces you to buy the mac, there’s no way.

  • 1

    @Claudionoroliveira exactly, but in question the question user has the MAC. In your case I suggest a virtual machine, I used a very short time (machine separated from the development environment) and met my needs, good luck.

  • 1

    good suggestion, a virtual machine seems to be a good output.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.