Introduction
Not all of us have a Mac computer, which allows us to use the iOS simulator to test our own Xamarin app. Run the app during the build process is very important and we cannot leave a platform without testing it.
Xamarin allows us to code in C just once and then deploy on the three platforms (Windows, iOS and Android), but without a Mac, the iOS environment might give us some problems.
In Visual Studio, where Xamarin is installed, we have the Xamarin Mac Agent that allows you to run iOS Simulator. For commercial choice of Apple, the iOS app build and deploy process must pass through a Mac machine, so if you have a Windows machine, you need either a Mac or a Mac Cloud Service.
We can solve the lack of a physical Mac machine with a Mac Cloud Service. There are many of those (take a look at the Web with your favorite browser), but, in this tutorial, I’ll use MacinCloud (https://www.macincloud.com) and Visual Studio 2017 Community Edition.
Now, let me show you how to test a Xamarin.Forms Application in iOS environment without having a Mac.
Prerequisites
- Visual Studio 2017 with Xamarin.
- A credit card or a Paypal account.
The steps given below will lead you to the goal.
Step 1
- Launch Visual Studio and create a default Application. For the purpose of this tutorial, there is no reason to change the auto-generated code.




Step 2
- Now, you have to check all the settings to build and deploy the project. To do this, you must set as startup project (right click on it) and make sure it is selected in Configuration Manager.
















Neelam PrajapatiPosted Apr 18, 2018, 12:25 AM
Great tutorial..but its paid and very cost;y for practice purpose.do u know any free solution???
Vaibhav PatilPosted Jun 11, 2017, 3:29 AM
Great tutorial. But not everyone is credit card or paypal account holder like students. Can you post tutorial with mac agent in virtual machine or something ? Thanks in advance.