danielpaulus / go-ios

This is an operating system independent implementation of iOS device features. You can run UI tests, launch or kill apps, install apps etc. with it.
MIT License
963 stars 182 forks source link

Tunnel failed to connect with iOS 18 device #471

Open mega6453 opened 2 months ago

mega6453 commented 2 months ago

Hi, Created tunnel using tunnel start --userspace command while connecting iOS 18 device, it throws below error. Launch command also fails. Tunnel Error : {"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2024-08-29T13:52:06+05:30","udid":"xxxxxxxxxxxxxxxxxx"}

Launch command error (mounted image successfully before launching):

{"level":"info","msg":"no udid specified using first device in list","time":"2024-08-29T13:51:09+05:30","udid":"00008030-001C35A634C1802E"} {"level":"warning","msg":"failed to get tunnel info","time":"2024-08-29T13:51:09+05:30","udid":"00008030-001C35A634C1802E"} {"err":"Could not start service:com.apple.instruments.remoteserver.DVTSecureSocketProxy with reason:'InvalidService'. Have you mounted the Developer Image?","level":"fatal","msg":"processcontrol failed","time":"2024-08-29T13:51:09+05:30"}

hakantektas commented 2 months ago

go-ios is not running

{"level":"warning","msg":"go-ios agent is not running. You might need to start it with 'ios tunnel start' for ios17+. Use ENABLE_GO_IOS_AGENT=yes for experimental daemon mode.","time":"2024-09-18T11:53:41+03:00"} {"level":"info","msg":"no udid specified using first device in list","time":"2024-09-18T11:53:41+03:00","udid":"00008101-000D29081442001E"} {"level":"info","msg":"Tunnel server started","time":"2024-09-18T11:53:41+03:00"} {"level":"info","msg":"start tunnel","time":"2024-09-18T11:53:42+03:00","udid":"00008101-000D29081442001E"} {"level":"info","msg":"connect to lockdown tunnel endpoint on device","time":"2024-09-18T11:53:42+03:00"}

hakantektas commented 2 months ago

@danielpaulus

PyroFilmsFX commented 1 week ago

@hakantektas how do you start the go-ios agent tho? i cannot seem to find that anywhere its quite unclear how to use this. as in the error output it shows to just "ios tunnel start" yet that is the exact command already ran?