How do I install the XCUITest runner app and ipa on a real device and get the results?
I have a runner.app that was generated by building it for testing, and a deplo
You can use bundleId :
let app = XCUIApplication(bundleIdentifier: "yourapp.bundle.id")
Edited with answer...
It is possible to achieve this. In order to build an ipa of the UI Testing app bundle you can follow these steps:
Find [your_ui_test_bundle_name].app file in Derived Data.
Create a directory named Payload case sensitive and it must be named this.
Now you have you UI test bundle application saved as an ipa. You can also upload this ipa to a device manually in Xcode via the following process (bonus info, yay!)
Credit where it is due: https://medium.com/ios-os-x-development/how-to-run-your-iphone-test-on-aws-device-farm-98f18086811e