Home › Build error fixes › CI (GitHub Actions, EAS, fastlane)

CocoaPods is not installed on the machine doing the build

CI (GitHub Actions, EAS, fastlane) · last reviewed 2026-11-10

The error looks like this

Build failed spawn pod ENOENT

Why it happens

A local build (eas build --local, or expo run:ios) could not find the pod command.

How to fix it

  1. Install it: brew install cocoapods (or sudo gem install cocoapods).
  2. Check with: pod --version, then run the build again.

Not sure this is your error? Let ReleaseMedic read the whole log

Build logs are long and the last line is rarely the real cause. ReleaseMedic finds the first real error, explains it and gives the steps — free, and the log never leaves your computer.

$ npx releasemedic log build.log

Or pipe a build straight in: cd android && ./gradlew bundleRelease 2>&1 | npx releasemedic log -

Catch it before you build

Most release errors come from project settings you can check in seconds — signing, SDK levels, privacy manifests, permissions, push and login setup.

$ npx releasemedic

Related CI (GitHub Actions, EAS, fastlane) errors