Skip to content

Failing xcodetestrun  #465

@fonkadelic

Description

@fonkadelic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions