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

lib_InternalSwiftSyntaxParser error on Xcode exec run #148

Closed
KillianSmith0 opened this issue Jul 31, 2020 · 2 comments
Closed

lib_InternalSwiftSyntaxParser error on Xcode exec run #148

KillianSmith0 opened this issue Jul 31, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@KillianSmith0
Copy link

Hey,

Trying to get the dev environment up and running.
I've been running through command line via swift run swift-doc but would be nice to be able to stepthrough Xcode and debug.

When trying to run the exec through Xcode, I receive this error.

dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib  
Referenced from: ~/pwd/swift-doc/DerivedData/build/Debug/swift-doc   
Reason: image not found

Any ideas? Is it because the lack of arguments?

Environment

Xcode: 11.5
Swift: 5.2.4

Thanks in advance
Killian

@mattt
Copy link
Contributor

mattt commented Jul 31, 2020

Hi @KillianSmith0. This issue is discussed in #60, with a workaround suggested by @kean to set the DYLD_LIBRARY_PATH environment variable.

@mattt mattt added the duplicate This issue or pull request already exists label Jul 31, 2020
@mattt
Copy link
Contributor

mattt commented Jun 1, 2021

See #60 (comment)

@mattt mattt closed this as completed Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants