ld: bitcode bundle could not be generated because '/Users/karen/Desktop/******/Tools/umeng_ios_social_sdk_4.2.5_arm64_custom/UMSocial_Sdk_4.2.5/libUMSocial_Sdk_4.2.5.a(UMSocialHTTPRequestOperation.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
libUMSocial_Sdk_4.2.5.a第三方库不包含bitcode
BitCode?
bitcode是被编译程序的一种中间形式的代码。包含bitcode配置的程序将会在App store上被编译和链接。bitcode允许苹果在后期重新优化程序的二进制文件,而不需要重新提交一个新的版本到App store上。
如果一个工程里面有静态库的引用,那么所有的静态库也需要打开Bitcode后重新编译。
Bitcode. When you archive for submission tothe App Store, Xcode will compile your app into an intermediate representation.The App Store will then compile the bitcode down into the 64 or 32 bitexecutables as necessary.
解决办法:
将enable关掉
给静态库的工程增加一个选项“-fembed-bitcode”