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

XCode升级到15.3以后打包时报错: WCDBOptimizedSQLCipher/sqlcipher.framework/sqlcipher #1091

Closed
Annabelle1024 opened this issue May 9, 2024 · 1 comment

Comments

@Annabelle1024
Copy link

Annabelle1024 commented May 9, 2024

The language of WCDB

Objective-C, Swift

The version of WCDB

v1.0.8.2

The platform of WCDB

iOS

The installation of WCDB

Cocoapods

What's the issue?

问题1: XCode升级到15.3以后, 使用force_load方式加载sqlcipher, 真机运行没问题, 打包时报错
Showing All Errors Only
Build input file cannot be found: '***(路径)/BuildProductsPath/DailyBuild-iphoneos/WCDBOptimizedSQLCipher/sqlcipher.framework/sqlcipher'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

问题2: 打包不成功后, 在runscript在output file中添加输出文件路径后, 打包成功, 可是数据库无法正常读取
image

求问有没有人解决过这个问题? 升级WCDB的话, 需要swift升级到5, 目前项目还使用的是4, 暂时无法进行这么大的改动

@Qiuwen-chen
Copy link
Collaborator

Can you give us a demo project to reproduce this problem?

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

2 participants