VS Cordova IOS Remote Build

I am new to Cordoba and trying to configure all my settings. I was able to successfully get the ios cordova application running on my mac. Then I installed the remote build agent for vs and tried to create a new ios project in vs. In ripple works fine, but when I try to perform a remote build, I get the following error:

Remote build error from the build server Build failure with the error The plugin does not support the cordova-ios project version. cordova-ios: 3.8.0, does not meet version requirements:> = 4.0.0-dev: {1} BlankCordovaApp1

Where to install the version of the cord for the project?

+5
source share
3 answers

This comes from the cordova-plugin-whitelist , which is included in new Visual Studio Typescript projects by default. The values ​​are inside plugins/cordova-plugin-whitelist/plugin.xml .

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

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

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

+2
source

The latest version 1.1.0 requires cordova-ios 4.0.0, as the error message indicates. Version 1.0.0 supports 3.8.0, so it’s easier to fix this version. To use 1.0.0, you can add the following to

config.xml

 <vs:plugin name="cordova-plugin-whitelist" version="1.0.0" /> 
+1
source

You may need to update the Visual Studio 2015 Cordova tool. From Visual Studio 2015, click Tools-> Extensions and Updates. If you need an update, you will see the Apache Cordova update. If so, install and this should solve your problem.

Greetings

0
source

Source: https://habr.com/ru/post/1232026/


All Articles