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

SwiftSH in iOS Simulator #11

Open
jpalten opened this issue Jun 18, 2018 · 5 comments
Open

SwiftSH in iOS Simulator #11

jpalten opened this issue Jun 18, 2018 · 5 comments

Comments

@jpalten
Copy link
Contributor

jpalten commented Jun 18, 2018

For some reason SwiftSH won't run in the simulator on my machine. Any idea why not? Does that work on your machine? Any ideas how to fix that?

@Frugghi
Copy link
Owner

Frugghi commented Jun 18, 2018

The binary of libssh2 included in this repo doesn't include i386 architecture, maybe that's the issue? Are you able to compile and run on the simulator the example included in the repo?

@jpalten
Copy link
Contributor Author

jpalten commented Sep 5, 2018

I tried the sample in the repo, same issue. I recompiled the libssh2 to include i386 and all is fine now.
I did find some problems when there are multiple connections running at the same time, and tried to debug that. Found out that the write event doesn't always happen, which is odd.

Only in simulator though, on the device there seems to be no issue.

@Frugghi
Copy link
Owner

Frugghi commented Sep 5, 2018

Are you using an iPhone 5 or earlier simulator? I can recompile the library including i386, I excluded it just to speed up the compilation and to reduce the library size.

@jpalten
Copy link
Contributor Author

jpalten commented Sep 5, 2018

I'm using the iPad Air 2 (10.0) simulator.
It would be nice to include i386 in the library to be able to use SwiftSH in the simulator out-of-the-box.

@jpalten
Copy link
Contributor Author

jpalten commented Oct 9, 2018

I can recompile the library including i386, I excluded it just to speed up the compilation and to reduce the library size.
It would be great if you could do that.

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

2 participants