Prepare your Mac for use with Xamarin iOS.

Before you can get started with Xamarin.iOS, whether or not you plan to use Xamarin Forms, you must prepare your Mac for network use. This document will show you how to configure the network, install VNC for remote access, and connect using either a crossover cable or a network hub.

The Connection

I recommend making a hard Ethernet connection to your Mac using a Static IP address. You can either use a network hub or a crossover cable to make the physical connection.

If you use a hub or switch, connect both your Windows machine and the Mac to the hub/switch using standard network patch cables. If you want to avoid the extra hardware, just connect the Windows machine directly to the mac using a crossover cable, a network cable in which the Transmit and Receive wires are crossed. You can get one online at MonoPrice for less than $2.00.

Select an IP Address for your Mac

If you're already using the network port on your Windows machine, you'll have to find an available IP address. If you're behind a NAT router your Windows IP address will be something like 192.168.X.X or 10.1.X.X. That means you need to know what IP addresses are available and which are reserved for DHCP. You can find this by connecting to your router as an admin.

First, we need to find the address of the router. This would be listed as your Default Gateway in your network settings. You can find this by opening a command prompt and typing "ipconfig/all". My default gateway is Connect to this address with your browser (""), log in as the admin and find your DHCP settings. There will be a range of addresses to use for DHCP. In my case, the range is to That means we can safely use and higher for static IP addresses.

My Windows machine actually has a static IP address of, so I will assign my Mac Mini to use

If you're not using the Ethernet port on your Windows machine, you can give it any IP address you like, so long as it doesn't conflict with your current IP address. To be safe, make up something non-standard. Give yourself and give the Mac The rest of this document assumes the first scenario: for the Windows machine and for the Mac.

Windows Network Settings

IP Address:

Subnet Mask:

Default Gateway:

Refer to this document if you don't know how to change your IP address on Windows.

Mac Network Settings

Open up System Preferences on the Mac and navigate to the Network screen. Select Ethernet Connected and enter the following settings:

Click to enlarge

IP Address:

Subnet Mask:

Default Gateway:




Add DNS Server

Click the Advanced button and navigate to the DNS Tab. Click the + button in the bottom left, and enter (or whatever your Default Gateway address is). Click the Apply button. You are networked!

Install VNC

VNC is a free remote-desktop app with support for every platform. You can get this for free from Go there with Safari on your Mac and download VNC. Make sure you download the complete version, not just the viewer. Follow the installation instructions.

Run VNC Server

Run the VNC Server app on the mac and configure a password from the Options menu.

click to enlargeOnce you enter a password you're good to go. 

Install VNC on your Windows machine, run the VNC Viewer, and enter the Mac's IP address and the VNC password, and you should be able to connect to it.

Now you are ready to rock and roll in the world of Xamarin.




PrintView Printer Friendly Version

EmailEmail Article to Friend

References (51)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments (4)

It sounds like I will need a Windows machine too, is that correct? I can't use Xamarin on OS X without Windows?

September 4, 2014 | Unregistered CommenterKenneth Cordero

You can run Xamarin Studio on the Mac...I don't know if you can build windows store apps with it though.

September 5, 2014 | Unregistered CommenterRyan Smith

Yeah it will work.

January 18, 2015 | Unregistered Commentergeorge jones

yes it will

May 7, 2015 | Unregistered Commenterbeststeamiron
Comments for this entry have been disabled. Additional comments may not be added to this entry at this time.
« "Stay away from Buffalo Hard Drives" | Main | My findings after day 1 with Xamarin Forms »