I am using xcode 15 beta and ios 17 beta 6 and experiencing a bug where the key UseDestinationArtifacts does not work when used in an xctestrun file to execute the test with the test-without-building flag.
When I set the UseDestinationArtifacts key to true in my xctestrun file and run the tests with the test-without-building flag, Xcode throws the below error
Testing failed:
Application Bundle Not Found
Runner encountered an error (Failed to install or launch the test runner. (Underlying Error: Application Bundle Not Found. Configure the path to a bundle to be installed on the device.))
**UseDestinationArtifacts works smoothly on **
xcode version<15
xcode 15 + ios 16
I have attached a reproduction of the bug.
Steps to reproduce:
Update below keys in xctestrun file
remove DependentProductPaths, TestHostPath, UITargetAppPath
Add UseDestinationArtifacts, TestBundleDestinationRelativePath, UITargetAppBundleIdentifier
Selecting any option will automatically load the page