1

I have a .framework file which was built using some c++ standard. Is there any way to find out which c++ standard was used to build them? (Like c++11 or earlier).

I have tried the otool command but it doesn't work. Is there any way to do it?

For reference: What exactly is a Framework in Mac OS X? ( *.framework folders )

Community
  • 1
  • 1
user007
  • 2,156
  • 2
  • 20
  • 35

1 Answers1

1

The 'oTool' command does not run on .framework file but it runs on the executable file inside the .framework.

So, passing the -L flag prints the shared libraries used in the .framework.

oTool -L filePath will return a list of libraries, one of them will be libc++ or libstdc++ depending on the C++ version used.

user007
  • 2,156
  • 2
  • 20
  • 35