Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift-dump : command not found #3

Open
iOS-Nishant opened this issue Jan 31, 2017 · 2 comments
Open

swift-dump : command not found #3

iOS-Nishant opened this issue Jan 31, 2017 · 2 comments

Comments

@iOS-Nishant
Copy link

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

error terminal

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).
error file

Am I missing something here?

@mxms0
Copy link
Owner

mxms0 commented Jan 31, 2017

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.

@alokc83
Copy link

alokc83 commented Sep 5, 2018

@iOS-Nishant : .app is container. actual binary is in .app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants