xcode换新版本,原来工程编译报错:linker command failed with exit code 1(use -v to see invocation)

来源:互联网 发布:mac pdf preview 编辑:程序博客网 时间:2024/06/04 18:36

xcode换新版本后,原来的工程报如下错误,

ld: '/Users/tangzhi/Desktop/项目代码/iOS蓝牙key代码/HtUseKey/HtUseKey/libHTMkey.a(bio_lib.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)


解决方法:

build setting 搜bitcode 改成No

0 0
原创粉丝点击