fix(cli): canonicalize xcodebuild analytics metadata
GitHub issue · Closed
Source
tuist/tuist #10920
Summary
- fix the
tuist xcodebuild analytics crash when the command is parsed through the unordered XcodeBuildCommandReorderer path
- persist canonical analytics command metadata in
RunMetadataStorage so post-run uploads use the resolved xcodebuild subcommand and reordered arguments
- keep raw fallback behavior non-fatal in
TrackableCommand when command configuration metadata is still missing
- add regression coverage for both anonymous command fallback handling and canonical reordered metadata uploads
Testing
xcodebuild test -workspace Tuist.xcworkspace -scheme Tuist-Workspace -only-testing TuistKitTests/TrackableCommandTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY='' (failed: Tuist.xcworkspace does not exist in this worktree)
tuist generate tuist TuistKit TuistKitTests ProjectDescription --no-open (failed: external dependencies were not installed yet)
tuist install (failed: registry checksum mismatch for pointfreeco.swift-snapshot-testing)