Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode build fails: Redefinition of enumerator 'SYNTAX_ERR' #868

Closed
ryaa opened this issue May 14, 2019 · 6 comments
Closed

XCode build fails: Redefinition of enumerator 'SYNTAX_ERR' #868

ryaa opened this issue May 14, 2019 · 6 comments

Comments

@ryaa
Copy link

ryaa commented May 14, 2019

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

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.

@brodycj
Copy link
Contributor

brodycj commented May 21, 2019

It looks like cordova-plugin-file suddenly started using the SYNTAX_ERR enum; you should be able to use an older version of that plugin as a workaround. Should be fixed when I do SQLite 3.28.0 update (#867).

@digaus
Copy link

digaus commented Sep 13, 2019

Any progress on this?

@brodycj brodycj self-assigned this Sep 17, 2019
@brodycj
Copy link
Contributor

brodycj commented Sep 17, 2019

I hope to make this soon, please followup if I don't fix this in the next 1-2 weeks or so.

@brodycj
Copy link
Contributor

brodycj commented Sep 27, 2019

Should be fixed with a quick workaround in version 3.4.0. I will need some time to propagate this workaround update into the other SQLite plugin versions.

@digaus
Copy link

digaus commented Sep 29, 2019

Should be fixed with a quick workaround in version 3.4.0. I will need some time to propagate this workaround update into the other SQLite plugin versions.

Thanks will check soon :)

@digaus
Copy link

digaus commented Oct 2, 2019

@brodybits it works with 3.4.0

@brodycj brodycj closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants