1

现在,我已经更新了我Xamarin.ios7.0.x错误,我已经有了xcode 5

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)

我已经将 ios7 的 Xcode 更新到 5.0 并在 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 
4

2 回答 2

1

您可以在首选项中设置新XCode位置Xamarin.Studio

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

Xamarin 工作室偏好

如果您没有绿色复选标记,请设置针对新XCode 5安装的位置(通常/Applications/XCode.App

于 2013-10-03T09:58:14.773 回答
0

更新到 Xcode6 后,我遇到了类似的问题。帮助我的是通过 beta 通道安装 Xamarin Studio 的所有更新。转到 Xamarin Studio > Check for Updates ... 然后选择beta而不是stable

于 2014-09-12T10:15:12.823 回答