Skip to content

File "diagramScriptTemplate" couldn't be opened #5

@mfclarke

Description

@mfclarke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions