Skip to content

ci: preserve Xcode compiler discovery with ccache launchers - #1610

Draft
mrousavy wants to merge 1 commit into
perf/cleanup-releasefrom
perf/cleanup-xcode
Draft

ci: preserve Xcode compiler discovery with ccache launchers#1610
mrousavy wants to merge 1 commit into
perf/cleanup-releasefrom
perf/cleanup-xcode

Conversation

@mrousavy

@mrousavy mrousavy commented Sep 5, 2026

Copy link
Copy Markdown
Member

Xcode could not discover libclang.dylib when the iOS builds replaced its compiler with bare clang names. Use Xcode's compiler defaults across the example, Release, Harness, and benchmark builds. The example and Harness workflows use C_COMPILER_LAUNCHER for ccache and enable its Clang explicit-module opt-in, following Apple's compiler launcher guidance.

Remove ccache compiler symlinks and React Native's compiler/linker wrapper injection together, preserving the real-compiler discovery required by ASan in #1417. Use a generic arm64 simulator destination for the build-only example job, remove the matching local example compiler overrides, and remove redundant benchmark libc++ and Swift toolchain search entries.

Validated locally with Xcode 26.6 and ccache 4.14: the real example ASan build succeeds, links its sanitizer runtime, and runs 25 dependency scans plus 74 module precompilations without compiler-discovery or launcher fallback messages. Recompiling ArrayBuffer.cpp produces a direct ccache hit; explicit-module commands pass through ccache. The current Release benchmark app also builds and passes C++/Swift deferred-Promise and native-owned-buffer cases through calibration plus fresh-process measurement. Actionlint, ShellCheck, shell syntax, project syntax, and diff checks pass.

CI pins Xcode 26.5; the full hosted matrix has not been run, and new PR workflows are intentionally cancelled as requested. CocoaPods still generates an obsolete Swift toolchain search path on this machine; that remaining warning is outside the checked-in project settings.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nitro-docs Ready Ready Preview Sep 5, 2026 4:07pm UTC

Request Review

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.

1 participant