Logo Questions Linux Laravel Mysql Ubuntu Git Menu

VS Cordova IOS Remote Build

I am new to cordova and trying to get my env all set up. I was able to successfully get an ios cordova app running on my mac. I then installed the remote build agent for vs and tried to create a new ios project in vs. In ripple it works fine but when I try to do a remote build I get the following error

Remote build error from the build server Build failed with error Plugin doesn't support this project's cordova-ios version. cordova-ios: 3.8.0, failed version requirement: >=4.0.0-dev: {1} BlankCordovaApp1

Where do I set the cordova-ios version for the project?

like image 826
Jim Avatar asked Oct 20 '22 01:10


1 Answers

This is coming from the cordova-plugin-whitelist plugin included with new Visual Studio Typescript projects by default. The values are inside plugins/cordova-plugin-whitelist/plugin.xml.

In theory you could change the cordova-ios version number in this file, but I couldn't get that to work, so I just removed the whitelist plugin altogether.

Remove the plugin by deleting it from the /plugins folder and removing the following from the project's config.xml:

<!-- Support for Cordova 5.0.0 plugin system --> <plugin name="cordova-plugin-whitelist" version="1" />

like image 67
zyzof Avatar answered Nov 15 '22 04:11