ios - Xamarin iOS |从 Windows 上的 Visual Studio 连接 Xamarin 构建主机时出错

标签 ios visual-studio-2013 xamarin

我们正在尝试将 Mac Mini (OS X 10.11 Yosemite) 上运行的 Xamarin 构建主机连接到 Windows 8.1 计算机上运行的 Visual Studio。我们已将两个系统上的 Xamarin.iOS 更新为相同版本。

问题: 我的 Visual Studio 可以检测构建主机并要求输入 PIN 码以与构建主机配对。但即使我输入相同的 PIN,它也不会接受,并且不断给出此错误(PFA 屏幕截图):

The PIN you entered was invalid. Please ensure you have entered the correct PIN. You may have to close this dialog and retry from Visual Studio.

enter image description here enter image description here

我已重新启动两个系统,并尝试取消配对并使用新 PIN 重新配对,但没有成功。

不用说,但是两个系统都在同一网络上,并且 VS 可以检测到构建主机。 我的 Mac 详细信息见附图 – enter image description here

Visual Studio 详细信息: 微软 Visual Studio 专业版 2013 版本12.0.31101.00更新4

最佳答案

通过 telnet 连接到您的构建主机,您应该不会收到任何响应,直到您输入 HELO

您在 HELO MTBSERVERPORTS:62592;62595 之前收到的响应不正确(Xamarin 错误)。

objc[66118]: Class WebAnimationController is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.f‌​ramework/Versions/A/WebKitLegacy and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.

如果您运行的是 Xamarin 3.9 版本之前的任何版本,则需要升级。如果这没有帮助,请联系 Xamarin 支持以帮助解决发生这种情况的原因,或升级到 Xamarin 4.0 for Visual Studio。

就我个人而言,我会升级到 Xamarin 4.0 for Visual Studio(目前是 alpha 版本),因为它用 SSH 隧道取代了 PIN 配对,从而避免了 3.0 Build Host 连接问题的所有旧问题。

回复:http://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.0/

This version also introduces the new Xamarin Mac Agent which replaces the old Xamarin Build Host with a new approach taking advantage of the built-in MacOS Remote Login feature based on SSH for a faster and more reliable connectivity.

关于ios - Xamarin iOS |从 Windows 上的 Visual Studio 连接 Xamarin 构建主机时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33253113/

相关文章:

Xamarin Android : java. exe 退出并显示代码 2 - MultiDex 已启用

ios - 导航项标题问题

ios - 如何使用 ZipKit 在 iOS 中压缩目录?

ios - RADStudio IOS部署问题

c# - Windows Phone 模拟器未启动

c++ - Google gRPC (C++) 在 VisualStudio 2013 下构建。链接错误

ios - 如何比较同一个 Swift 枚举的不同实例?

visual-studio-2013 - VS 2013 "Go to Definition"标签放置

ios - Xamarin iOS webview Zoom 不起作用

Xamarin Forms WebView 打开外部链接