Xamarin.IOS Build Host doesn't like Airserver
By Stefan de Vogelaere
In the last few days I've been struggling with the Xamarin.IOS Build Host. This little program is necessary if you want to use Microsoft Visual Studio and Xamarin's Monotouch.
My Parallels Windows 8.1 installation was unable to communicate with my MacBook Pro running Xamarin Studio with the Xamarin.IOS Build Host app. Because of that - although I only found out that later - Visual Studio 2013 was going nuts! Whenever I opened a solution that contained an IOS project Visual Studio became extremely unstable. I couldn't open a new solution once I loaded one with an IOS project; Visual Studio removed all my projects from the solution leaving only the solution open. I once didn't noticed it and when I tried to close Visual Studio I saved my solution losing my projects. Closing wasn't even possible - I had to use the Task Manager to forcefully close my Visual Studio instance.
The weird thing was that I actually thought it was a Parallels - Windows - Visual Studio thing. I had a perfect combination running at my office, so I copied the Virtual Machine to my Macbook Pro. When I started my VM I was pretty sure all things would work as expected - NOT! So it had to do with my OS X environment.
I tried the Xamarin Forums and Guides to get more info on how to troubleshoot the Xamarin.IOS Build Host:
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/troubleshooting/offline.pdf
http://forums.xamarin.com/discussion/comment/6791/#Comment_6791
What I found out by reading these posts was that the Build Host was not running on port 5000. The HELO command did not return anything.
So I contacted Xamarin Support, and after a few mails Brendan Zagaeski asked me to run some test on OS X Terminal:
By running these test I found out that the port 5000 that the Xamarin.IOS Build Host uses was already occupied by Airserver! I stopped the Airserver app and the Build Host was able to run and connect to my VM! Eureka! In the follow up mail I received a link towards a "known" bug:Â https://bugzilla.xamarin.com/show_bug.cgi?id=20272
I like Airserver so I wanted to find out a way to change the port it was using. The article http://support.airserver.com/customer/portal/articles/1465944 gave me an insight in the ports that Airserver was using and the names of the settings that could be changed.Â
I fired up Terminal and changed the Airplay Audio Port into 5010:
Bingo! I was running Airserver together with Xamarin.IOS Build Host!











