You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/14 06:23:54 UTC

[GitHub] [cordova-plugin-file] ryaa opened a new issue #315: XCode build fails: Redefinition of enumerator 'SYNTAX_ERR

ryaa opened a new issue #315: XCode build fails: Redefinition of enumerator 'SYNTAX_ERR
URL: https://github.com/apache/cordova-plugin-file/issues/315
 
 
   # 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 (cordova-lib@8.1.1)
      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
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org