Cannot open encrypted database with SQLCipher 4

@mmoore awesome solution! I can’t believe this subtle problem has costed hours to locate.

My problem was very similar, by using Google library (again) at cocoapod. It secretly induced a sqlite library dependency which cause mislink at runtime. These kind of runtime linking issue is again very subtle and extremely hard to be troubleshooted. Especially when the problem is not noticed right away.

While @sjlombardo has written a comprehensive article about this issue. Although it is rare to meet, I suggest it should be put at FAQ or common mistake section to avoid fellows from suffering if they are so lucky to meet this problem.

Anyway, appropriate the good work.

1 Like