3

随着主题的出现,我无法连接到我的 mac 构建主机。它在本周早些时候工作(我认为有更新)。我也无法从 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.

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

提前致谢!

4

1 回答 1

4

XCode4.6.2 (还)不适用于 Xamarin Studio。从https://developer.apple.com/downloads/重新安装 4.6.1 。

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

于 2013-04-19T08:14:54.317 回答