I had a similar error in a different project, after upgrading MacOS (and Swift to Swift 5?). Solved it by deleting .build directory, and re-building the project. Did you try the example project github.com/onderweg/swift-from-go ?
.build
I've tried your solution but for some reason it doesn't seem to work
all the time it reports error image missing or something like that
then i've stumbled upon this article
ardanlabs.com/blog/2013/08/using-c...
figured out .dylib is missing
and then added it like this:
go run -exec "env LD_LIBRARY_PATH=/Users/vjeranfistric/go/src/github.com/vjerci/swift-from-go" main.go
or packing it into folder like this
swift-from-go.app/Contents/Frameworks/libgo_swift.dylib
It did the trick for me
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I had a similar error in a different project, after upgrading MacOS (and Swift to Swift 5?). Solved it by deleting
.build
directory, and re-building the project.Did you try the example project github.com/onderweg/swift-from-go ?
I've tried your solution but for some reason it doesn't seem to work
all the time it reports error image missing or something like that
then i've stumbled upon this article
ardanlabs.com/blog/2013/08/using-c...
figured out .dylib is missing
and then added it like this:
or packing it into folder like this
It did the trick for me