Today, when compiling the code developed on iOS, the following error occurred:
xxxx.o does not contain bitcode. You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)
After searching on Baidu, I found out that starting from Xcode 7.0, Bitcode mode is enabled by default. Many old static libraries cannot support Bitcode due to compilation issues and need to be recompiled in order to be used.
If you don't want to recompile, you just need to disable Bitcode.
Follow these steps: Go to Targets -> Build Settings -> Build Options and set Enable Bitcode to NO.
Reference: http://www.cocoachina.com/ios/20150817/13078.html