可能大家做项目的时候会遇到这个错误,故此我分享一下。
····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 arm64
这个其实项目中的某个二进制库不支持bitcode.而Xcode默认是要支持bitcode的,而且如果支持的话,其中所有的二进制库和framework都必须包含bitcode.
至于什么二进制库,我目前发现的有百度map,友盟老一点的版本都不支持。
因此我们关掉bitcode就好