我想在我的项目中使用libTestFlight.a库,我已经将其导入“Link Binaries With Libraries”,也在构建阶段,我尝试添加“搜索路径”和“标题路径”,我也尝试更改ARCH到标准架构(armv7,armv7s),但还是没有运气,它总是给出这个错误:
Undefined symbols for architecture armv7: "_deflate",referenced from: __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o) "_deflateInit_",referenced from: __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o) "_deflateEnd",referenced from: __tf_remote_log_compress_data in libTestFlight.a(tf_remote_log_io.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方法
添加libz.dylib作为链接二进制与库.
建造阶段>链接二进制与库>>按下按钮>搜索libz.dylib并选择它>按“添加”按钮.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。