swift-code-types-navigator icon indicating copy to clipboard operation
swift-code-types-navigator copied to clipboard

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

Open uagraw opened this issue 6 years ago • 3 comments

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: [email protected]

uagraw avatar Nov 29 '18 09:11 uagraw

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

yoshimkd avatar Nov 29 '18 10:11 yoshimkd

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.

uagraw avatar Nov 29 '18 10:11 uagraw

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?

yoshimkd avatar Nov 29 '18 11:11 yoshimkd