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

Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib #366

Closed
FranzBusch opened this issue Oct 22, 2020 · 4 comments · Fixed by #367
Closed

Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib #366

FranzBusch opened this issue Oct 22, 2020 · 4 comments · Fixed by #367
Assignees
Labels
Bug Something isn't working

Comments

@FranzBusch
Copy link
Contributor

When trying to run needle's latest release 0.16.0 we see an error that it can't find the SwiftSyntaxParser.dylib. The same was happening with mockolo at some point and mockolo is shipping the dylib with its release. The solution is probably to ship the dylib with the releases inside the Generator/bin folder. Or do you have another solution in mind?

We are looking forward to using the SwiftSyntaxParser implementation but this currently blocks updating for us.

Mockolo issue: uber/mockolo#108

@rudro
Copy link
Contributor

rudro commented Oct 22, 2020

How are you running the needle binary? Building from source or using something like brew install needle? @tianskylan is looking in to this right now (we have to deal with the issue for our setup as well)

@tianskylan
Copy link
Contributor

@FranzBusch Exactly, shipping the dylib with the binary is probably the best solution. I broke the release yesterday, and will try to fix it today. You are very fast at updating :) Stay tuned.

@rudro I did not publish the update to Homebrew yesterday, knowing that I haven't solved the dylib issue yet.

@tianskylan tianskylan added the Bug Something isn't working label Oct 22, 2020
@tianskylan
Copy link
Contributor

v0.16.1 should've fixed the problem.

@FranzBusch
Copy link
Contributor Author

Thanks a lot for the fast response and fix! @tianskylan and @rudro

We were very happy when we saw your SwiftSyntax migration and wanted to update immediately ;) We were running in a lot of timeout issues before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants