David Crawford David Crawford - 1 month ago 5
iOS Question

Visual Studio 2015 Setup Build and Simulate iOS in the Cloud

I am using "Microsoft Build and Simulate iOS in the Cloud" to establish a remote build on Macincloud.com. I am getting the following errors when I try to build an IOS app


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


One item to mention is that I didn't have to install anything, vs-mda-remote was already on my system in macincloud. http://i.stack.imgur.com/gvego.png

Any ideas how to get this working?

Answer

The key thing when using MacInCloud currently is you will need to use the machine's IP rather than host name since host name reported by the OS is not the same as the host name on the internet.

In the Terminal app, type:

ifconfig | grep "inet "

You'll then see something like this:

inet 127.0.0.1 netmask 0xff000000
inet 192.168.0.100 netmask oxffffff00 broadcast 192.168.0.1

In this case you'd use 192.168.0.100 in place of the host name.

See here for additional details: https://msdn.microsoft.com/en-us/library/dn858446(v=vs.140).aspx