Open
Description
Bug Report
XCode build fails: Redefinition of enumerator 'SYNTAX_ERR
Problem
The error started to appear when I added the below cordova plugins to the project where cordova-sqlite-storage plugin already existed:
- cordova-plugin-file
- cordova-plugin-qrscanner
What is expected to happen?
Build should not break.
What does actually happen?
Xcode build fails
Information
The cordova-sqlite-storage plugin has WebSQLError enum with SYNTAX_ERR = 5 and cordova-plugin-file plugin has CDVFileError enum with SYNTAX_ERR = 8. It seems to be the problem with the same name for these enums.
Command or Code
N/A
Environment, Platform, Device
See ionic info output
Ionic:
ionic (Ionic CLI) : 4.10.3 (/Users/alexryltsov/.nvm/versions/node/v10.14.2/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.4.0
@angular-devkit/build-angular : 0.12.3
@angular-devkit/schematics : 7.2.3
@angular/cli : 7.2.3
@ionic/angular-toolkit : 1.2.3
Capacitor:
capacitor (Capacitor CLI) : 1.0.0-beta.24
@capacitor/core : 1.0.0-beta.24
Cordova:
cordova (Cordova CLI) : 8.1.2 ([email protected])
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
System:
Android SDK Tools : 26.1.1 (/Users/alexryltsov/Library/Android/sdk/)
NodeJS : v10.14.2 (/Users/alexryltsov/.nvm/versions/node/v10.14.2/bin/node)
npm : 6.5.0
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001
Version information
See above
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above