(1)问题描述:真机和模拟器测试都能编译安装,但是需要打包archive的时候 总是编译出错
打印出来的错误:
ld: bitcode bundle could not be generated because '/Users/Kafeiguan/slovepoor_swift/solverpoor/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Base.framework/BaiduMapAPI_Base(BMSDKKeychainItemWrapper.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
(2)解决办法:
再archive一次就可以了