Hive
tuist inspect test reports missing Info.plist in xcresult bundle
GitHub issue · Open
What happened?
when tuist inspect test runs as post-action script from generated Xcode project, the command fails with the following error:
2026-10-13T15:46:15Z] [debug] [Noora] Error alert: ✖ Error
- Message: The xcresult bundle at /Users/<REDACTED>/Library/Developer/Xcode/DerivedData/<REDACTED>-glomwrsdfgypcnfcytnnkueifevu/Logs/Test/Test-WorkspaceUnitTests-2026.10.13_11-45-24--0400.xcresult is missing 'Info.plist' — xcodebuild did not finish populating it (the test action was likely interrupted or failed before producing results). Skipping upload.
- Takeaways:
- If the error is actionable, address it
- If the error is not actionable, let's discuss it in the (Troubleshooting & how to)
- If you are very certain it's a bug, (file an issue)
- Check out the logs at /Users/<REDACTED>/.local/state/tuist/sessions/6E7CEB6E-05E1-46A8-8012-C947F98BF70C/logs.txt
running tuist inspect test in terminal after the Xcode finished testing works and correctly sends the logs to the server.
printing the contents of the .xcresult bundle right before tuist inspect runs reveals that Xcode still has “Staging” directory where it seems Xcode writes temp files before finalizing the bundle.
Is there anything that needs to be done on our side? couldn’t find anything in the documentation
worth pointing out that the scheme is used in testing simply uses Xcode Test Plan, so there is no reference target from which env variables are forwarded to the script
How do we reproduce it?
Test Action post-action is defined as following:
.executionAction(
title: "Tuist: Inspect Test Results",
scriptText: """
REPO_DIR="$(dirname "${WORKSPACE_PATH}")"
~/.local/bin/mise exec -C "$REPO_DIR" -- tuist inspect test --verbose
""",
target: nil
)
Error log
2026-10-13T15:46:15Z] [debug] [TuistInspectCommand] Inspect test: base path is /Users/<REDACTED>/Desktop/ios
[2026-10-13T15:46:15Z] [debug] [TuistInspectCommand] Inspect test: workspace path from environment is /Users/<REDACTED>/Desktop/ios/<REDACTED>.xcworkspace
[2026-10-13T15:46:15Z] [debug] [TuistInspectCommand] Inspect test: project path resolved to /Users/<REDACTED>/Desktop/ios/<REDACTED>.xcworkspace
[2026-10-13T15:46:15Z] [debug] [TuistInspectCommand] Inspect test: derived data directory resolved to /Users/<REDACTED>/Library/Developer/Xcode/DerivedData/<REDACTED>-glomwrsdfgypcnfcytnnkueifevu
[2026-10-13T15:46:15Z] [debug] [TuistXCResultService] Test log manifest found at /Users/<REDACTED>/Library/Developer/Xcode/DerivedData/<REDACTED>-glomwrsdfgypcnfcytnnkueifevu/Logs/Test/LogStoreManifest.plist
[2026-10-13T15:46:15Z] [debug] [TuistXCResultService] Test log manifest contains 3 log(s)
[2026-10-13T15:46:15Z] [debug] [TuistXCResultService] Most recent test log: Test-WorkspaceUnitTests-2026.10.13_11-45-24--0400.xcresult, timeStoppedRecording=813599175.125757
[2026-10-13T15:46:15Z] [debug] [TuistInspectCommand] Inspect test: using result bundle at /Users/<REDACTED>/Library/Developer/Xcode/DerivedData/<REDACTED>-glomwrsdfgypcnfcytnnkueifevu/Logs/Test/Test-WorkspaceUnitTests-2026.10.13_11-45-24--0400.xcresult
[2026-10-13T15:46:15Z] [debug] [Noora] Error alert: ✖ Error
- Message: The xcresult bundle at /Users/<REDACTED>/Library/Developer/Xcode/DerivedData/<REDACTED>-glomwrsdfgypcnfcytnnkueifevu/Logs/Test/Test-WorkspaceUnitTests-2026.10.13_11-45-24--0400.xcresult is missing 'Info.plist' — xcodebuild did not finish populating it (the test action was likely interrupted or failed before producing results). Skipping upload.
- Takeaways:
- If the error is actionable, address it
- If the error is not actionable, let's discuss it in the (Troubleshooting & how to)
- If you are very certain it's a bug, (file an issue)
- Check out the logs at /Users/<REDACTED>/.local/state/tuist/sessions/6E7CEB6E-05E1-46A8-8012-C947F98BF70C/logs.txt
macOS version
27.0.1
Tuist version
4.212.0
Xcode version
27.1
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
Start a Flight and preserve its objective, outcome, and session here.
No GitHub comments yet.