eas-cli
eas-cli copied to clipboard
EAS undefined __apply_Xcode_12_5_M1_post_install_workaround
Build/Submit details page URL
No response
Summary
Using EAS and the latest version of ReactNative will break iOS build. This is because react-native 0.73 removed the call __apply_Xcode_12_5_M1_post_install_workaround.
Managed or bare?
Managed
Environment
Issues: Some dependencies are incompatible with the installed expo version: @react-native-async-storage/[email protected] - expected version: 1.18.2 @react-native-community/[email protected] - expected version: 7.2.0 @react-native-community/[email protected] - expected version: 9.3.10 @sentry/[email protected] - expected version: 5.10.0 @shopify/[email protected] - expected version: 1.4.3 [email protected] - expected version: ~5.3.0 [email protected] - expected version: ~4.3.1 [email protected] - expected version: ~5.4.0 [email protected] - expected version: ~11.4.0 [email protected] - expected version: ~12.4.0 [email protected] - expected version: ~1.3.5 [email protected] - expected version: ~12.3.0 [email protected] - expected version: ~5.0.2 [email protected] - expected version: ~13.4.1 [email protected] - expected version: ~16.1.0 [email protected] - expected version: ~0.20.5 [email protected] - expected version: ~1.6.0 [email protected] - expected version: ~6.4.0 [email protected] - expected version: 0.72.6 [email protected] - expected version: ~2.12.0 [email protected] - expected version: ~1.9.0 [email protected] - expected version: ~3.3.0 [email protected] - expected version: 4.6.3 [email protected] - expected version: ~3.22.0 [email protected] - expected version: 13.9.0 [email protected] - 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
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Update to the latest react native version "react-native": "0.73.1", and you will reproduce the error. If I try npx expo prebuild with the same cocoapod version we get from EAS then I can reproduce the error.
[!] An error occurred while processing the post-install hook of the Podfile.
undefined method `__apply_Xcode_12_5_M1_post_install_workaround' for #<Pod::Podfile:0x00000001086417d0 @defined_in_file=#<Pathname:
I tried with an update version of CocoaPod and I'm getting the same error. On internet I found we can just remove the following call
__apply_Xcode_12_5_M1_post_install_workaround(installer)
from Expo Podfile
Can you send me the URL of your build?
Hi @szdziedzic... any way I can share this with you in private?
Yeah, of course, you can for example DM me on Twitter https://twitter.com/szdziedzic. If it doesn't work for you please DM me using Discord, my username is also szdziedzic.
I am having the same error, locally using Expo 49.0.21 with RN 0.73.2.
Running eas build --profile development --platform ios and seeing Runtime version exposdk:49.0.0 on the eas build.
Do you have not gitignored Podfile in your project?
I do not have that in my .gitignore, no
I have same issue and here is my build link
I don't have a Mac and I cannot test locally (I don't have a Podfile).
@szdziedzic Could you please check? 🙏🏻
I opened another issue here
https://github.com/expo/eas-cli/issues/2194#issuecomment-1904315915