Skip to content

Commit ecb00a4

Browse files
antonisclaude
andcommitted
ci(testflight): add MetalToolchain cleanup for Xcode 26 Swift compatibility
Remove MetalToolchain assets before building to fix Swift compatibility library linking errors (swiftCompatibility56, swiftCompatibilityPacks). This is a known Xcode 26.0.1/26.1.1 issue where the MetalToolchain interferes with Swift library resolution. Fixes linker errors: "Could not find or use auto-linked library 'swiftCompatibility56'" Refs: actions/runner-images#13135 Refs: #5556 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f145d82 commit ecb00a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/testflight.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2323
- run: sudo xcode-select -s /Applications/Xcode_26.1.1.app/Contents/Developer
24+
- name: Clean MetalToolchain to fix Swift compatibility libraries
25+
run: sudo rm -rf /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain*/Metal.xctoolchain
2426
- uses: ruby/setup-ruby@v1
2527
with:
2628
working-directory: samples/react-native

0 commit comments

Comments
 (0)