"The installed Xamarin.iOS (version 10.3) on the Mac Unnamed Server (...) is not compatible with the local Xamarin.iOS (version 10.4)"

"The installed Xamarin.iOS (version 10.3) on the Mac Unnamed Server (...) is not compatible with the local Xamarin.iOS (version 10.4)"

在我的 Windows 盒子上我有 VS 2017,在我的 Mac 我有 Xamarin Studio 6.2。

当我尝试在 Windows 上的 Visual Studio 中构建一个 iOS 项目时,它会抱怨 "The installed Xamarin.iOS (version 10.3) on the Mac Unnamed Server () is not compatible with the local Xamarin.iOS (version 10.4)".

但是,在 VS 的帮助 -> 关于中,它报告 Xamarin.iOS 是版本 10.4.0.123。在 Mac 上,Xamarin Studio 报告我的版本为 10.4.0.128。据推测,这些应该是兼容的。如其他问题所述,我已尝试检查更新,但有 none 可用。

关于这里发生了什么的任何提示?

这些版本实际上不兼容。 VS 2017 的 Xamarin 版本目前比 Mac 版本落后 1 个版本。我建议将您的 Mac Xamarin iOS 版本降级到 10..4.0.123,您可以从您的 Xamarin 帐户下载页面获取该版本: https://store.xamarin.com/account/my/subscription/downloads#all-versions

获取日期为 2 月 28 日(或者可能是 3 月 1 日,具体取决于您的时区)的 10.4 版本,即安装在 VS 2017 中的版本 10.4.0.123。

有关详细信息,请参阅此发行说明: https://releases.xamarin.com/category/xamarin-for-visual-studio/

并注意上面的这一行:

Do note that at the moment, Xamarin for Visual Studio 2017 is one build behind the version for Visual Studio 2015.

因此在 Mac 上 Xamarin Studio 也落后一个版本。因此,您可以将 Mac 降级到匹配版本或返回到 VS 2015。