Skip to content

Commit 5a14515

Browse files
committed
Add missing definition to compile latest sqlcipher on ios
1 parent 9b20f87 commit 5a14515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

op-sqlite.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Pod::Spec.new do |s|
129129
if use_sqlcipher then
130130
log_message.call("[OP-SQLITE] using SQLCipher 🔒")
131131
exclude_files += ["cpp/sqlite3.c", "cpp/sqlite3.h", "cpp/libsql/bridge.c", "cpp/libsql/bridge.h", "cpp/libsql/bridge.cpp", "cpp/libsql/libsql.h"]
132-
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1 HAVE_FULLFSYNC=1 SQLITE_HAS_CODEC SQLITE_TEMP_STORE=2"
132+
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_SQLCIPHER=1 HAVE_FULLFSYNC=1 SQLITE_HAS_CODEC SQLITE_TEMP_STORE=3 SQLITE_EXTRA_INIT=sqlcipher_extra_init SQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown"
133133
s.dependency "OpenSSL-Universal"
134134
elsif use_libsql then
135135
log_message.call("[OP-SQLITE] using libsql 📘")

0 commit comments

Comments
 (0)