Many times when I talk about Xamarin Development people ask me is needed for development, what type of PC do we need, how do Xamarin licenses work, etc etc. Although these informations are provided with Xamarin documentation and scattered over internet, I thought it would be better if I consolidate them together and provide a step by step guide for any beginner to get ready for Xamarin development (specially Xamarin Forms as I work mainly on those) from hardware & software requirements to getting the machine ready.

Step 1: Hardware & Software requirements


Xamarin has provided a detailed documentation on what hardware and softwares are required to develop any Xamarin application on their developer documentation. Please read this before moving ahead.

A few things which I would like to clarify which people get confused about are:

  1. You must have an Apple developer ID configured on your Mac machine before executing your first Xamarin.iOS application otherwise Xamarin studio will not build your application. Y can get the same by visiting Apple Developer Portal.

  2. Another thing apart from an Apple developer ID is the latest version of Xcode as mentioned in the documentation.

  3. On Windows machine you must have Visual Studio 2013 or higher installed as otherwise creation of PCL libraries will give issues which are very tough to solve.

One more very important thing,

Step 2: Installation

Mac:

Xamarin has provided the iOS and Android installation steps for Mac separately (iOS, Android), but I would recommend following the Android one only as it will install both Android as well as iOS.

Windows

Now this one is a bit confusing as there are multiple options here:

Step 3: Licenses

Now here comes another confusing point :). Xamarin licenses are per user per platform which means that if you want to develop for both Android and iOS app you will have to pay the double amount mentioned on the license costs page (i.e $50/month for indie, $1998/year for Professional and $3798/year for Enterprise as per cost mentioned on the page at the time of writing this blog) for one developer.

However for learning purposes you can get a trial license which is the professional license for 30 days with a limitation that the application setups built using this license will work only for 24 hours.

After following the above mentioned steps your machine will be ready for developing Xamarin/Xamarin Forms applications, however ,in order to properly test the applications on emulators and devices, I would suggest to follow next few steps:

  1. Configure your Visual studio to connect with Mac for building iOS application, you can use the first part of this document.

  2. The default Android emulator which gets installed with Visual Studio or Android SDK is very slow so Xamarin suggests to use ‘Xamarin Android Player’, however please make a note that it only works on physical machines.

  3. If you want to test your application on a physical Android device, you must enable the developer mode of that device. This article will help you with that.

  4. Testing on an iOS physical device is not easy like Android, you will need to provision that device for testing. This article will help you with that.

  5. If you are planning to develop Xamarin Forms then please keep these device requirements in consideration, which it supports.

Once you follow all these steps your machine is ready for Xamarin/Xamarin Forms development. I hope that this blog will help many more people to join the Xamarin Bandwagon. Let me know if I missed anything.

Read more articles on Xamarin: