{"id":16287,"date":"2015-01-12T08:00:00","date_gmt":"2015-01-12T08:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2015\/01\/12\/visual-studio-tools-for-apache-cordova-and-the-remote-mac-agent\/"},"modified":"2022-05-05T05:13:25","modified_gmt":"2022-05-05T12:13:25","slug":"visual-studio-tools-for-apache-cordova-and-the-remote-mac-agent","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-tools-for-apache-cordova-and-the-remote-mac-agent\/","title":{"rendered":"Visual Studio Tools for Apache Cordova and the remote mac agent"},"content":{"rendered":"<p>At the <a href=\"https:\/\/channel9.msdn.com\/Events\/Visual-Studio\/Connect-event-2014\">Connect(); event<\/a>, we showed yet more of what we\u2019re doing to enable developers to use Apache Cordova. Cordova is a framework you can use to build hybrid mobile apps that work across modern mobile platforms: iOS, Android, Windows Phone, and others. Using HTML, CSS, and JavaScript, you can create applications that take advantage of native device capabilities through APIs provided by Cordova. <\/p>\n<p>Building iOS apps is a bit different from building for Android and Windows: you need to have a Mac running OS X. We knew we needed a more seamless way to allow developers to build for iOS right from within Visual Studio on Windows. To address this problem, we designed a remote agent that runs on a Mac (<b>vs-mda-remote<\/b>) to act as an iOS build service for Visual Studio. The <b>vs-mda-remote <\/b>agent we\u2019ve released makes it possible to kick off a build from VS onto a Mac. It\u2019s a straightforward piece of software that runs as an iOS build service and also enables remote debugging of your iOS Cordova applications. <\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/01\/4846.ParallelsScreenshot_thumb_3E9D7E31.png\"><img decoding=\"async\" title=\"ParallelsScreenshot\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"ParallelsScreenshot\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/01\/4846.ParallelsScreenshot_thumb_3E9D7E31.png\" width=\"718\" height=\"449\" \/><\/a><\/p>\n<p><b>vs-mda-remote<\/b> enables workflows such as running Visual Studio in Parallels (or similar VM solution) while being able to do iOS builds on the Mac OS side. Setting up a machine configuration to use <b>vs-mda-remote<\/b> is covered on MSDN in the <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=521653\">Building your Apache Cordova Project for iOS using Parallels and vs-mda-remote topic<\/a>.<\/p>\n<p>If you don\u2019t have a Mac available for builds, you can also setup <strong>vs-mda-remote<\/strong> using a Mac in the cloud. This solution is covered in the MSDN article: <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=521519\">Build and Simulate iOS in the Cloud<\/a>.<\/p>\n<p>For more information about Cordova development in Visual Studio, read more about the <a href=\"http:\/\/www.visualstudio.com\/en-US\/explore\/cordova-vs\">Tools for Apache Cordova Preview<\/a>. If you run into any issues or have questions, you can connect directly with the team via <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/category\/82642-multi-device-hybrid-apps\">UserVoice<\/a>, <a href=\"https:\/\/twitter.com\/VSCordovaTools\">Twitter<\/a>, <a href=\"http:\/\/stackoverflow.com\/questions\/tagged\/visual-studio-cordova\">StackOverflow<\/a>, or <a href=\"mailto:vscordovatools@microsoft.com\">email<\/a>.<\/p>\n<p>-Alex<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/01\/3884.TrikeAlexCropped_thumb_02E0762F.jpg\"><img decoding=\"async\" title=\"TrikeAlexCropped\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;float: left;padding-top: 0px;padding-left: 0px;margin: 0px 10px 0px 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"TrikeAlexCropped\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/01\/3884.TrikeAlexCropped_thumb_02E0762F.jpg\" width=\"139\" align=\"left\" height=\"118\" \/><\/a><em>Alex Moskwa is a Program Manager in Visual Studio focused on Cordova tooling. Throughout his career at Microsoft he has focused on building great web tooling experiences. Before joining the Visual Studio team, he was a professional web developer.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the Connect(); event, we showed yet more of what we\u2019re doing to enable developers to use Apache Cordova. Cordova is a framework you can use to build hybrid mobile apps that work across modern mobile platforms: iOS, Android, Windows Phone, and others. Using HTML, CSS, and JavaScript, you can create applications that take advantage [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,4980,1028,155],"tags":[197,136,9,137,376,124],"class_list":["post-16287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-java","category-mobile","category-visual-studio","tag-cordova","tag-css","tag-debug","tag-html","tag-java","tag-javascript"],"acf":[],"blog_post_summary":"<p>At the Connect(); event, we showed yet more of what we\u2019re doing to enable developers to use Apache Cordova. Cordova is a framework you can use to build hybrid mobile apps that work across modern mobile platforms: iOS, Android, Windows Phone, and others. Using HTML, CSS, and JavaScript, you can create applications that take advantage [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/16287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=16287"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/16287\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=16287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=16287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=16287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}