From b3c6f8b872775612362dd23cace1c01c9feefc3f Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 19 Jul 2026 14:28:20 +0800 Subject: [PATCH] Disable SwiftSyntax prebuilts for UI tests --- .github/actions/uitests/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/uitests/action.yml b/.github/actions/uitests/action.yml index f55e9f593..f14f42e7f 100644 --- a/.github/actions/uitests/action.yml +++ b/.github/actions/uitests/action.yml @@ -222,7 +222,8 @@ runs: set -o pipefail record_status=0 - NSUnbufferedIO=YES xcodebuild test \ + # Swift 6.2 can duplicate-link swift-syntax macro prebuilts; Swift 6.3 fixes this. + NSUnbufferedIO=YES xcodebuild -IDEPackageEnablePrebuilts=NO test \ -workspace Example.xcworkspace \ -scheme SUI_UITests \ -destination "${{ inputs.destination }}" \ @@ -275,7 +276,8 @@ runs: echo "artifact_dir=$uitest_tmp/artifacts" >> "$GITHUB_OUTPUT" echo "xcresult_archive=$uitest_tmp/${{ inputs.artifact-name }}.xcresult.zip" >> "$GITHUB_OUTPUT" set -o pipefail - NSUnbufferedIO=YES xcodebuild test \ + # Swift 6.2 can duplicate-link swift-syntax macro prebuilts; Swift 6.3 fixes this. + NSUnbufferedIO=YES xcodebuild -IDEPackageEnablePrebuilts=NO test \ -workspace Example.xcworkspace \ -scheme OSUI_UITests \ -destination "${{ inputs.destination }}" \