-
Notifications
You must be signed in to change notification settings - Fork 466
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
IndexError: list index out of range #240
Comments
Had this problem running ios-deploy 1.8.6 with iOS 10. Fixed it with this patch: |
@gusc how did you applied this patch? Could you please explain it to me? I'm having the same error on macOS Sierra |
@gusc it seems this is a file containing the code changes. you can apply them by changing the file yourself. This code change might be applied to this git repo soon (i hope).
Long version:
if len(args) > 1: it didn't fix my stuff (yet) though.. so still checking this out too |
It's easier than that:
Edit: To see if the patch was applied correctly type |
Thanks to https://github.com/gusc (Gusts Kaksis) for the patch.
Thanks @gusc - published 1.8.7 https://github.com/phonegap/ios-deploy/releases/tag/1.8.7 |
While fixing the crash this modification made it impossible to pass command line arguments to ios application. The lldb.py should read
instead of
|
@gusc can you comment on the above? |
I'd like to point out that original
|
Oh! Forget that last "to be honest" remark! Despite same name '{args}' has nothing to do with args[] in the expression in question. Sorry about confusion.... |
@shazron I just tried to make as small as possible fix for an issue when |
Alright, I'll file a new issue and put in @dot-asm's fix. I'll roll that in with the tvOS support pull request for 1.8.8 I agree, I'd rather the code be more explicit than clever :) |
1.9.0 published: https://github.com/phonegap/ios-deploy/releases/tag/1.9.0 |
Error:
Expected behavior
launch and connect
Actual behavior.
see error above
Steps to reproduce the problem
ios-deploy --debug --bundle
System Specs
Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.
the rest is under NDA
The text was updated successfully, but these errors were encountered: