expo / expo/eas-cli

EAS undefined __apply_Xcode_12_5_M1_post_install_workaround

Open
#2,168 9 comments 0 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### 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/async-storage@1.21.0 - expected version: 1.18.2
@react-native-community/datetimepicker@7.6.2 - expected version: 7.2.0
@react-native-community/netinfo@11.2.1 - expected version: 9.3.10
@sentry/react-native@5.15.2 - expected version: 5.10.0
@shopify/flash-list@1.6.3 - expected version: 1.4.3
expo-application@5.4.0 - expected version: ~5.3.0
expo-clipboard@4.5.0 - expected version: ~4.3.1
expo-device@5.6.0 - expected version: ~5.4.0
expo-font@11.6.0 - expected version: ~11.4.0
expo-haptics@12.6.0 - expected version: ~12.4.0
expo-image@1.5.1 - expected version: ~1.3.5
expo-linear-gradient@12.5.0 - expected version: ~12.3.0
expo-linking@6.0.0 - expected version: ~5.0.2
expo-local-authentication@13.6.0 - expected version: ~13.4.1
expo-location@16.3.0 - expected version: ~16.1.0
expo-splash-screen@0.22.0 - expected version: ~0.20.5
expo-status-bar@1.7.1 - expected version: ~1.6.0
expo-store-review@6.6.0 - expected version: ~6.4.0
react-native@0.73.1 - expected version: 0.72.6
react-native-gesture-handler@2.14.0 - expected version: ~2.12.0
react-native-get-random-values@1.10.0 - expected version: ~1.9.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-svg@14.1.0 - expected version: 13.9.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

### 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 #

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.