Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podfile 文件开启 use_frameworks 后 sqlite3_key 调用系统方法 #89

Open
Vincentzzg opened this issue Aug 20, 2021 · 0 comments
Open

Comments

@Vincentzzg
Copy link

田大哥,我又来了

最近项目需要接一个swift的库,需要开启podfile 文件里的 use_frameworks 开关,开启之后运行项目发现数据库报错:
截屏2021-08-20 下午2 57 24

怀疑是密码传递的问题,断点 SQLCipher 里面的 sqlite3_key 函数后,发现断点并没有走,居然调用了系统SQLite库里面的方法,没有调用 SQLCipher 里面的。
应该是开启了 use_frameworks 后,这些库的 framework 都是动态链接的,SQLCipher 库干脆就没链接,直接使用了系统库的方法,请教田大哥这个怎么破。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant