Codesigning WedriverAgent Everytime

Im able to automate iOS 11 using XCUITest successfully in my local after successfully codesigning wda. Now i want to run the same tests in my colleagues machine so do i need to do codesign wda in his machine again?

Yes, you would need to resign WDA and rebuild it if you want to use on other machine

Okay. We have mac build machine where nightly builds are executed. So according to you i need to do codesign again there ?

Yes you will need to.