ios - Unable to connect Visual Studio to remotebuild on El Capitan VM -


i have cordova-ionic application on visual studio (microsoft visual studio community 2015, version 14.0.25123.00 update 2). able run app on android phone , good. want test app running on iphone/ios simulator.

i have os x el capitan (version 10.11.6) running vm on virtual box. have been following guide (https://taco.visualstudio.com/en-us/docs/ios-guide/) try test app on apple devices. have installed version 0.12.9 node.js , xcode version 8 beta 4. have installed xcode command line tools, remote agent, homebrew. have tried running 'remotebuild test' in terminal , executes successfully, ending 'taco-remote test passed.' however, problems start.

to attempt use secure remotebuild, run 'remotebuild certificates reset' , 'remotebuild certificates generate' in terminal. see
host: noyolks-imac.local
port: 3000
pin: 121422
run 'remotebuild'. on visual studios on windows machine, go tools -> options -> tools apache cordova -> ios configuration. set 'enable remote ios processing' 'true', 'host' 'noyolks-imac.local', 'port' '3000', 'secure mode' 'true', 'security pin' '121422'. however, when press ok, see following error popup 'unable connect remote ios build server. underlying exception: remote name not resolved: 'noyolks-imac.local''.

i try using ip instead in place of host name suggested in guide. on os x, go system preferences -> network. see '10.0.2.15' under ip address. go windows machine. try '10.0.2.15' in place of 'host'. when press ok, see following error popup 'an error occurred trying acquire certificate https://10.0.2.15.'.

please note, ensured above done within 10 minutes window before security pin expires.

following guide, tried start remote agent without secure mode. run 'remotebuild --secure false'. once again on visual studio on windows machine, try host 'noyolks-imac.local' first (with 'port' '3000', 'enable remote ios processing' 'true', 'secure mode' 'false') , error popup 'unable connect remote ios build server. underlying exception: remote name not resolved: 'noyolks-imac.local''.

once again, running without secure mode, instead use ip address in place of host '10.0.2.15'. error popup 'unable connect remote ios build server. underlying exception: unable connect remote server'.

i have tried similar procedure using friends mac book pro , have not been able work. appreciated , please feel free ask other information might need.

thanks.

i'm idiot. problem couldnt ping el capitan vm. changing network adapter settings in virtualbox 'bridged adapter' solved this.


Comments