-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
iPhone support #1
Comments
Hi @NICHOLAS85 ! Thank you for report! |
@NICHOLAS85 try this please. Here is statically linked portable zsh:
Is it working for you? |
After upgrading and installing the
|
Thank you for test! Do you know any ways to repeat the issue without having Jailbroken iPhone? Short search for dockerized solution gives not so enough info. I see the one way: build zsh on iPhone. You could try to do it using similar instructions as in zsh-portable Dockerfile for ubuntu or alpine or in zsh-bin with musl. The first way is more simpler than second. If you'll get success share the result and I add it as |
I’ll try to build a portable binary at some point in the future. At the moment I am limited in space on my Phone and may not be able to install all the build requirements. Alternatively there is a compiled Zsh package I could install via my package manager on my iPhone. It’s not portable or self contained like the binaries you linked so I don’t think it’d be useful for xxh but I’d like to know if I would still be able to connect to this device and have a familiar Zsh environment provided by xxh using the locally installed Zsh. |
As I understand you want to install zsh on iPhone manually and then you want to connect using xxh? Am I right? The second way is to fork |
Hey @NICHOLAS85 ! You can try new portable zsh build for darwin:
It it works for you we can pack it as xxh-shell. |
I get a
|
@romkatv please take a look. |
This will install zsh-bin for Darwin x86_64. Naturally, it'll only work on x86_64. Given that iPhone has ARM CPU, it won't work there. Note that these instructions aren't from https://github.com/romkatv/zsh-bin#installation. Here's what you would get if you follow the official instructions on a jailbroken iPhone:
There is no released binary for jailbroken iPhone. |
Here is a repo which let's you build Zsh for iOS: https://github.com/ProcursusTeam/Procursus |
The message moved to #4 There is not only an iPhone issue - I have an issue while connecting into Ubuntu Server 20.10 running on Raspberry Pi 4 Model B Rev 1.2 (aarch64)
|
Is your feature request related to a problem? Please describe.
I am currently attempting to connect to a Jailbroken iPhone but am greeted with the following error:
Something went wrong while running zsh on host: ./zsh.sh: line 11: ./zsh: cannot execute binary file: Exec format error ./zsh.sh: line 12: ./zsh: cannot execute binary file: Exec format error
Describe the solution you'd like
If it were possible to detect the correct architecture and use the correctly built zsh executable to run I believe this issue would go away.
For community:
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: