swift-code-types-navigator
swift-code-types-navigator copied to clipboard
File "diagramScriptTemplate" couldn't be opened
Hi, I'm trying to get this working for the first time on one of my swift projects, but it crashes when executed. Here's the output:
> .build/debug/SwiftDiagramGenerator "~/Development/iOS/MyProject/Classes"
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “diagramScriptTemplate” couldn’t be opened because there is no such file." UserInfo={NSFilePath=~/Development/iOS/MyProject/Classes/Visualization/diagramScriptTemplate, NSUnderlyingError=0x7fe62a767e70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file /Users/<me>/Development/iOS/swift-code-types-navigator/Sources/SwiftDiagramGenerator/main.swift, line 20
[1] 2032 illegal hardware instruction .build/debug/SwiftDiagramGenerator "~/Development/iOS/MyProject/Classes
I am executing from the root of the swift-code-types-navigator project.
The first parameter has to be a period (.
). I'm not sure why or what it does, but that's what the documentation specifies.