I have an app that uses SQLCipher to read and write to crypted databases.
Wanting to use Firebase, I stumbled upon 2 problems:
Firstly, some ... thing added -l"sqlite3"
to my Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName.debug.xcconfig
(and release
too, ofc). Because of this, my app's SQLs were failing with error file is encrypted or is not a database
.
I solved this by adding a post_install
to my Podfile
that removes those from all config files.
After doing this, a Firebase SQL started failing with error no such table: s2dRmqIds
.
AFAIK, there is no way to use SQLite and SQLCipher in the same project, as they are complementary.
Any idea what is Firebase trying to save in that table? Or how much of a problem is? Or if I can change the storing mechanism? Or if it is a (known) bug?