From 23f5b4d11512b8c1a3464839d90a25aa3889d90e Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Thu, 11 Jun 2026 13:24:44 +0200 Subject: [PATCH] chore: CI simulator bump and project housekeeping Bumps the CI iOS simulator to iPhone 17, ignores Swift Package Manager build caches (.build/, .swiftpm/), picks up Flutter-generated xcscheme debug settings, and applies minor example_app cleanup. Extracted from the passkeys PR (#858) as unrelated maintenance. --- .github/workflows/main.yml | 2 +- auth0_flutter/darwin/.gitignore | 4 ++++ .../Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme | 3 +++ auth0_flutter/example/lib/example_app.dart | 4 ++-- auth0_flutter/ios/.gitignore | 4 ++++ auth0_flutter/macos/.gitignore | 4 ++++ 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 848e98d0..fbd28c93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ concurrency: env: ruby: '3.3.1' flutter: '3.x' - ios-simulator: iPhone 16 + ios-simulator: iPhone 17 java: 17 jobs: diff --git a/auth0_flutter/darwin/.gitignore b/auth0_flutter/darwin/.gitignore index 034771fc..55ff257c 100644 --- a/auth0_flutter/darwin/.gitignore +++ b/auth0_flutter/darwin/.gitignore @@ -12,6 +12,10 @@ build/ GeneratedPluginRegistrant.h GeneratedPluginRegistrant.m +# Swift Package Manager build cache +.build/ +.swiftpm/ + .generated/ *.pbxuser diff --git a/auth0_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/auth0_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index b891863c..42f0dbb0 100644 --- a/auth0_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/auth0_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -26,6 +26,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "" selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn" + customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" shouldUseLaunchSchemeArgsEnv = "NO" codeCoverageEnabled = "YES"> @@ -76,11 +77,13 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" + enableGPUValidationMode = "1" allowLocationSimulation = "YES"> diff --git a/auth0_flutter/example/lib/example_app.dart b/auth0_flutter/example/lib/example_app.dart index 513b674a..24f4aec7 100644 --- a/auth0_flutter/example/lib/example_app.dart +++ b/auth0_flutter/example/lib/example_app.dart @@ -77,7 +77,7 @@ class _ExampleAppState extends State { _isLoggedIn = true; }); - output = result.idToken.replaceAll(RegExp(r'.'), '*'); + output = result.idToken.replaceAll(RegExp('.'), '*'); } } catch (e) { output = e.toString(); @@ -231,7 +231,7 @@ class _ExampleAppState extends State { 'Session Transfer Token: ${token.substring(0, 20)}...\n' 'Token Type: ${ssoCredentials.tokenType}\n' 'Expires In: ${ssoCredentials.expiresIn}s\n' - 'ID Token: ${ssoCredentials.idToken != null ? '****' : 'N/A'}\n' + 'ID Token: ****\n' 'Refresh Token: ' '${ssoCredentials.refreshToken != null ? '****' : 'N/A'}'; } on CredentialsManagerException catch (e) { diff --git a/auth0_flutter/ios/.gitignore b/auth0_flutter/ios/.gitignore index 034771fc..55ff257c 100644 --- a/auth0_flutter/ios/.gitignore +++ b/auth0_flutter/ios/.gitignore @@ -12,6 +12,10 @@ build/ GeneratedPluginRegistrant.h GeneratedPluginRegistrant.m +# Swift Package Manager build cache +.build/ +.swiftpm/ + .generated/ *.pbxuser diff --git a/auth0_flutter/macos/.gitignore b/auth0_flutter/macos/.gitignore index 034771fc..55ff257c 100644 --- a/auth0_flutter/macos/.gitignore +++ b/auth0_flutter/macos/.gitignore @@ -12,6 +12,10 @@ build/ GeneratedPluginRegistrant.h GeneratedPluginRegistrant.m +# Swift Package Manager build cache +.build/ +.swiftpm/ + .generated/ *.pbxuser