How to invoke the webdriver agent Automatically during runtime


I am trying to run my script in an iOS simulator and a real device, I have followed all the steps mentioned in the below forum

but still, it is not working, if I invoke the web driver agent manually that time my script works fine

I think there is a bit of a communication issue here. There are many of us who build WDA manually, but when run tests it installs fine and tests run automatically.

Are you saying that you need to build manually every time you run tests? Or is it that you just don’t want to do the manual setup ever?

I’m sorry if you think I’m not trying to help. I really am looking for clarification on your question. I won’t bother you further.