xcode8集成百度地图(framwork包) archive是bitcode问题

时间:2021-05-16 18:29:22

(1)问题描述:真机和模拟器测试都能编译安装,但是需要打包archive的时候 总是编译出错,眼看就要上线了,还出现这问题,纠结啊....

打印出来的错误:

ld: bitcode bundle could not be generated because '/Users/hcc/code/ios_workplace/Myapp/platforms/iOS/HelloCordova/BaiduMapAPI/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

(2)解决办法:

xcode8集成百度地图(framwork包) archive是bitcode问题