无法在 Mac 上找到 Xamarin.iOS 构建主机

Not able to find Xamarin.iOS Build Host on Mac

在我的 Mac (OS X Yosemite v10.10.5) 上安装 Xamarin Studio v5.10 (build 871) 后,我找不到 Xamarin.iOS Build Host,即使在使用 Spotlight 时也是如此。我想将 Visual Studio 与我的 Mac 开发机器配对。我在 Xamarin 论坛上找到了答案:

I was having the same issue on my Mac and was able to resolve the issue by deleting the following directories/folders and reinstalling.

/Applications/Xamarin Studio.app /Developer/MonoTouch /Developer/MonoAndroid /Library/Frameworks/Mono.framework /Library/Frameworks/Xamarin.Mac.framework /Library/Frameworks/Xamarin.Android.framework

Hope this helps.

Thx, Leland

我执行了这些步骤并在 Mac 上卸载了 Xamarin,然后重新安装,但这没有帮助。问题是什么,我该如何解决?

OS-X Build Host 变成了 OS-X Build Agent:

Overview

The Xamarin Mac Agent provides a way for Visual Studio developers writing Xamarin.iOS apps to connect to a Mac effortlessly to control the building, deployment, and running of apps. Visual Studio connects to the Mac over SSH, which provides several benefits, including:

参考:http://developer.xamarin.com/guides/ios/getting_started/installation/windows/xamarin-mac-agent/

Xamarin.iOS 构建主机已 evolved 进入构建代理。

您现在无需启动单独的应用程序即可连接到您的 Mac 并编译您的 iOS 应用程序。

操作方法如下;

  1. 对您启用远程登录 Mac。 使用 Spotlight 搜索 Remote Login 并勾选左侧的远程登录框。 Select哪些用户或用户组可以连接。

  1. 转到您的 Visual Studio 并找到新图标,单击它

  1. 找到您的主机,它可能只有一个,然后单击“连接”。输入您的凭据(如果需要)并等待链图标出现在所选主机的右侧。

从现在开始,它应该会自动连接。只需等待 Visual Studio 工具栏图标中的屏幕变为绿色即可。

有关详细信息,请查看 Xamarin documentation。 此外,当您第一次以这种方式连接现有 Xamarin 项目时,请务必进行清理和重建以避免错误。