go-ios
go-ios copied to clipboard
Screenshot Fails Due to Timeout
Hello,
I am encountering an issue while attempting to take a screenshot using the go-ios tool. The process consistently fails with a timeout error. Below are the relevant error messages from the logs:
{"channel_id":"com.apple.instruments.server.services.screenshot","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2024-09-20T17:35:20+09:00"} {"channel_id":"com.apple.instruments.server.services.screenshot","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"takeScreenshot","msg":"failed starting invoking method","time":"2024-09-20T17:35:26+09:00"} {"err":"TakeScreenshot: Timed out waiting for response for message:1 channel:1","level":"fatal","msg":"Taking screenshot failed","time":"2024-09-20T17:35:26+09:00"}
Steps to reproduce: Attempt to take a screenshot using the go-ios command. The process waits but eventually times out, resulting in the error above.
Issue: It appears that the TakeScreenshot method times out when waiting for a response, leading to the screenshot process failure.
Environment: Device: iPhone XS 17.4.1 go-ios version: v1.0.142
Please advise if there are any known issues or solutions to resolve this.
Thank you!