I keep moving on export Xcode project, config OPENSSL_SRC in Source trees, add C flag -DSQLITE_HAS_CODEC, add search header "sqlcipher", add Security framework then run on device. I just want encryption work on ios devices. In Unity editor, it works without encryption. Add it to Assets/Plugins/iOS with header sqlite3.h, sqlite3ext.h I compiled sqlcipher to static library (libsqlcipher.a). Private static extern int sqlite3_key(IntPtr stmHandle, string key, int len) I added a method for unity to call function set key: I'm trying to use sqlite with sqlcipher for unity ios game.
0 Comments
Leave a Reply. |