You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I push to EAS, the build fails at the Install Pods stage. Expo Doctor on EAS also shows an error, with strip-ansi related to Metro.
Locally the build succeeds and there are no issues with Expo Doctor. I'm able to run the app in the IOS simulator without issue and also run a local web build.
The error only occurs when deploying to EAS when it reaches the Pod Install stage. Here is the error:
Using Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
[!] Invalid `Podfile` file: undefined method `[]' for nil:NilClass.
from /Users/expo/workingdir/build/ios/Podfile:42
-------------------------------------------
use_expo_modules!
> config = use_native_modules!
-------------------------------------------
npx expo-doctor
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for issues with metro config
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check native tooling versions
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
Using Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
[!] Invalid `Podfile` file: undefined method `[]' for nil:NilClass.
# from /Users/expo/workingdir/build/ios/Podfile:42
# -------------------------------------------
# use_expo_modules!
> config = use_native_modules!
#
# -------------------------------------------
Error: Unknown error. See logs of the Install pods build phase for more information.
Reproducible demo or steps to reproduce from a blank project
This error occurs when running the build command:
eas build --profile preview --platform ios --non-interactive
The text was updated successfully, but these errors were encountered:
I believe it was the local storage package that caused the build error. It conflicted with the amplify version I was using and failed on the version of Linux eas used in their cloud build step. So not an eas issue but rather just two incompatible packages. I downgraded to an earlier version and the error resolved.
Build/Submit details page URL
https://expo.dev/accounts/briansc/projects/toprecall/builds/ca8d63fc-542b-4de4-807a-b27612d4301e
Summary
When I push to EAS, the build fails at the Install Pods stage. Expo Doctor on EAS also shows an error, with strip-ansi related to Metro.
Locally the build succeeds and there are no issues with Expo Doctor. I'm able to run the app in the IOS simulator without issue and also run a local web build.
The error only occurs when deploying to EAS when it reaches the Pod Install stage. Here is the error:
Here is my package.json:
Managed or bare?
Managed
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
This error occurs when running the build command:
eas build --profile preview --platform ios --non-interactive
The text was updated successfully, but these errors were encountered: