class-dump-swift
class-dump-swift copied to clipboard
swift-dump : command not found
Hi Max,
I tried running $ swift-dump myTest.app -o dumpDir
, but got command not found.
I could not find any swift-dump binary after make. So I copied the swiftd binary into /usr/local/bin .
Then I tried running $ swiftd myTest.app -o dumpDir
and got following error
When I went to given error address in my system, I found the same error detail in line 253 of file (See above and following image for details).
Am I missing something here?
I tried running $ swift-dump myTest.app -o dumpDir , but got command not found.
You run this on a binary, not on a .app. swiftd myTest.app/binary -o dumpDir
.
The output binary is swiftd
, not swift-dump
. The error you are getting has to do with the fact that youre providing a directory to swiftd and not a mach-o binary.
@iOS-Nishant : .app is container. actual binary is in .app