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 properly setup libssh #36

Closed
jandolina opened this issue Oct 24, 2019 · 7 comments
Closed

Unable to properly setup libssh #36

jandolina opened this issue Oct 24, 2019 · 7 comments

Comments

@jandolina
Copy link

This lib looks rad but I am stuck on square one. What is the proper way to add libssh to my Xcode project so that Shout can find it?

@DomAmato
Copy link

DomAmato commented Nov 6, 2019

Goona echo this, I believe its expecting a package manager in order to install libssh2 but some documentation around how to do this without a package manager would be nice.

@CASNetlink
Copy link

Similar problem here. When I compiled my project XCode suggested I run 'brew install libssh2'. I did that and if I re-run that command it's telling me it is installed - 'libssh2 1.9.0_1 is already installed and up-to-date'. When compiling my app the error is 'libssh2.h' file not found. The libssh2.h is an include line in shim.h. I did add the include and lib paths for libssh2 to my project config but still no joy.

@CASNetlink
Copy link

A little more searching and messing about and I got my project to compile. I re-installed the command line tools, ran 'brew unlink libssh2 && brew link libssh2' and then closed and re-opened XCode and the compile worked.

@Klariff
Copy link

Klariff commented Nov 27, 2019

image

yeah, somehow got using local macos libssh2, any idea?

@heidipuk
Copy link

just gonna give this a bump, since it is still an issue

@jakeheis
Copy link
Owner

jakeheis commented Apr 30, 2020

See #34 (comment) -- if this does indeed fix the issue, I'll add instructions to the README how to fix this bug with Swift 5.2. The lib is only designed to work for macOS, however, so I wouldn't expect this to work in projects targeting iOS

@jakeheis
Copy link
Owner

Added instructions to README -- if any follow up is needed, I'll keep #34 open

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

6 participants