Open omardiaa opened 9 months ago
Hi there 👋!
I think this function was removed in RN 0.73 🤔
SDK 49 is configured to use RN 0.72 by default and that's why it's failing 🤔
What I would suggest here to resolve this issue is to:
expo doctor
warnings. It says that react-native@0.73.1 - expected version: 0.72.6
. You can run npx expo install --fix
to fix it.Using expo 50.0.0 & react-native 0.73.6. Still get this error when running eas build --platform ios --local
[INSTALL_PODS] [!] An error occurred while processing the post-install hook of the Podfile. [INSTALL_PODS] undefined method `__apply_Xcode_12_5_M1_post_install_workaround' for an instance of Pod::Podfile
Problem was in app.json I had
"sdkVersion": "46.0.0"
try to follow the resolution in this issue, it worked for me https://github.com/facebook/react-native/issues/42070
Build/Submit details page URL
https://expo.dev/accounts/omar_/projects/Chemistry-School/builds/b38ade78-bc7c-48be-a75d-b24b74eedd75
Summary
I am trying to build the app using
eas build -p ios --clear-cache
but it fails in "Install Pods" step with the following error:Managed or bare?
Managed
Environment
expo-env-info 1.2.0 environment info: System: OS: Linux 5.15 Ubuntu 20.04.5 LTS (Focal Fossa) Shell: 5.0.17 - /bin/bash Binaries: Node: 20.10.0 - ~/node/bin/node Yarn: 1.22.21 - ~/node/bin/yarn npm: 10.2.4 - ~/node/bin/npm npmPackages: expo: ^49.0.21 => 49.0.21 react: 18.2.0 => 18.2.0 react-native: 0.73.1 => 0.73.1 npmGlobalPackages: eas-cli: 5.9.1 Expo Workflow: managed
✔ Check package.json for common issues ✔ Check dependencies for packages that should not be installed directly ✔ 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 for legacy global CLI installed locally ✖ Check that native modules use compatible support package versions for installed Expo SDK ✔ Check that native modules do not use incompatible support packages
Detailed check results:
Expected package @expo/config-plugins@~7.2.2 Found invalid: @expo/config-plugins@5.0.4 @expo/config-plugins@5.0.4 (for more info, run: npm why @expo/config-plugins) Expected package @expo/prebuild-config@~6.2.4 Found invalid: @expo/prebuild-config@5.0.7 (for more info, run: npm why @expo/prebuild-config) Advice: Upgrade dependencies that are using the invalid package versions.
Some dependencies are incompatible with the installed expo version: @react-native-async-storage/async-storage@1.21.0 - expected version: 1.18.2 expo-device@5.6.0 - expected version: ~5.4.0 expo-permissions@14.4.0 - expected version: ~14.2.1 expo-screen-capture@5.5.0 - expected version: ~5.3.0 expo-screen-orientation@6.2.0 - expected version: ~6.0.6 react-native@0.73.1 - expected version: 0.72.6 react-native-gesture-handler@2.14.0 - expected version: ~2.12.0 react-native-reanimated@3.6.1 - expected version: ~3.3.0 react-native-safe-area-context@4.8.2 - expected version: 4.6.3 react-native-screens@3.29.0 - expected version: ~3.22.0 react-native-webview@13.6.4 - expected version: 13.2.2 Your project may not work correctly until you install the correct versions of the packages. Fix with: npx expo install --fix Found outdated dependencies Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
One or more checks failed, indicating possible issues with the project.
Error output
Reproducible demo or steps to reproduce from a blank project
Run
eas build -p ios
, it fails on "Install Pods" step.