How to check a static library is built contain bitcode?
As it was alread written in other answers, otool -l yourlib.a | grep __LLVM is the way to go. An Apple engineer says using otool -l yourlib.a | grep bitcode is not reliable. Searching for a “bitcode” section is not a reliable way to detect if your files contain embedded bitcode. If you want to … Read more