Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib after homebrew install #197

@MattKiazyk

Description

@MattKiazyk

While related to #60 I'm just simply trying to run generate on the command line after install, so I thought I'd create a new ticket.

Steps:

  • Xcode 12.0.1 or 12.0
  • Installed beta-5 via homebrew brew install swiftdocorg/formulae/swift-doc
  • ran swift doc generate -f html ... via command line

received:

dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /usr/local/bin/swift-doc
  Reason: image not found

I did not receive this on beta-4 or earlier, granted I had been building it locally when I was making changes, so perhaps that stopped it from happening.

The workaround is to make sure I have my Xcode 12 named Xcode.app. and not Xcode-12.0.1. Once that occurs, and I set my command tools to that - it does not receive that error (albeit getting the #196 issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions