EAS Build fails due to deployment target being outdated

I am having issue with EAS Build for iOS

8 | import Auth0
| ^ compiling for iOS 12.0, but module ‘Auth0’ has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/FieldMaterials-grvpdtcoyrvedsfstmybrgrzgdgi/Build/Intermediates.noindex/ArchiveIntermediates/FieldMaterials/BuildProductsPath/Release-iphoneos/Auth0/Auth0.swiftmodule/arm64-apple-ios.swiftmodule

This started to happen yesterday, I tried to use commit for which it worked but still it fails with the same issue

I use Expo SDK 48 and Auth0 (react-native-auth0 package). All worked fine before but then started to fail.

I tried to specify explicitly deploymentTarget in app.config.js but this doesn’t solve the issue

“expo-build-properties”,
{
android: {
buildToolsVersion: “31.0.0”,
},
ios: {
flipper: true,
deploymentTarget: “13.0”,
},
},

Anybody have similar issue and know how to solve it?
Thanks in advance!

same issue here /Users/expo/workingdir/build/apps/mobile/node_modules/react-native-auth0/ios/CredentialsManagerBridge.swift:8:8: error: compiling for iOS 12.0, but module ‘Auth0’ has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/reputable-cxetimqbnebuisfhktbrprgfqfex/Build/Intermediates.noindex/ArchiveIntermediates/reputable/BuildProductsPath/Release-iphoneos/Auth0/Auth0.swiftmodule/arm64-apple-ios.swiftmodule
import Auth0
^ any solution will be appreciated! I have had my deploymentTarget specified in app.config.json like this since months ago: plugins: [
[
“expo-build-properties”,
{
ios: {
deploymentTarget: “13.0”,
},
},
],

@sergey-fieldmaterial react-native-auth0 has released a new version past weekend. Upgrade and your issue will be gone

@reputable thanks a lot for the tip. It worked!!! I am still wondering how come it worked before, then got broken and required library update :slight_smile: