Closed elemental21 closed 10 months ago
Hi @elemental21, thanks for raising this.
You can work around this (until we put out another release) by setting specific versions of Auth0.swift, JTWDecode.swift, and SimpleKeychain in your Podfile. Or, by adding the following to your Podfile, as per https://github.com/auth0/react-native-auth0/issues/646#issuecomment-1593455702:
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
Checklist
Description
I'm getting the same issue as this one for React Native. https://github.com/auth0/react-native-auth0/issues/646
Also reported here: https://community.auth0.com/t/failed-to-create-ios-build-using-auth0-flutter/109630
The error: Swift Compiler Error (Xcode): Compiling for iOS 12.0, but module 'Auth0' has a minimum deployment target of iOS 13.0: /Users/christopherrobinson/src/PicdmoFlutter/build/ios/Debug-DevEnvironment-iphoneos/Auth0/Auth0.framework/Modules/Auth0.swiftmodule/arm64-apple-ios.swiftmodule
Reproduction
Receive this error: Swift Compiler Error (Xcode): Compiling for iOS 12.0, but module 'Auth0' has a minimum deployment target of iOS 13.0: /Users/christopherrobinson/src/PicdmoFlutter/build/ios/Debug-DevEnvironment-iphoneos/Auth0/Auth0.framework/Modules/Auth0.swiftmodule/arm64-apple-ios.swiftmodule
Additional context
What I've tried:
I set that value to 13,14,15 with no success.
What DID work but is not a good solution:
Flutter clean, build and it works.
auth0_flutter version
1.2.1
Flutter version
3.7.11
Platform
iOS
Platform version(s)
No response