2013-10-03 13 views
1

現在,我已經更新了我的Xamarin.ios7.0.x這是給錯誤的是,我已經有xcode 5更新了在MonoDevelop的ios7但它給錯誤

Error: A valid Xcode installation could not be found. If your copy of Xcode is 
installed to a non-standard prefix, please specify the location in MonoDevelop's 
Preferences under 'SDK Locations'. (Scrapboom.iPhone) 

我已經Xcode更新到5.0 ios7和運行在MonoDevelop中,但應用程序沒有運行它給,

警告模擬器上

warning MT1201: Could not load the simulator: dlopen(Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient, 1): image not found 

警告設備上:

warning MT1003: Could not kill the application 'com.scrapboom.iphone'. You may have to kill the application manually. 
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com 
System.IO.DirectoryNotFoundException: Directory 'Platforms/iPhoneOS.platform/DeviceSupport' not found. 
    at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 
    at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 
    at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Device.get_DeveloperImagePath() [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Device.MountDeveloperImage() [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Installer.FindApplication (MonoTouch.Installation.Device d, System.String appId) [0x00000] in <filename unknown>:0 
    at MonoTouch.Installation.Installer+<LaunchApplication>c__AnonStorey1A.<>m__22 (MonoTouch.Installation.Device d) [0x00000] in <filename unknown>:0 
+0

您是否修改了Xamarin Studio中的SDK位置?你在哪裏安裝Xcode 5? –

+0

我在應用程序文件夾中安裝了Xcode。應用程序在xamarin studio中運行,但它在monodevelop中發生錯誤。我不知道如何設置SDK的位置。錯誤:無法找到有效的Xcode安裝。如果您的Xcode副本安裝爲非標準前綴,請在「SDK位置」下的MonoDevelop首選項中指定位置。 (Scrapboom.iPhone) –

+0

打開Xamarin Studio的首選項,轉到Projects/SDK位置/ Apple,看看有沒有什麼是非默認的。 –

回答

1

您可以在首選項設置新XCode位置Xamarin.Studio

Xamarin Studio > Preferences... > Projects > SDK Locations > Apple 

Xamarin studio preferences

如果沒有綠色對號,設置目標位置爲您的新XCode 5安裝(通常爲/Applications/XCode.App

+0

應用程序在Xamarin工作室中工作正常,但它不工作Monodevelop.I已經有綠色檢查。 –

0

更新到Xcode6後,我有類似的問題。什麼幫助我在測試版頻道上安裝Xamarin Studio的所有更新。轉到Xamarin Studio>檢查更新...然後選擇測試版而不是穩定

相關問題