When I tried to run a Flutter sample on iOS, I got the following error in Xcode:
Auth0/NSURL+Auth0.swift:9: Fatal error: Unexpectedly found nil while unwrapping an Optional value
I have already set up the Allowed Callback URLs and Apple Team ID in the Auth0 Settings. I have also added my associated domain in Xcode.
Do you know what I should do to resolve this?
Reproduction
Download the Flutter sample
Change to the bundle ID obtained from Apple Developer and register it in Allowed Callback URLs, etc.
Prepare the .env file
Register the associated domain
Execute flutter run
Additional context
The Okta sample login is successful, and 'It Works!' is displayed.
Checklist
Description
When I tried to run a Flutter sample on iOS, I got the following error in Xcode:
I have already set up the Allowed Callback URLs and Apple Team ID in the Auth0 Settings. I have also added my associated domain in Xcode. Do you know what I should do to resolve this?
Reproduction
flutter run
Additional context
The Okta sample login is successful, and 'It Works!' is displayed.
Platform
iOS
Platform version(s)
Flutter 3.19.6/iOS 18.0