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
873 stars 172 forks source link

runwda fails on iOS 17, please help #409

Open asolanki-in opened 2 months ago

asolanki-in commented 2 months ago

Describe the bug

ios runwda --bundleid=com.extrabits.WebDriverAgentRunner.xctrunner --testrunnerbundleid=com.extrabits.WebDriverAgentRunner.xctrunner --xctestconfig=WebDriverAgentRunner.xctest

Failed running WDA

{"level":"info","msg":"no udid specified using first device in list","time":"2024-06-02T18:52:31+05:30","udid":"00008030-0016492934F2402E"} {"bundleid":"com.extrabits.WebDriverAgentRunner.xctrunner","level":"info","msg":"Running wda","testbundleid":"com.extrabits.WebDriverAgentRunner.xctrunner","time":"2024-06-02T18:52:31+05:30","xctestconfig":"WebDriverAgentRunner.xctest"} {"error":"Could not start service:com.apple.testmanagerd.lockdown.secure with reason:'InvalidService'. Have you mounted the Developer Image?","level":"fatal","msg":"Failed running WDA","time":"2024-06-02T18:52:31+05:30"}

iOS : 17.4.1

To Reproduce Steps to reproduce the behavior:

  1. Run above command
  2. See error

Expected behavior webdriveragent should get launched

Smartphone (please complete the following information):

I am doing something wrong or still goios is supposed to fix with iOS 17 issues?

DragonClub commented 1 month ago

After “ios tunnel start”, try “ios image auto”.