gpt4 book ai didi

linker - XCode5 链接 Testflight SDK 库

转载 作者:行者123 更新时间:2023-12-03 23:06:33 25 4
gpt4 key购买 nike

我想在我的项目中使用 libTestFlight.a 库,我已经在“Link Binaries With Libraries”中导入它,也在构建阶段,我尝试添加“搜索路径”和“标题路径”,我也尝试更改 拱门 标准架构(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 作为 Link Binary With Libraries。

Build Phases > Link Binary With Libraries > 按 + 按钮 > 搜索 libz.dylib 并选择它 > 按 Add 按钮。

关于linker - XCode5 链接 Testflight SDK 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21153286/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com