-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
🔥 ⚠️ Error reading /.../evalXXX.sh, scanCommand: /.../command.sh #51
Comments
Hi, That is indeed a strange issue but it will be a lot easier to debug as you are using HotReloading. command.sh needs to have completed for evalN.sh to be created. It's just the grep of the build logs for the compile command. At this distance I can't say much more. It's strange that it should be iOS version dependant but as you can see there is a lot of quite low level stuff going on in the "runner" which is how HoReloading gets it's work done. |
Hi, I've finally been able to get to the bottom of this issue which occurs when you use a simulator < iOS14 on an M1/2 due to these simulators not having arm architecture available. I've tightened up error reporting and you should now see a warning to avoid this combination when using HotReloading. johnno1962/InjectionIII#417 (comment) |
Thank you very much, that would not be obvious to me! |
It wasn't obvious to me :) |
I'm using HotReloading straight from the
main
branch.I tried to use HotReloading in our project, and quite often I get error message.
I managed to reproduce the same on an empty project, seems to happen more frequent on iOS 12 than 13 (when testing on 13 I also bump the minimum deployment target).
When this error appears in the console, the file mentioned in the error does not exist (so e.g.
eval144.sh
is not present), just its.pl
version and thecommand.sh
file.When debugging
SwiftEval.swift
I can see thatreturn runner.run(script: cmdfile)
does returntrue
so all should be fine. When I runcommand.sh
manually, it does create mentionedeval144.sh
.What I also tried, was to put a breakpoint before
and at this point run
command.sh
from terminal, which does create the file. It does help in a sense that the error does not appear anymore (even for the next evaluations), but the app is not refreshed (i.e. my code changes are not taken into acccount).I also tried the standalone version of InjectIII app combined with https://github.com/krzysztofzablocki/Inject which seems to work fine.
Is there any other info I could provide to help debug the issue?
The text was updated successfully, but these errors were encountered: