Trying to run xcodebuildForTest in combination with xcodetestrun fails for me with the following error:
Execution failed for task ':xcodetestrun'.
> Command failed to run (exit code 1): '/Applications/Xcode-14.3.0.app/Contents/Developer/usr/bin/xcresulttool get --format json --path /project/build/derivedData/Logs/Test/Test-UITestingApp-2023.06.01_11-41-26-+0200.xcresult'
Tail of output:
error: Info.plist at /project/build/derivedData/Logs/Test/Test-UITestingApp-2023.06.01_11-41-26-+0200.xcresult/Info.plist does not exist, the result bundle might be corrupted or the provided path is not a result bundle
Looking at the implementation of XcodeTestRunTask i've noticed that this task removes the logs directory which seems to be required.
Was there a specific reason to remove this directory?
Trying to run
xcodebuildForTest
in combination withxcodetestrun
fails for me with the following error:Looking at the implementation of
XcodeTestRunTask
i've noticed that this task removes the logs directory which seems to be required.Was there a specific reason to remove this directory?