Due to changes in CDVPlugin, when building for iOS using:
preference name="phonegap-version" value="cli-6.1.0"
gap:plugin name="org.apache.cordova.file"
The following build error is produced:
/Plugins/org.apache.cordova.file/CDVFile.m:322:29: error: no visible @interface for ‘CDVPlugin’ declares the selector ‘initWithWebView:’
self = (CDVFile*)[super initWithWebView:theWebView];
~~~~~ ^~~~~~~~~~~~~~~
1 error generated.
Currently using a less than ideal work-around:
platform name="android"
preference name="phonegap-version" value="cli-6.1.0"
platform
platform name="ios"
preference name="phonegap-version" value="cli-5.2.0"
platform
Any assistance or suggestions would be greatly appreciated!
preference name="phonegap-version" value="cli-6.1.0"
gap:plugin name="org.apache.cordova.file"
The following build error is produced:
/Plugins/org.apache.cordova.file/CDVFile.m:322:29: error: no visible @interface for ‘CDVPlugin’ declares the selector ‘initWithWebView:’
self = (CDVFile*)[super initWithWebView:theWebView];
~~~~~ ^~~~~~~~~~~~~~~
1 error generated.
Currently using a less than ideal work-around:
platform name="android"
preference name="phonegap-version" value="cli-6.1.0"
platform
platform name="ios"
preference name="phonegap-version" value="cli-5.2.0"
platform
Any assistance or suggestions would be greatly appreciated!


