Skip to content
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

IOS ps command gives index out of range error #484

Open
Selahattinn opened this issue Sep 26, 2024 · 0 comments
Open

IOS ps command gives index out of range error #484

Selahattinn opened this issue Sep 26, 2024 · 0 comments

Comments

@Selahattinn
Copy link

Describe the bug
when I try to execute command it gives error

Screenshots
image

Desktop (please complete the following information):

  • OS: [MacOS-14.4.1,m1Pro-Yonga]

Smartphone (please complete the following information):

  • Device: [e.g. IPAD PRO]
  • OS: [e.g. IOS16.7.8]

Additional context

ios ps --udid a35ccaa460da7225f45b95b39fbcbda0c7ec9ebe
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"runningProcesses","msg":"failed starting invoking method","time":"2024-09-26T08:54:49Z"}
panic: runtime error: index out of range [0] with length 0


goroutine 1 [running]:
github.com/danielpaulus/go-ios/ios/instruments.DeviceInfoService.ProcessList({0xc0004064e0, 0xc000406120})
	/home/runner/work/go-ios/go-ios/ios/instruments/instruments_deviceinfo.go:26 +0x137
main.processList({0x2, {0xc000306938, 0x8}, {0x1c9c3800, {0xc000306a50, 0x3}, 0x2, 0x10005, 0x12ab, {0xc000026840, ...}}}, ...)
	/home/runner/work/go-ios/go-ios/main.go:1618 +0xe8
main.Main()
	/home/runner/work/go-ios/go-ios/main.go:414 +0x41bf
main.main()
	/home/runner/work/go-ios/go-ios/main.go:57 +0x17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant