Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing xcodetestrun #465

Open
fonkadelic opened this issue Jun 1, 2023 · 0 comments
Open

Failing xcodetestrun #465

fonkadelic opened this issue Jun 1, 2023 · 0 comments

Comments

@fonkadelic
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant