Worked! Thank you.
Have to activate springboard before tapping Allow
let springBoard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
springBoard.activate()
My UI tests on iOS require few commands to be executed on host Mac Terminal during execution.
I am trying to achieve this via Bonjour Services where my UI Test on iOS will connect to the Bonjour service on host Mac and send commands to be executed.
Is there any workaround to run Bonjour services within UI Test Bundle ?
Worked! Thank you.
Have to activate springboard before tapping Allow
let springBoard = XCUIApplication(bundleIdentifier: "com.apple.springboard")
springBoard.activate()
My UI tests on iOS require few commands to be executed on host Mac Terminal during execution.
I am trying to achieve this via Bonjour Services where my UI Test on iOS will connect to the Bonjour service on host Mac and send commands to be executed.
Is there any workaround to run Bonjour services within UI Test Bundle ?