After upgrading to Expo SDK 47 we get the following error when running eas build on iOS:
error: compiling for iOS 12.0, but module 'ExpoModulesCore' has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/Overvinne-dhuhkwwmftihfkcxltwghoewdjdv/Build/Intermediates.noindex/ArchiveIntermediates/Overvinne/BuildProductsPath/Debug-iphoneos/ExpoModulesCore/ExpoModulesCore.swiftmodule/arm64-apple-ios.swiftmodule
In another thread here it was suggested to use BuildProperties to target iOS 13.0 but that did not help unfortunately. Any suggestions? Builds perfectly on Android.
Along with the upgrade to React Native 0.70, Expo projects support iOS 13.0 and greater. Refer to Apple’s public App Store data for insight into the current iOS version distribution among active devices.
EDIT: Sorry, I probably misunderstood what you’re trying to do. If you’re not trying to support iOS 12 could you post your dependencies and devDependencies from package.json?
Can you try upgrading @config-plugins/react-native-branch version to 4.0.0? I tried to reproduce this on my end but using the latest version of the package doesn’t seem to throw the exception. Also, another reason is that we recently updated the deployment target (see PR here).
Another thing I’d suggest is to check the dependencies’ version compatibility with the current SDK version in your project. To do that, you can use npx expo install --check. Please find more info about checking and upgrading specific dependency versions in the documentation.
It builds now, thanks for your help and quick response. --check is a good tip, not always so easy to keep all dependencies up to date. expo-cli doctor does not cover everything, it said everything was good in this case.