EAS Build failing for simulator builds

Hello,

I have recently tried to make a simulator build for the first time. My normal builds are still building OK but for simulator builds I get the following error:

Installing pods
Using Expo modules
Auto-linking React Native modules for target `STAXYStagingSandbox`: RNCAsyncStorage, RNCMaskedView, RNCPicker, RNDateTimePicker, RNGestureHandler, RNReanimated, RNSVG, RNScreens, react-native-get-random-values, react-native-maps, react-native-safe-area-context, react-native-webview, and stripe-react-native
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
[!] Unable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.
You can try adding it manually in `/Users/expo/.cocoapods/repos` or via `pod repo add`.
[stderr] [!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `DF28B98768544F7E89EB51DD` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
pod exited with non-zero code: 1

Here is an example of one of my failing builds:

Thanks,

Robert

you may need to opt in to using an older version of cocoapods: 'fatal: repository 'https://cdn.cocoapods.org/' not found' v- 1.9.0 · Issue #9595 · CocoaPods/CocoaPods · GitHub

you can see how to configure such dependencies here: Configuring EAS Build with eas.json - Expo Documentation

Thank you. Could this be because I’m using Expo 43 and not 44?

it looks like you’re using sdk 42, which uses react-native 63 and is compatible with cocoapods 1.8