0

I am playing around with otool now for hour, but I didn't figure out how to get infos, if a binary is bitcode enabled.

It tried the following:

First I build a simple iOS app and run:

otool -arch arm64 -l testApp1 | grep bitcode

After that I downloaded a binary framework from kontakt.io. I am sure that there bitcode is enabled. So I tried:

otool -arch arm64 -l KontaktSDK | grep bitcode

I also got no infos back. Do I something wrong? Is this a bug with the new Xcode8?

The reason why I play around with this is, that I have build a binary framework and I don't know why sometimes the framework is fully bitcode enabled and sometimes it isn't.

Pramod Gharu
  • 1,105
  • 3
  • 9
  • 18
patrickS
  • 3,590
  • 4
  • 29
  • 40

1 Answers1

2

According to this answer there's two possible things to check, bitcode and __LLVM.

When I download the KontaktSDK, I can do this:

[.../KontaktSDK.framework]:;otool -arch arm64 -l KontaktSDK | grep __LLVM
  segname __LLVM
   segname __LLVM
Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215