Open system1system2 opened 3 years ago
Hi, thanks for the detailed report. I'll have a look. But at first glance this seems like a problem inside the Shortcut app: at this point the code from a-Shell has not yet been executed. But it's still worth investigating.
Variations of this flow produce the same result. For example, by assigning the “Shortcut Input” value to a custom variable “URL” via “Set Variable”, and then writing the command “python3 test.py URL” .
Concatenating text directly in the input box is buggy even in iOS 14.
This fails:
This works:
Does something similar to the second work in iOS 15?
Same crash in iOS 15. I tried by concatenating Shortcut Input inside a text, and by assigning Shortcut Input to a variable first and then concatenating the variable inside a text.
And just to be clear: when I say "crash", I mean that the Shortcuts app is killed and you go back to the home screen.
I found a workaround that doesn't require any modification of the flow and no text concat:
python3 test.py
That's it. This time, mysteriously, Shortcuts won't crash when you try to exit or execute the shortcut just created.
Technically, it's not a fix. Just a workaround. Not sure if we want to close this issue.
I’m reporting this exclusively because the latest update (released 6h ago) reports an “iOS15 ready” status. Otherwise, I’d have no expectation that this would work until GA.
Steps to reproduce:
As soon as you try to exit the UI, for example by tapping on “My Shortcuts” or “Search for apps and actions”, Shortcuts will crash and the command at n4 will not be saved.
Variations of this flow produce the same result. For example, by assigning the “Shortcut Input” value to a custom variable “URL” via “Set Variable”, and then writing the command “python3 test.py URL” .
The crash happens both on iPhone and iPad updated to the latest iOS 15 beta.