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

Getting error upon running 'swift build' command from project's root directory #2

Open
uagraw opened this issue Nov 29, 2018 · 3 comments

Comments

@uagraw
Copy link

uagraw commented Nov 29, 2018

Hi Team,

I'm getting below error upon running the 'swift build' command from project's root directory

error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/utkagraw/Documents/bbbiOS-swiftTools/swift-code-types-navigator/.build/debug.yaml main
WKMIN7458617:swift-code-types-navigator utkagraw$ .build/debug/SwiftDiagramGenerator . ~/Documents/bbbiOS_swiftTools/bbbiOS
-bash: .build/debug/SwiftDiagramGenerator: No such file or directory

Please advice that what could be issue here.

Thanks!

Cc: abhinav.kumar4@sapient.com

@yoshimkd
Copy link
Owner

Hello,

Can you please confirm that you're running the command from this project's directory, not the one you're trying to create the diagram for?

Best Regards,
Jovan

@uagraw
Copy link
Author

uagraw commented Nov 29, 2018

screen shot 2018-11-29 at 4 00 12 pm

screen shot 2018-11-29 at 3 56 51 pm

Please refer to the above screenshots, so as to confirm you that I'm running the 'swift build' command from 'swift-code-type-navigator' folder which is basically this project's directory.

@yoshimkd
Copy link
Owner

It looks like the command is run from this project's directory. The build seems to be failing when attempting to compile the Bocho dependency (https://github.com/yanagiba/bocho). Swift 4.2 is required by Bocho. Can you confirm you have the latest Swift build tools installed?

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

2 participants