wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

WCDB如何与FMDB共存啊?

Open LanceXZH opened this issue 5 years ago • 10 comments

WCDB如何与FMDB共存啊?还是说,要使用WCDB,必须把FMDB从工程中移除?

LanceXZH avatar Dec 26 '19 08:12 LanceXZH

What's your problem while using WCDB and FMDB together?

RingoD avatar Jan 03 '20 02:01 RingoD

What's your problem while using WCDB and FMDB together?

使用 FMDB/SQLCipher 会crash,有什么办法,可以让fmdb 使用wcdb库里边的 sqlcipher

huapeng222 avatar Apr 23 '20 07:04 huapeng222

What's your problem while using WCDB and FMDB together?

使用 FMDB/SQLCipher 会crash,有什么办法,可以让fmdb 使用wcdb库里边的 sqlcipher

已经找到解决方案,header patch 导入 "${PODS_ROOT}/Headers/Public/WCDBOptimizedSQLCipher"

FMDatabase.m 中引入 #import <WCDBOptimizedSQLCipher/sqlcipher/sqlite3.h>

huapeng222 avatar Apr 23 '20 11:04 huapeng222

What's your problem while using WCDB and FMDB together?

使用 FMDB/SQLCipher 会crash,有什么办法,可以让fmdb 使用wcdb库里边的 sqlcipher

已经找到解决方案,header patch 导入 "${PODS_ROOT}/Headers/Public/WCDBOptimizedSQLCipher"

FMDatabase.m 中引入 #import <WCDBOptimizedSQLCipher/sqlcipher/sqlite3.h>

是低版本crash吗

renmoqiqi avatar May 28 '20 09:05 renmoqiqi

What's your problem while using WCDB and FMDB together?

使用 FMDB/SQLCipher 会crash,有什么办法,可以让fmdb 使用wcdb库里边的 sqlcipher

已经找到解决方案,header patch 导入 "${PODS_ROOT}/Headers/Public/WCDBOptimizedSQLCipher" FMDatabase.m 中引入 #import <WCDBOptimizedSQLCipher/sqlcipher/sqlite3.h>

是低版本crash吗

不是版本问题,wcdb里边已经集成了SQLCipher, 再使用pod 集成FMDB/SQLCipher,两边就会冲突,我的办法就是直接用wcdb里边的SQLCipher,只集成FMDB

huapeng222 avatar May 28 '20 11:05 huapeng222

What's your problem while using WCDB and FMDB together?

使用 FMDB/SQLCipher 会crash,有什么办法,可以让fmdb 使用wcdb库里边的 sqlcipher

已经找到解决方案,header patch 导入 "${PODS_ROOT}/Headers/Public/WCDBOptimizedSQLCipher" FMDatabase.m 中引入 #import <WCDBOptimizedSQLCipher/sqlcipher/sqlite3.h>

是低版本crash吗

不是版本问题,wcdb里边已经集成了SQLCipher, 再使用pod 集成FMDB/SQLCipher,两边就会冲突,我的办法就是直接用wcdb里边的SQLCipher,只集成FMDB

我使用FMDB/SQLCipher dyld: lazy symbol binding failed: Symbol not found: _sqlite3_key

renmoqiqi avatar May 28 '20 13:05 renmoqiqi

可以参考我的,设置header path 引用wcdb 里边的SQLCipher,一样能加密的,不过,只能用1024位加密 @renmoqiqi

huapeng222 avatar May 30 '20 04:05 huapeng222

FMDB/SQLCipher创建的加密数据库怎么迁移到WCDB上

makehapi avatar Nov 27 '20 01:11 makehapi

看了其他评论说,FMDB/SQLCipher (2.7.5)版本的SQLCipher是4.2.0的版本,而WCDB还不支持打开4.2.0版本的加密数据库

makehapi avatar Nov 27 '20 02:11 makehapi

希望微信团队尽快处理啊

makehapi avatar Nov 27 '20 02:11 makehapi

Please try the latest version.

Qiuwen-chen avatar Mar 08 '24 04:03 Qiuwen-chen