无法连接到Mac Build Host - 加载xcode信息时出错

时间:2013-04-18 23:12:47

标签: xamarin.ios xamarin xamarin-studio

当主题引导时,我无法连接到我的mac build主机。它在本周早些时候工作(我认为有更新)。我也无法从Xamarin工作室运行iOS应用程序(我认为它与Xamarin连接到Xcode有关,因为当我尝试从Xamarin工作室运行时,我收到一条消息,说明代码尚未构建)

我尝试重新安装xamarin.ios以及xcode。

当我运行telnet localhost 5000时,我收到以下消息(暗示问题出在xcode上)

Error: Error loading Xcode information for prefix '/Applications/Xcode.app/Contents/Developer'
Exception: Exception type: System.FormatException
Input string was not in the correct format at System.Int32.Parse (System.String s [0x00000] in <filename unknown>:0 
at MonoTouch.Tools.Frameworks.AppleSdkSettings.Init () [0x00000] in <filename unknown>:0 
System.ApplicationException: Apple SDK developer root not specified.
at MonoTouch.Tools.Frameworks.MonoTouchFrameworks.Init () [0x00000] in <filename unknown>:0 
at Mtb.Application.MainClass.Init () [0x00000] in <filename unknown>:0 
at Mtb.Application.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
Exception: Exception type: System.ApplicationException
Apple SDK developer root not specified.
at MonoTouch.Tools.Frameworks.MonoTouchFrameworks.Init () [0x00000] in <filename unknown>:0 
at Mtb.Application.MainClass.Init () [0x00000] in <filename unknown>:0 
at Mtb.Application.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
Error: Unknown error occurred.
Connection closed by foreign host.

还有其他人遇到过这个问题吗?

提前致谢!

1 个答案:

答案 0 :(得分:4)

XCode 4.6.2与Xamarin Studio无法正常工作。从https://developer.apple.com/downloads/重新安装4.6.1。

这就是我在这里解决同样问题的方法