How to check the bitcode type of xx.Framework/xx.lib is `-fembed-bitcode` or `-fembed-bitcode-marker`

125 views Asked by At

I use xcodebuild to build a framework, and I want to find a way to check the bitcode type is -fembed-bitcode or -fembed-bitcode-marker.

As you know, when bitcode type is -fembed-bitcode, the framework is full bitcode supported.

1

There are 1 answers

1
Michael Dautermann On

Use your xcodebuild command and add -showBuildSettings to the end.

Look at the results to see if you can find -fembed-bitcode, perhaps under OTHER_LDFLAGS.