2012-11-05 43 views
6

我正在使用Monotouch開發iPhone應用程序。 我的應用程序'現在運行良好,我想測試更多。請將此設備連接到Xcode以安裝開發支持文件

但是,突然之間,我有這個我從未見過的錯誤。谷歌幫不了我,希望你能。

error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com 
System.Exception: Could not find developer tools for this device. Please connect this device to Xcode to install the development support files. 
    at MonoTouch.Installation.Device.MountDeveloperImage() [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Installer.KillApplication (MonoTouch.Installation.Device d, System.String appId) [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Installer+<KillApplication>c__AnonStorey7.<>m__8 (MonoTouch.Installation.Device d) [0x00000] in <filename unknown>:0 

我在Pastebin here上發現此問題。就這樣。

上週,一切都很好。 我清理了我的項目,構建並重建了它,重啓了系統,打開了XCode,使用XCode打開了視圖(加載Xcode項目),沒有任何效果。 現在,沒有任何應用程序可以正常運行。

也許這是由XCode更新引起的? 或者這是由iOS更新(6.0.1)引起的?

編輯:我也聯繫了Xamarin支持中心。我會保持聯繫。

編輯2:這裏是Xamarin支持

答案這是一個問題,我們都知道和MonoTouch的 6.0.6(這是目前在beta通道)有固定的這個。如果您不想更新到MonoTouch 6.0.6,可以在此處的bug https://bugzilla.xamarin.com/show_bug.cgi?id=8166上發佈解決方法,您可以應用 來解決該問題。

我希望這會有所幫助。

我有效的MJJames首先指出問題的答案。 非常感謝。

我嘗試修復並反饋。

編輯3: 我改變了更新頻道(的MonoDevelop>檢查更新)到Beta版,並下載了MonoTouch的和MonoDevelop的測試版更新。它再次運作。 Xamarin,MJJames,謝謝。

回答

0

如果你正在嘗試使用的XCode的測試版本,你可能需要手動點Xamarin Studio來了。至少如果你使用Xamarin Studio 5.9或更高版本。

https://forums.xamarin.com/discussion/18658/xcode-6-beta

嗨,

是的,只是改變在Xamarin Studio的首選蘋果的SDK位置 - >項目 - > SDK位置 - >蘋果設置頁面。單擊瀏覽按鈕並導航到XCode6-Beta5。應用程序 文件夾中。

用更現代的東西更換XCode6,beta5的應用程序內的位置:

enter image description here

,然後如果你得到一個錯誤提DetectSdkLocations,you may need to reboot