project-imas / encrypted-core-data

v2.0 - iOS Core Data encrypted SQLite store using SQLCipher
Other
785 stars 236 forks source link

XCode 12 build error #333

Open matteodem2 opened 3 years ago

matteodem2 commented 3 years ago

Hi,

I'm using this project in my app since several years without no problem.

Now, I'm migrating from XCode 11.4.1 to XCode 12 and my project has builds error from this project:

Swift Compiler Error: sqlite3.h Redefinition of 'sqlite3_file' In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/sqlite3ext.h:20:

sqlite3.h: Redefinition of 'sqlite3_io_methods' .... and many other .h files from sqlcipher

How could I solve ? I'm stuck since several hours..

Thanks

mukesh-mt commented 1 year ago

I'm getting same error, is there any workaround for this?