Need a new release of auth0-swift. The underlying SimpleKeychain and JWTDecode packages now require macOS 11 or greater build target, but the current auth0-swift release requires 10.15, so will no longer build.
Hey @isaac welcome back.! Thanks for brining this up in the community, as I’m sure others will be running into this issue as well. It looks like there was already an issue filed against the SDK itself, so I’d recommend adding to and/or following along there:
Just to say this is a major breaking change for me too. It leads the expo code pipeline to fail:
** BUILD FAILED **
▸ The following build commands failed:
▸ SwiftEmitModule normal x86_64 Emitting\ module\ for\ Auth0 (in target 'Auth0' from project 'Pods')
▸ (1 failure)
› Compiling react-native-auth0 Pods/Auth0 » CredentialsStorage.swift
› Compiling react-native-auth0 Pods/Auth0 » Handlers.swift
I’m a few minutes away from trying to find an alternative solution to Auth0. But I really don’t want to.
I am continuing to have issues with automated delivery pipelines in Expo despite the release of Auth0 Swift.
This is the specific error:
6 | //
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/xxxxx-xx/Build/Intermediates.noindex/ArchiveIntermediates/xxxx/BuildProductsPath/Release-iphoneos/Auth0/Auth0.swiftmodule/arm64-apple-ios.swiftmodule
9 | import Foundation
10 | import LocalAuthentication
This is resolved by updating to the latest release of Auth0.swift (
2.4.0). Please note that this will require updating cross-platform libraries as well - In the case of react-native-auth0 the version containing the bump to the latest version of Auth0.swift and subsequently the fix is 2.17.4.
Apologize for the inconvenience, and cheers!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.