Visual Studio 2015 年在云端设置构建和模拟 iOS

Visual Studio 2015 Setup Build and Simulate iOS in the Cloud

我正在使用 "Microsoft Build and Simulate iOS in the Cloud" 在 Macincloud.com 上建立远程构建。当我尝试构建 IOS 应用程序

时出现以下错误

Severity Code Description Project File Line Error Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) 0
Severity Code Description Project File Line Error An error occurred uploading to the build server https //myserverinstance.macincloud.com:3000: Error: Hostname/IP doesn't match certificate's altnames: "Host: myserverinstance.macincloud.com. is not in the cert's altnames: DNS:MAC123.local, IP Address:FE80:etc, IP Address:123.12.123.123" BlankCordovaApp3 C:\Users\ME\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\BlankCordovaApp3\MDAVSCLI 1

要提到的一个项目是我不需要安装任何东西,vs-mda-remote 已经在我的 macincloud 系统上了。

任何想法如何让它工作?

目前使用 MacInCloud 的关键是您需要使用机器的 IP 而不是主机名,因为 OS 报告的主机名与互联网上的主机名不同。

在终端应用中,输入:

ifconfig | grep "inet "

然后您会看到类似这样的内容:

inet 127.0.0.1 netmask 0xff000000
inet 192.168.0.100 netmask oxffffff00 broadcast 192.168.0.1

在这种情况下,您将使用 192.168.0.100 代替主机名。

查看此处了解更多详细信息:https://msdn.microsoft.com/en-us/library/dn858446(v=vs.140).aspx