2013-04-18 20 views
3

隨着主題的引入,我無法連接到我的mac構建主機。它在本週早些時候工作(我認爲有更新)。我無法從Xamarin工作室運行iOS應用程序(我認爲它與Xamarin連接到Xcode有關,因爲當我嘗試從Xamarin工作室運行時,我收到消息說代碼尚未構建)無法連接到Mac構建主機 - 加載xcode信息時出錯

我試過重新安裝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. 

有沒有其他人遇到這個問題?

在此先感謝!

+0

這看起來好像有在Xcode的更新打破變化 - 在這裏看到的解決辦法暫且 - HTTP://forums.xamarin。 com/discussion/comment/10837 /#Comment_10837 – theMothaShip

回答

4

XCode 4.6.2與Xamarin Studio不兼容。從https://developer.apple.com/downloads/重新安裝4.6.1。

這就是我如何解決同樣的問題在這裏

+0

剛剛在我的Mac上做了同樣的事情,並且可以確認這可以解決問題:) – edcs

相關問題