Open jpalten opened 6 years ago
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?
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.
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.
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.
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.
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?