(1)問題描述:真機(jī)和模擬器測(cè)試都能編譯安裝,但是需要打包archive的時(shí)候 總是編譯出錯(cuò)
打印出來(lái)的錯(cuò)誤:

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一次就可以了