Get the serialised text representation of a swiftmodule

Hi, I'd like to view the "swift headers" of a swift module. I have found this older thread:

Is there anything that has changed? Ideally it would be a command line tool .. I am interested in the Mac only so and xcodebuild command would also be fine.

1 Like

You can still build and use swift-ide-test as mentioned in the original post.

thank you, i think i will have to do that. Btw. are there compiled binaries of those tools? i downloaded the Toolchains .pkg from Swift.org - Download Swift but it did not include swift-ide-test. Building is rather complex and currently failing for me, I'd rather not have to do it.

That tool does not ship as part of the toolchain so you currently have to build it yourself.