I recently downloaded Xcode 7 beta, and Xcode complains about some of my C libraries not being compiled into BitCode. How would I go about telling Clang to produce BitCode t
Go the Build Settings. Search for "custom compiler flags".
Add -fembed-bitcode to Other C Flags.
This will ensure that the lib is built with bitcode compatibility at compile time. I made this for iOS 64 bit and 32 bit, and lipo'd them into one.
Works like a charm.
Since you guys had queries, here's a screenshot of the settings: The settings are same for the project target and the SDK target.
The bitcode lib will not work with Xcode 6.