简体   繁体   English

即使XCode,Xamarin Studio也无法识别iOS设备

[英]Xamarin Studio does not recognize iOS device even though XCode does

I have a Mac 10.10.5 setup with XCode and Xamarin Studio for iOS development. 我有一个Mac 10.10.5设置,使用XCode和Xamarin Studio进行iOS开发。

After an update Xamarin Studio no longer recognized my iOS device. 更新后,Xamarin Studio不再识别我的iOS设备。 It turned out that XCode could not start. 原来,XCode无法启动。 After launching XCode which installed several components XCode now WORKS, I can build, deploy and debug in XCode. 在启动安装了几个组件XCode的XCode后,我可以在XCode中构建,部署和调试。 However Xamarin Studio cannot see the device in the device selection box. 但是,Xamarin Studio无法在设备选择框中看到该设备。

Xamarin Studio can see, build for and deploy to any Simulator. Xamarin Studio可以查看,构建和部署到任何模拟器。

Visual Studio which uses the same machine as a Build Sever can see the device in the device selection box, but will not deploy nor debug (nothing happens). 使用与Build Sever相同的机器的Visual Studio可以在设备选择框中看到该设备,但不会部署或调试(没有任何反应)。

Everything worked before the Mac / XCode / Xamarin update. 在Mac / XCode / Xamarin更新之前,一切正常。 No changes to device, project or settings. 无需更改设备,项目或设置。

So Xamarin piggy-backs onto Xcode, meaning that as long as Xcode should see it, Xamarin should see it as well. 所以Xamarin捎带到Xcode上,这意味着只要Xcode看到它,Xamarin也应该看到它。 This most likely means that something within Xamarin is causing your device to be filtered out of the deployment targets list. 这很可能意味着Xamarin中的某些内容导致您的设备被过滤掉部署目标列表。 Could your "Deployment Target" within the Info.plist within your project not be set to the proper iOS version? 您项目中Info.plist中的“部署目标”是否可以设置为正确的iOS版本?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM