请将此设备连接到Xcode以安装开发支持文件。

6
我正在使用Monotouch开发iPhone应用程序。 目前我的应用程序运行良好,我想进行更多测试。
但是突然间出现了一个我从未见过的错误。 谷歌无法帮助我,我希望你能帮忙解决。
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上发现了这个问题(链接)。就是这样。

上周,一切都好好的。 我清理了我的项目,构建和重构它,重新启动系统,打开XCode,用XCode打开视图(以加载Xcode项目),但什么都不起作用。 现在,没有任何应用程序能正确运行。

也许这是由于XCode更新引起的? 或者是由于iOS更新(6.0.1)引起的?

编辑:我还联系了Xamarin支持中心。我会保持联系。

编辑2:以下是来自Xamarin支持的答案

我们知道这个问题并已在MonoTouch 6.0.6(目前在Beta频道中)中解决了。如果您不想更新到MonoTouch 6.0.6,则可以应用此处的解决方法https://bugzilla.xamarin.com/show_bug.cgi?id=8166来解决该问题。

希望这可以帮助到您。

我认可MJJames首先指出了问题。 非常感谢。

我尝试了修复并反馈。

编辑3: 我更改了更新通道(MonoDevelop > 检查更新)为Beta,并下载了MonoTouch和MonoDevelop beta更新。现在它又能正常工作了。Xamarin,MJJames,谢谢。

2个回答

7

0

如果您正在尝试使用XCode的beta版本,那么您可能需要手动将Xamarin Studio指向它。至少,如果您使用的是Xamarin Studio 5.9或更高版本。

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

嗨,

是的,在Xamarin Studio首选项->项目->SDK位置->Apple设置页面中更改Apple SDK位置。单击“浏览”按钮,然后导航到应用程序文件夹中的XCode6-Beta5.app。

将XCode6-Beta5-app位置替换为更现代的内容:

enter image description here

如果你遇到了一个提到DetectSdkLocations的错误,你可能需要重新启动


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接