Skip to content

Fix xcodebuild log archive path in CI - #495

Merged
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:fix-ci-log-archive-path
Sep 1, 2026
Merged

wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:fix-ci-log-archive-path

Conversation

@wmathurin

Copy link
Copy Markdown
Contributor

Summary

  • The upload-artifact step was looking for xcodebuild logs at ~/Library/Developer/Xcode/DerivedData/**/Logs/Build/*.xcactivitylog (the default Xcode location)
  • But xcodebuild is called with -derivedDataPath derived_data (a relative path in the working directory), so logs are at derived_data/Logs/Build/*.xcactivitylog
  • This meant the step always found no files and silently skipped uploading logs, making build failure diagnosis impossible

Test plan

  • Trigger a build failure and verify xcodebuild logs are uploaded as an artifact

xcodebuild is called with -derivedDataPath derived_data (relative path)
but the upload-artifact step looked in the default ~/Library/Developer/Xcode/DerivedData
location, so logs were never found or uploaded on build failure.
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
TestsPassed ☑️SkippedFailed ❌️
iOS ^18 Test Results35 ran32 ✅3 ❌
TestResult
iOS ^18 Test Results
ReactMobileSyncTests.testCleanResyncGhosts()❌ failure
ReactMobileSyncTests.testGetSyncStatusDeleteSync()❌ failure
ReactMobileSyncTests.testReSync()❌ failure

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
TestsPassed ☑️SkippedFailed ❌️
iOS ^26 Test Results35 ran32 ✅3 ❌
TestResult
iOS ^26 Test Results
ReactMobileSyncTests.testCleanResyncGhosts()❌ failure
ReactMobileSyncTests.testGetSyncStatusDeleteSync()❌ failure
ReactMobileSyncTests.testReSync()❌ failure

@wmathurin
wmathurin merged commit b17907e into forcedotcom:dev Sep 1, 2026
6 of 9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants