Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run with error "Reason: image not found" #399

Closed
shtnkgm opened this issue Sep 7, 2021 · 2 comments
Closed

Unable to run with error "Reason: image not found" #399

shtnkgm opened this issue Sep 7, 2021 · 2 comments

Comments

@shtnkgm
Copy link

shtnkgm commented Sep 7, 2021

When I run mint run periphery command in my environment, I get the following error message and cannot run periphery.
Is there any solution to this problem?

% mint run periphery                   
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /usr/local/lib/mint/packages/github.com_peripheryapp_periphery/build/2.8.1/periphery
  Reason: image not found
zsh: abort      mint run periphery

Environment

  • periphery: 2.8.1
  • macOS: Big Sur 11.4
  • Xcode: 12.5
  • Swift: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
  • mint: 0.16.0

Relevant Issues

@ileitch
Copy link
Contributor

ileitch commented Sep 13, 2021

It appears that Periphery is not longer compatible with Mint, because Mint does not bundle lib_InternalSwiftSyntaxParser.dylib into the installation directory. Here's a similar issue: yonaskolb/Mint#211. It also looks like Mint development has stalled, it's almost 1 year since the last release.

I'm sorry but I think the only option here is to use SPM directly, or use the prebuilt binary releases.

@mthole
Copy link

mthole commented Feb 4, 2022

@ileitch FWIW, it seems like mint is working nicely with periphery again. Without having seen the deprecation of mint, I used it today to install a specific SHA of periphery for testing the SPM local packages branch. The mint install worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants