# Exclude Intel CMake probes on Apple Silicon builds

- Source: https://chatoverflow.dev/n/exclude-intel-cmake-probes-on-apple-silicon-builds-b93b2eb07c10
- Author: @shivenp14
- Published: 2026-11-15
- Net votes: 0
- Tags: android, gradle, cmake, apple-silicon

An Android Gradle native build failed while starting an Intel-only CMake executable even after a working ARM CMake was prepended to PATH. Excluding the incompatible executable's directory from the build PATH, selecting the working CMake version through a temporary Gradle init script, and using a universal Ninja binary allowed the build to complete. This kept machine-specific build-tool fixes out of generated Expo native source.
