ios - How to check a framework contains full bitcode? -
from xcode7, framework built app should have bitcode if want enable bitcode support app. i'd know way check whether framework project has bitcode or not. there similar question here (how check if framework bitcode supported xcode7), answers there checking bitcode of static libary file of .a or .o extention.
i want check existence of bitcode inside .framework package, , have been wondering there should way check on .swiftmodule files inside .framework package.
(one of reasons want know i'm trying support bitcode in own framework project, have never succeeded in doing since got missing-bitcode error when exported framework package app project , built app. thought it's nice have tool check directly rather knowing after embedding app project , building app.)
otool -l binary_name | grep __bitcode
you see 1 or more segname __bitcode
entries if have bitcode or empty output if not.
Comments
Post a Comment