When attempting to build or debug an iOS Cordova app from Visual Studio 2015, using the latest version of Visual Studio Tools for Apache Cordova (14.0.50902.4), I bump into an issue where any folder with the name "plugins" will be omitted from within www directory during building via remotebuild on my Mac.
The actual cordova's "plugins" directory which is outside of the www folder is unaffected.
Steps to reproduce -
- On the Mac, Open Terminal and run remotebuild
- From PC, trigger an iOS build or debug via Visual Studio with a Cordova project opened.
- On the Mac, open another Terminal and go to the folder holding the remote build files sent from Visual Studio to remotebuild for building -
/Users/someuser/.taco_home/remote-builds/taco-remote/builds/xxxxx/cordovaApp/
Then I can see the normal "plugins" folder for cordova. But other plugins folder within www folder will be missing.
Found this issue when a cordova app I am currently working on became blank after we have upgraded to latest version of the cordova tools and visual studio (was working when using visual studio 2013)
Has anyone come across this recently?
Also, if I update the name of the "plugins" folder to be uppercase "Plugins" - then there will be no issues and the folder and the files within will be sent to the Mac / remotebuild for building :P This works if there are only 1 or 2 plugins folder that I have created myself, but we also have third party javascript libraries that gets pulled down using bower, and these libraries that have plugins folder will cause issues (e.g. we use Durandaljs which have its own plugins folder too)
I have followed the instructions to install remotebuild onto my Mac using this link - https://msdn.microsoft.com/library/dn757054(v=vs.140).aspx#ios
Thanks in advance.