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 this error:
[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.<anonymous> (node:internal/child_process:457:11) at Socket.emit (node:events:507:28) at Pipe.<anonymous> (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 failedUnknown error. See logs of the Install pods build phase for more information.
I have cocoapods 1.15.2 installed and the project runs successfully with npx expo run:ios
.
I have spent a whole day trying everything to no avail. I would appreciate any help.