Bug 10514 - Mac Build Host cannot be connected to: invalid port number if Apple SDK is not in default location
Summary: Mac Build Host cannot be connected to: invalid port number if Apple SDK is no...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.0.x
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Jose Miguel Torres
: 10524 ()
Depends on:
Reported: 2013-02-21 07:26 UTC by René Ruppert
Modified: 2013-06-06 19:13 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description René Ruppert 2013-02-21 07:26:41 UTC
See also: http://forums.xamarin.com/discussion/comment/5143

[21-Feb-2013 11:33:23] Apple iOS SDK not found at '/Applications/Xcode.app' [21-Feb-2013 11:33:23] Apple iOS SDK not found at '/Developer' [21-Feb-2013 11:33:23] Exception: Exception type: System.ApplicationException Apple SDK developer root not specified. at MonoTouch.Tools.Frameworks.MonoTouchFrameworks.Init () [0x00000] in :0 at Mtb.Application.MainClass.Init () [0x00000] in :0 at Mtb.Application.MainClass.Main (System.String[] args) [0x00000] in :0 [21-Feb-2013 

From the file's contents I might already understand the issue: in XS I have setup the Apple SDK Path to point to "/Applications/Xcode_4.5.2.app" in order to build against a specific SDK. There is no "Xcode.app" at all. Looks like the build server does not use XS's path configuration.

I had to add a hard link to get it to work: ln -s /Applications/Xcode_4.5.2.app/ /Applications/Xcode.app
Comment 1 Jose Miguel Torres 2013-03-19 04:02:28 UTC
*** Bug 10524 has been marked as a duplicate of this bug. ***
Comment 3 Jose Miguel Torres 2013-06-06 19:13:43 UTC
Client side fixed in xamarinvs/master commit 6127d67d09d6cd3833f43cf00742b76561fcd9c9