How to check a static library is built contain bitcode?

前端 未结 5 1045
旧巷少年郎
旧巷少年郎 2020-12-07 11:59

I have a static library that is built by other company. I want to know if it\'s a static library containing bitcode, which command can detect it in terminal?

5条回答
  •  执念已碎
    2020-12-07 12:25

    You can try: otool -l (.o or .a file)

    and look for "__bitcode" section

    It was answered here: How do I xcodebuild a static library with Bitcode enabled?

提交回复
热议问题