【发布时间】:2014-02-04 20:36:06
【问题描述】:
我想在我的项目中使用 libTestFlight.a 库,我已经在“Link Binaries With Libraries”中导入它,也在构建阶段,我尝试添加“Search Path”和“Header Path",我也尝试将 ARCH 更改为 Standard architectures (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)
【问题讨论】:
标签: linker xcode5 static-libraries testflight