The command-line tools above refer to versions prior to Cordova 3.0. Cd hello $ cordova platform add osx $ cordova prepare # or 'cordova build'. Jan 12, 2015 For more information about Cordova development in Visual Studio, read more about the Tools for Apache Cordova Preview. If you run into any issues or have questions, you can connect directly with the team via UserVoice, Twitter, StackOverflow, or email.-Alex. Alex Moskwa is a Program Manager in Visual Studio focused on Cordova tooling.
I'm working with Visual Studio 2015 on a Windows computer and I want to simulate my app on a MacBook via remotebuild. But the VS Remote Agent Client is not able to connect: If I try to establish a connection with security PIN, it says: 'An error occurred trying to acquire certificate from https//.' If I try to establish a connection without security PIN, it says: 'Unable to connect to remote iOS build server. Underlying exception: The remote server returned an error: (403) Forbidden.' If I run Apache Cordova on the Mac, there aren't any problems. And also my Xamarin App works on the remote iOS simulator. So why is it not possible to run my Apache Cordova App there, too?
![Visual studio for mac wikipedia Visual studio for mac wikipedia](/uploads/1/2/5/4/125444704/213188689.png)
Maybe it is relevant to mention, that I do not have an Apple Developer Program Account. Are you sure that you are configuring VS with the port that remotebuild is running on? We don't report a HTTP 403 anywhere (at least not at this point in the communication) so it looks like there may be another HTTP server listening on the port. Can you try curl and curl -k and see what response you get? Also try remotebuild saveconfig -port=9876 or some other unused port, then restart remotebuild and see if VS can connect to it on the new port. – Jun 20 '16 at 16:49. Make sure, you MacBook and VS workstation both are in same network.
![And And](http://hashtag-bg.com/wp-content/uploads/2018/08/cordova-visual-studio-resume-tools-for-apache-and-the-remote-mac-agent.png)
Also verify using command prompt that MacBook's IP add. Replace host name using IP address MacBook and try again. If this does not work then following are steps to reset remotebuild:. first stop server using following command: cntrl + c. Execute following command to reset remotebuild certificates: remotebuild certificates reset. Run following to command to regenerate remotebuild server: remotebuild certificates generate. here, new secure pin number will be generated.
Following command to start remotebuild: remotebuild. now try again, make sure 'Enable remote iOS processing' is true and 'Secure mode' is true and valid secure number is added.