Get "headers" from a compiled .framework


So, I can do the following:

  • Compile a .framework via Xcode
  • Copy the compiled .framework somewhere else
  • Start a new Xcode project
  • Drag the compiled .framework in my project
  • import it
  • Type out some function that the framework contains
  • Command-Click on that function call to see the declaration

And then I see some kind of "fake header" that's swift notation but not really actual valid Swift.

Now I wonder: How can I view these fake headers using the command line instead of Xcode?

Thank you in advance for your answers,

best regards,