IOS APP引入微信SDK引发的 error: linker command failed with exit code 1 (use -v to see invocation)

吴统威 on 编程语言 SWIFT | 2015-11-09 23:18:38.0

在引入微信SDK后,打包app后,引发错误:

ld:bitcode bundle could not be generated because '/Users/Tonway/项目路径/libWeChatSDK.a(WXApiObject.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


我使用的IDE是XCODE7.1,修复这个问题其实,从bitcode这里着手,动作很简单就只需要将Build Settings中Enable Bitcode的值改为NO即可

1447083376021028511.jpg