-
Notifications
You must be signed in to change notification settings - Fork 522
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
修复 Xcode16 编译运行 iOS18 sqlite3_finalize 闪退问题 #166
Comments
觉着这个问题作者会修复么? |
@zhenghaonagehao li6185377老哥把解决办法贴在这里的初衷也许并不是奢望作者及时的进行修复,而只是给遇到同样问题的朋友们提供一种解决方案,反哺开源社区~ |
能列全一下代码吗?不知道替换哪些代码 |
|
我这104行是这 _dbOpenErrorCount = 0; ,肯定不对 |
YYKVStorage.m
|
好的,感谢 |
感谢大佬 |
@li6185377 大佬,替换后会有警告 “Initializing 'sqlite3_stmt *' (aka 'struct sqlite3_stmt *') with an expression of type 'const sqlite3_stmt *' (aka 'const struct sqlite3_stmt *') discards qualifiers”,会有影响吗? |
sqlite3_stmt *stmt = (sqlite3_stmt *)stmts[i]; |
这个有办法可以规避吗?除了改代码以外。 |
pod 导入的 怎么整? |
修复Xcode16编译引起的闪退,在 iOS18 中,需要提前对 sqlite3_stmt 执行 sqlite3_finalize
建议改用 CFDictionaryApplyFunction 更加优雅: #163
该 pull request 还有对 WAL 膨胀的治理。
The text was updated successfully, but these errors were encountered: