expo / expo/eas-cli

EAS build iOS failing: ‘Could not find proper version of cocoapods (1.15.2)’ despite installed

Open
#3,078 0 comments 0 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 8h
Merged PRs (30d)
98

Description

### Build/Submit details page URL

_No response_

### Summary

I have installed Expo modules and configured EAS build on my existing React Native 0.70.15 project and when running `eas build --platform ios --profile development --local` it gives me an error saying: `Could not find proper version of cocoapods (1.15.2) in any of the sources`

### Managed or bare?

Bare

### Environment

expo-env-info 1.3.3 environment info:
System:
OS: macOS 15.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.2.0 - /opt/homebrew/bin/node
npm: 11.3.0 - /opt/homebrew/bin/npm
Watchman: 2025.06.23.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /Users/dev/.rvm/gems/ruby-3.2.2/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
IDEs:
Android Studio: 2025.1 AI-251.25410.109.2511.13665796
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: >=47.0.0-0 <48.0.0 => 47.0.14
expo-updates: ~0.15.6 => 0.15.6
react: 18.1.0 => 18.1.0
react-native: 0.70.15 => 0.70.15
npmGlobalPackages:
eas-cli: 16.13.1
Expo Workflow: bare

10/14 checks passed. 4 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.

✖ Check for issues with Metro config
It looks like that you are using a custom metro.config.js that does not extend @expo/metro-config. This can lead to unexpected and hard to debug issues. Learn more: https://docs.expo.dev/guides/customizing-metro/
Advice:
Update your metro.config.js to extend @expo/metro-config.

✖ Check that native modules use compatible support package versions for installed Expo SDK
Expected package @expo/config-plugins@^5.0.2
Found invalid:
@expo/config-plugins@4.0.16
(for more info, run: npm why @expo/config-plugins)
Advice:
Upgrade dependencies that are using the invalid package versions.

✖ Check for app config fields that may not be synced in a non-CNG project
This project contains native project folders but also has native configuration properties in app.json, indicating it is configured to use Prebuild. When the android/ios folders are present, EAS Build will not sync the following properties: android, ios.

Advice:
Add '/android' and '/ios' to your .gitignore file if you intend to use CNG / Prebuild. Learn more: https://docs.expo.dev/workflow/prebuild/#usage-with-eas-build

✖ Check that packages match versions required by installed Expo SDK
Some dependencies are incompatible with the installed expo version:
@react-native-async-storage/async-storage@1.15.17 - expected version: ~1.17.3
@react-native-community/datetimepicker@3.5.2 - expected version: 6.5.2
@react-native-community/netinfo@11.3.2 - expected version: 9.3.5
@types/react@18.3.3 - expected version: ~18.0.24
lottie-react-native@6.7.0 - expected version: 5.1.4
react-native@0.70.15 - expected version: 0.70.8
react-native-gesture-handler@1.10.3 - expected version: ~2.8.0
react-native-pager-view@6.2.3 - expected version: 6.0.1
react-native-reanimated@2.17.0 - expected version: ~2.12.0
react-native-safe-area-context@3.3.2 - expected version: 4.4.1
react-native-screens@3.29.0 - expected version: ~3.18.0
react-native-svg@12.1.1 - expected version: 13.4.0
react-native-view-shot@3.8.0 - expected version: 3.4.0
react-native-webview@11.26.1 - expected version: 11.23.1
Your project may not work correctly until you install the correct versions of the packages.
Install individual packages by running npx expo install @react-native-async-storage/async-storage@~1.17.3 @react-native-community/datetimepicker@6.5.2 @react-native-community/netinfo@9.3.5 @types/react@~18.0.24 lottie-react-native@5.1.4 react-native@0.70.8 react-native-gesture-handler@~2.8.0 react-native-pager-view@6.0.1 react-native-reanimated@~2.12.0 react-native-safe-area-context@4.4.1 react-native-screens@~3.18.0 react-native-svg@13.4.0 react-native-view-shot@3.4.0 react-native-webview@11.23.1
Found outdated dependencies
Advice:
Use 'npx expo install --check' to review and upgrade your dependencies.

4 checks failed, indicating possible issues with the project.

### Error output

[INSTALL_PODS] Could not find proper version of cocoapods (1.15.2) in any of the sources
[INSTALL_PODS] Run `bundle install` to install missing gems.
[INSTALL_PODS]
Error: pod install exited with non-zero code: 7
at ChildProcess.completionListener (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/spawn-async/build/spawnAsync.js:42:23)
at Object.onceWrapper (node:events:622:26)
at ChildProcess.emit (node:events:507:28)
at maybeClose (node:internal/child_process:1101:16)
at Socket. (node:internal/child_process:457:11)
at Socket.emit (node:events:507:28)
at Pipe. (node:net:346:12)
...
at spawnAsync (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/spawn-async/build/spawnAsync.js:7:23)
at spawn (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/turtle-spawn/dist/index.js:16:47)
at installPods (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/ios/pod.js:12:50)
at runInstallPodsAsync (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/builders/ios.js:221:70)
at /Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/builders/ios.js:75:19
at BuildContext.runBuildPhase (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/context.js:121:34)
at buildAsync (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/builders/ios.js:74:19)
at async runBuilderWithHooksAsync (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/builders/common.js:12:13)
at async Object.iosBuilder (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/@expo/build-tools/dist/builders/ios.js:34:16)
at async buildIosAsync (/Users/dev/.npm/_npx/a4ff5c16beb6b833/node_modules/eas-cli-local-build-plugin/dist/ios.js:44:12)

Build failed
Unknown error. See logs of the Install pods build phase for more information.

### Reproducible demo or steps to reproduce from a blank project

I really can't since this is a company project!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.