Build Information
Successful build of FronteggSwift, reference 1.3.4 (5d89be), with Swift 6.1 for iOS using Xcode 16.3 on 5 May 2026 13:38:25 UTC.
Swift 6 data race errors: 38
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme FronteggSwift -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCapturesBuild Log
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: convert 'testNetworkPathAvailabilityOverride' to a 'let' constant to make 'Sendable' shared state immutable
static var testNetworkPathAvailabilityOverride: Bool? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: add '@MainActor' to make static property 'testNetworkPathAvailabilityOverride' part of global actor 'MainActor'
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:320:10: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
func webView(
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:320:10: note: candidate has non-matching type '(WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> ()'
func webView(
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:320:10: note: move 'webView(_:decidePolicyFor:decisionHandler:)' to an extension to silence this warning
func webView(
^
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/CustomWebView.swift:1204:10: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse,
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/CustomWebView.swift:1204:10: note: candidate has non-matching type '(WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> ()'
func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse,
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/CustomWebView.swift:1204:10: note: move 'webView(_:decidePolicyFor:decisionHandler:)' to an extension to silence this warning
func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse,
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/CustomWebView.swift:1204:10: note: make 'webView(_:decidePolicyFor:decisionHandler:)' private to silence this warning
func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse,
^
private
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
@MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler: @escaping @MainActor @Sendable (WKNavigationResponsePolicy) -> Void)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VCHolder' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = VCHolder()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:12:7: note: class 'VCHolder' does not conform to the 'Sendable' protocol
class VCHolder :ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:15:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = VCHolder()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:15:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = VCHolder()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/FronteggWebView.swift:145:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
static let processPool = WKProcessPool()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/models/errors/AuthenticationError.swift:27:14: warning: associated value 'mfaRequired(_:refreshToken:)' of 'Sendable'-conforming enum 'Authentication' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
case mfaRequired(_ json: [String:Any], refreshToken: String? = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Api.swift:27:7: warning: non-final class 'RedirectHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
class RedirectHandler: NSObject, URLSessionTaskDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EntitlementState' may have shared mutable state; this is an error in the Swift 6 language mode
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:15:15: note: consider making struct 'EntitlementState' conform to the 'Sendable' protocol
public struct EntitlementState {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/Logger.swift:94:28: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static weak var delegate: FronteggLoggerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/Logger.swift:94:28: note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
public static weak var delegate: FronteggLoggerDelegate?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/Logger.swift:94:28: note: add '@MainActor' to make static property 'delegate' part of global actor 'MainActor'
public static weak var delegate: FronteggLoggerDelegate?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/Logger.swift:94:28: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static weak var delegate: FronteggLoggerDelegate?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:169:24: warning: static property 'configuredBaseURLString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var configuredBaseURLString: String?
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:169:24: note: convert 'configuredBaseURLString' to a 'let' constant to make 'Sendable' shared state immutable
private static var configuredBaseURLString: String?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:169:24: note: add '@MainActor' to make static property 'configuredBaseURLString' part of global actor 'MainActor'
private static var configuredBaseURLString: String?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:169:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var configuredBaseURLString: String?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:171:24: warning: static property 'testReachabilityOverride' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var testReachabilityOverride: Bool?
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:171:24: note: convert 'testReachabilityOverride' to a 'let' constant to make 'Sendable' shared state immutable
private static var testReachabilityOverride: Bool?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:171:24: note: add '@MainActor' to make static property 'testReachabilityOverride' part of global actor 'MainActor'
private static var testReachabilityOverride: Bool?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:171:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var testReachabilityOverride: Bool?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:175:24: warning: static property 'pathMonitor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var pathMonitor: NWPathMonitor?
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:175:24: note: convert 'pathMonitor' to a 'let' constant to make 'Sendable' shared state immutable
private static var pathMonitor: NWPathMonitor?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:175:24: note: add '@MainActor' to make static property 'pathMonitor' part of global actor 'MainActor'
private static var pathMonitor: NWPathMonitor?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:175:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var pathMonitor: NWPathMonitor?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:177:24: warning: static property 'backgroundTimer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var backgroundTimer: DispatchSourceTimer?
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:177:24: note: convert 'backgroundTimer' to a 'let' constant to make 'Sendable' shared state immutable
private static var backgroundTimer: DispatchSourceTimer?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:177:24: note: add '@MainActor' to make static property 'backgroundTimer' part of global actor 'MainActor'
private static var backgroundTimer: DispatchSourceTimer?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:177:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var backgroundTimer: DispatchSourceTimer?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:181:24: warning: static property '_cachedReachable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _cachedReachable = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:181:24: note: convert '_cachedReachable' to a 'let' constant to make 'Sendable' shared state immutable
private static var _cachedReachable = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:181:24: note: add '@MainActor' to make static property '_cachedReachable' part of global actor 'MainActor'
private static var _cachedReachable = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:181:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _cachedReachable = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:182:24: warning: static property '_hasCachedReachable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _hasCachedReachable = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:182:24: note: convert '_hasCachedReachable' to a 'let' constant to make 'Sendable' shared state immutable
private static var _hasCachedReachable = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:182:24: note: add '@MainActor' to make static property '_hasCachedReachable' part of global actor 'MainActor'
private static var _hasCachedReachable = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:182:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _hasCachedReachable = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:183:24: warning: static property '_hasInitialCheckFired' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _hasInitialCheckFired = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:183:24: note: convert '_hasInitialCheckFired' to a 'let' constant to make 'Sendable' shared state immutable
private static var _hasInitialCheckFired = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:183:24: note: add '@MainActor' to make static property '_hasInitialCheckFired' part of global actor 'MainActor'
private static var _hasInitialCheckFired = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:183:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _hasInitialCheckFired = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:185:24: warning: static property '_isMonitoringActive' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _isMonitoringActive = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:185:24: note: convert '_isMonitoringActive' to a 'let' constant to make 'Sendable' shared state immutable
private static var _isMonitoringActive = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:185:24: note: add '@MainActor' to make static property '_isMonitoringActive' part of global actor 'MainActor'
private static var _isMonitoringActive = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:185:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _isMonitoringActive = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:187:24: warning: static property '_monitorSessionGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _monitorSessionGeneration: UInt64 = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:187:24: note: convert '_monitorSessionGeneration' to a 'let' constant to make 'Sendable' shared state immutable
private static var _monitorSessionGeneration: UInt64 = 0
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:187:24: note: add '@MainActor' to make static property '_monitorSessionGeneration' part of global actor 'MainActor'
private static var _monitorSessionGeneration: UInt64 = 0
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:187:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _monitorSessionGeneration: UInt64 = 0
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:188:24: warning: static property '_probeGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _probeGeneration: UInt64 = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:188:24: note: convert '_probeGeneration' to a 'let' constant to make 'Sendable' shared state immutable
private static var _probeGeneration: UInt64 = 0
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:188:24: note: add '@MainActor' to make static property '_probeGeneration' part of global actor 'MainActor'
private static var _probeGeneration: UInt64 = 0
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:188:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _probeGeneration: UInt64 = 0
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:189:24: warning: static property '_emitInitialState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _emitInitialState = true
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:189:24: note: convert '_emitInitialState' to a 'let' constant to make 'Sendable' shared state immutable
private static var _emitInitialState = true
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:189:24: note: add '@MainActor' to make static property '_emitInitialState' part of global actor 'MainActor'
private static var _emitInitialState = true
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:189:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _emitInitialState = true
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:195:24: warning: static property '_onChangeHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _onChangeHandlers: [OnChangeToken: (Bool) -> Void] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:195:24: note: convert '_onChangeHandlers' to a 'let' constant to make 'Sendable' shared state immutable
private static var _onChangeHandlers: [OnChangeToken: (Bool) -> Void] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:195:24: note: add '@MainActor' to make static property '_onChangeHandlers' part of global actor 'MainActor'
private static var _onChangeHandlers: [OnChangeToken: (Bool) -> Void] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:195:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _onChangeHandlers: [OnChangeToken: (Bool) -> Void] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:199:24: warning: static property '_indexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _indexMap: [OnChangeToken?] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:199:24: note: convert '_indexMap' to a 'let' constant to make 'Sendable' shared state immutable
private static var _indexMap: [OnChangeToken?] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:199:24: note: add '@MainActor' to make static property '_indexMap' part of global actor 'MainActor'
private static var _indexMap: [OnChangeToken?] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NetworkStatusMonitor.swift:199:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _indexMap: [OnChangeToken?] = []
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/NoRedirectSessionDelegate.swift:11:7: warning: non-final class 'NoRedirectSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
class NoRedirectSessionDelegate: NSObject, URLSessionTaskDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:12:24: warning: static property 'logLevelCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logLevelCache: FeLogger.Level? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:12:24: note: convert 'logLevelCache' to a 'let' constant to make 'Sendable' shared state immutable
private static var logLevelCache: FeLogger.Level? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:12:24: note: add '@MainActor' to make static property 'logLevelCache' part of global actor 'MainActor'
private static var logLevelCache: FeLogger.Level? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logLevelCache: FeLogger.Level? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:13:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger = getLogger("PlistHelper")
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:13:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger = getLogger("PlistHelper")
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:13:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger = getLogger("PlistHelper")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:13:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger = getLogger("PlistHelper")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:16:16: warning: static property 'testConfigOverride' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var testConfigOverride: FronteggPlist? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:16:16: note: convert 'testConfigOverride' to a 'let' constant to make 'Sendable' shared state immutable
static var testConfigOverride: FronteggPlist? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:16:16: note: add '@MainActor' to make static property 'testConfigOverride' part of global actor 'MainActor'
static var testConfigOverride: FronteggPlist? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/PlistHelper.swift:16:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var testConfigOverride: FronteggPlist? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:11:24: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'FeLogger' may have shared mutable state; this is an error in the Swift 6 language mode
private static let logger = getLogger("SentryHelper")
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/Logger.swift:32:14: note: class 'FeLogger' does not conform to the 'Sendable' protocol
public class FeLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:11:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static let logger = getLogger("SentryHelper")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let logger = getLogger("SentryHelper")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:12:24: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var isInitialized = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:12:24: note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
private static var isInitialized = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:12:24: note: add '@MainActor' to make static property 'isInitialized' part of global actor 'MainActor'
private static var isInitialized = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var isInitialized = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:13:24: warning: static property 'didLogInitStatus' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var didLogInitStatus = false
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:13:24: note: convert 'didLogInitStatus' to a 'let' constant to make 'Sendable' shared state immutable
private static var didLogInitStatus = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:13:24: note: add '@MainActor' to make static property 'didLogInitStatus' part of global actor 'MainActor'
private static var didLogInitStatus = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:13:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var didLogInitStatus = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:18:24: warning: static property 'sentryEnabledByFeatureFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var sentryEnabledByFeatureFlag: Bool? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:18:24: note: convert 'sentryEnabledByFeatureFlag' to a 'let' constant to make 'Sendable' shared state immutable
private static var sentryEnabledByFeatureFlag: Bool? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:18:24: note: add '@MainActor' to make static property 'sentryEnabledByFeatureFlag' part of global actor 'MainActor'
private static var sentryEnabledByFeatureFlag: Bool? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/SentryHelper.swift:18:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var sentryEnabledByFeatureFlag: Bool? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/TraceIdLogger.swift:10:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TraceIdLogger' may have shared mutable state; this is an error in the Swift 6 language mode
static let shared = TraceIdLogger()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/TraceIdLogger.swift:9:7: note: class 'TraceIdLogger' does not conform to the 'Sendable' protocol
class TraceIdLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/TraceIdLogger.swift:10:16: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
static let shared = TraceIdLogger()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/TraceIdLogger.swift:10:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let shared = TraceIdLogger()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/AuthorizeUrlGenerator.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AuthorizeUrlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = AuthorizeUrlGenerator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/AuthorizeUrlGenerator.swift:13:14: note: class 'AuthorizeUrlGenerator' does not conform to the 'Sendable' protocol
public class AuthorizeUrlGenerator {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/AuthorizeUrlGenerator.swift:18:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = AuthorizeUrlGenerator()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/AuthorizeUrlGenerator.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = AuthorizeUrlGenerator()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:25:24: warning: static property 'providerDetails' is not concurrency-safe because non-'Sendable' type '[SocialLoginProvider : ProviderDetails]' may have shared mutable state; this is an error in the Swift 6 language mode
private static let providerDetails: [SocialLoginProvider: ProviderDetails] = [
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/models/SocialLoginConfig.swift:87:13: note: consider making enum 'SocialLoginProvider' conform to the 'Sendable' protocol
public enum SocialLoginProvider: String, Codable, CaseIterable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:25:24: note: add '@MainActor' to make static property 'providerDetails' part of global actor 'MainActor'
private static let providerDetails: [SocialLoginProvider: ProviderDetails] = [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:25:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let providerDetails: [SocialLoginProvider: ProviderDetails] = [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:122:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SocialLoginUrlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SocialLoginUrlGenerator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:121:20: note: class 'SocialLoginUrlGenerator' does not conform to the 'Sendable' protocol
public final class SocialLoginUrlGenerator {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:122:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SocialLoginUrlGenerator()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/generators/SocialLoginUrlGenerator.swift:122:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SocialLoginUrlGenerator()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:321:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:325:17: note: closure captures 'self' which is accessible to code in the current task
self?.logger.info("NWPathMonitor timed out after \(timeout / 1_000_000)ms — treating as offline (advisory)")
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Logout.swift:266:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Logout.swift:267:23: note: closure captures 'self' which is accessible to code in the current task
await self.api.logout(accessToken: accessToken, refreshToken: refreshToken)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Logout.swift:271:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Logout.swift:274:21: note: closure captures 'self' which is accessible to code in the current task
self?.logger.warning("Server logout timed out after \(timeout)s — proceeding with local cleanup")
SwiftCompile normal arm64 Compiling\ FronteggApp.swift,\ FronteggAuth.swift,\ FronteggAuth+Authorization.swift,\ FronteggAuth+Connectivity.swift,\ FronteggAuth+CredentialHydration.swift,\ FronteggAuth+EmbeddedAndDeepLink.swift,\ FronteggAuth+Entitlements.swift,\ FronteggAuth+HostedFlows.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:93:16: warning: static property 'presentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var presentation: FronteggOAuthErrorPresentation = .toast
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:93:16: note: convert 'presentation' to a 'let' constant to make 'Sendable' shared state immutable
static var presentation: FronteggOAuthErrorPresentation = .toast
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:93:16: note: add '@MainActor' to make static property 'presentation' part of global actor 'MainActor'
static var presentation: FronteggOAuthErrorPresentation = .toast
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:93:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var presentation: FronteggOAuthErrorPresentation = .toast
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:94:16: warning: static property 'delegateBox' is not concurrency-safe because non-'Sendable' type 'FronteggWeakOAuthErrorDelegateBox' may have shared mutable state; this is an error in the Swift 6 language mode
static let delegateBox = FronteggWeakOAuthErrorDelegateBox()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:88:13: note: class 'FronteggWeakOAuthErrorDelegateBox' does not conform to the 'Sendable' protocol
final class FronteggWeakOAuthErrorDelegateBox {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:94:16: note: add '@MainActor' to make static property 'delegateBox' part of global actor 'MainActor'
static let delegateBox = FronteggWeakOAuthErrorDelegateBox()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:94:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let delegateBox = FronteggWeakOAuthErrorDelegateBox()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:99:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FronteggApp' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = FronteggApp()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:97:14: note: class 'FronteggApp' does not conform to the 'Sendable' protocol
public class FronteggApp {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:99:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = FronteggApp()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:99:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = FronteggApp()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:282:19: warning: variable 'config' was never mutated; consider changing to 'let' constant
guard var config = try? PlistHelper.fronteggConfig() else { return }
~~~ ^
let
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: warning: static property 'testNetworkPathAvailabilityOverride' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: convert 'testNetworkPathAvailabilityOverride' to a 'let' constant to make 'Sendable' shared state immutable
static var testNetworkPathAvailabilityOverride: Bool? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: add '@MainActor' to make static property 'testNetworkPathAvailabilityOverride' part of global actor 'MainActor'
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:26:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var testNetworkPathAvailabilityOverride: Bool? = nil
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:41:42: warning: capture of 'self' with non-sendable type 'FronteggAuth' in a '@Sendable' closure
let user = try await self.requestAuthorizeAsync(refreshToken: refreshToken, deviceTokenCookie: deviceTokenCookie)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:18:14: note: class 'FronteggAuth' does not conform to the 'Sendable' protocol
public class FronteggAuth: FronteggState {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: warning: capture of 'completion' with non-sendable type 'FronteggAuth.CompletionHandler' (aka '(Result<User, FronteggError>) -> ()') in a '@Sendable' closure
completion(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:41:42: warning: capture of 'self' with non-sendable type 'FronteggAuth' in an isolated closure; this is an error in the Swift 6 language mode
let user = try await self.requestAuthorizeAsync(refreshToken: refreshToken, deviceTokenCookie: deviceTokenCookie)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:18:14: note: class 'FronteggAuth' does not conform to the 'Sendable' protocol
public class FronteggAuth: FronteggState {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: warning: capture of 'completion' with non-sendable type 'FronteggAuth.CompletionHandler' (aka '(Result<User, FronteggError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
completion(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
completion(.success(user))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:43:25: note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completion(.success(user))
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:47:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
completion(.failure(error))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:47:25: note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completion(.failure(error))
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:52:25: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
completion(.failure(.authError(.failedToAuthenticate)))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Authorization.swift:52:25: note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completion(.failure(.authError(.failedToAuthenticate)))
^~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:135:60: warning: main actor-isolated property 'session' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let activeSession = WebAuthenticator.shared.session {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:17:9: note: property declared here
var session: ASWebAuthenticationSession? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:135:53: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let activeSession = WebAuthenticator.shared.session {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:137:41: warning: main actor-isolated property 'session' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.session = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:17:9: note: mutation of this property is only permitted within the actor
var session: ASWebAuthenticationSession? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:137:34: warning: main actor-isolated static property 'shared' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.session = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: mutation of this static property is only permitted within the actor
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:94:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setUser(nil)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:94:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setUser(nil)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:109:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:111:23: note: closure captures 'self' which is accessible to code in the current task
_ = await self.refreshTokenIfNeededInternal(source: .internalAuto)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:207:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsOfflineMode(false)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:207:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsOfflineMode(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:247:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsOfflineMode(false)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:247:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsOfflineMode(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:252:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsOfflineMode(true)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:252:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsOfflineMode(true)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:259:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:259:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:321:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:325:17: note: closure captures 'self' which is accessible to code in the current task
self?.logger.info("NWPathMonitor timed out after \(timeout / 1_000_000)ms — treating as offline (advisory)")
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:399:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setUser(resolvedUser)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:399:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setUser(resolvedUser)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:407:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setInitializing(false)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:407:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setInitializing(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:462:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setUser(resolvedUser)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:462:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setUser(resolvedUser)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:484:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setInitializing(false)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:484:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setInitializing(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:545:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:546:34: note: closure captures 'self' which is accessible to code in the current task
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:566:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setUser(nil)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Connectivity.swift:566:29: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setUser(nil)
^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:75:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.logger.error("Failed to set credentials (hydrationMode: \(self.hydrationModeDescription(hydrationMode)), error: \(error))")
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:75:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.logger.error("Failed to set credentials (hydrationMode: \(self.hydrationModeDescription(hydrationMode)), error: \(error))")
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:238:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
setRefreshToken(refreshTokenToSet)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:238:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
setRefreshToken(refreshTokenToSet)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:302:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
setRefreshToken(refreshTokenToSet)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:302:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
setRefreshToken(refreshTokenToSet)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:334:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
scheduleTokenRefresh(offset: refreshOffset, source: .internalAuto)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+CredentialHydration.swift:334:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
scheduleTokenRefresh(offset: refreshOffset, source: .internalAuto)
^~~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:19:101: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
"E2E embeddedLogin rootVC=\(type(of: rootVC)) presented=\(String(describing: rootVC.presentedViewController)) embeddedMode=\(self.embeddedMode)"
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:33:30: warning: call to main actor-isolated initializer 'init(parentVC:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let loginModal = EmbeddedLoginModal(parentVC: rootVC)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:21:12: note: calls to initializer 'init(parentVC:)' from outside of its actor context are implicitly asynchronous
public init(parentVC: UIViewController? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:21:12: note: main actor isolation inferred from conformance to protocol 'View'
public init(parentVC: UIViewController? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:34:37: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let hostingController = UIHostingController(rootView: loginModal)
^
SwiftUI.UIHostingController.init:2:35: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
@MainActor @preconcurrency public init(rootView: Content)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:35:31: warning: main actor-isolated property 'modalPresentationStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
hostingController.modalPresentationStyle = .fullScreen
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:282:54: note: mutation of this property is only permitted within the actor
@property(nonatomic,assign) UIModalPresentationStyle modalPresentationStyle API_AVAILABLE(ios(3.2));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:37:23: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if(rootVC.presentedViewController?.classForCoder == hostingController.classForCoder){
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:38:49: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
rootVC.presentedViewController?.dismiss(animated: false)
^
UIKit.UIViewController.dismiss:3:24: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:38:24: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
rootVC.presentedViewController?.dismiss(animated: false)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:41:20: warning: call to main actor-isolated instance method 'present(_:animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
rootVC.present(hostingController, animated: false, completion: nil)
^
UIKit.UIViewController.present:3:24: note: calls to instance method 'present(_:animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:15:17: note: add '@MainActor' to make instance method 'embeddedLogin(_:loginHint:)' part of global actor 'MainActor'
public func embeddedLogin(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:267:56: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
window = getRootVC(useAppRootVC)?.view.window
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:267:51: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
window = getRootVC(useAppRootVC)?.view.window
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:277:41: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:277:34: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:278:54: warning: main actor-isolated property 'session' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
sessionRef = WebAuthenticator.shared.session
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:17:9: note: property declared here
var session: ASWebAuthenticationSession? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:278:47: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
sessionRef = WebAuthenticator.shared.session
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:297:25: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
webView.load(request)
^
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
@MainActor open func load(_ request: URLRequest) -> WKNavigation?}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:311:56: warning: main actor-isolated property 'session' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let activeSession = WebAuthenticator.shared.session {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:17:9: note: property declared here
var session: ASWebAuthenticationSession? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:311:49: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let activeSession = WebAuthenticator.shared.session {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:313:37: warning: main actor-isolated property 'session' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.session = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:17:9: note: mutation of this property is only permitted within the actor
var session: ASWebAuthenticationSession? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:313:30: warning: main actor-isolated static property 'shared' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.session = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: mutation of this static property is only permitted within the actor
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:316:26: warning: call to main actor-isolated initializer 'init(parentVC:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let loginModal = EmbeddedLoginModal(parentVC: rootVC)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:21:12: note: calls to initializer 'init(parentVC:)' from outside of its actor context are implicitly asynchronous
public init(parentVC: UIViewController? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/embedded/EmbeddedLoginModal.swift:21:12: note: main actor isolation inferred from conformance to protocol 'View'
public init(parentVC: UIViewController? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:317:33: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let hostingController = UIHostingController(rootView: loginModal)
^
SwiftUI.UIHostingController.init:2:35: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
@MainActor @preconcurrency public init(rootView: Content)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:318:27: warning: main actor-isolated property 'modalPresentationStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
hostingController.modalPresentationStyle = .fullScreen
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:282:54: note: mutation of this property is only permitted within the actor
@property(nonatomic,assign) UIModalPresentationStyle modalPresentationStyle API_AVAILABLE(ios(3.2));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:320:32: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let presented = rootVC.presentedViewController
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:322:45: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
rootVC.presentedViewController?.dismiss(animated: false)
^
UIKit.UIViewController.dismiss:3:24: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:322:20: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
rootVC.presentedViewController?.dismiss(animated: false)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:324:16: warning: call to main actor-isolated instance method 'present(_:animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
rootVC.present(hostingController, animated: false, completion: nil)
^
UIKit.UIViewController.present:3:24: note: calls to instance method 'present(_:animated:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:50:17: note: add '@MainActor' to make instance method 'handleOpenUrl(_:_:internalHandleUrl:)' part of global actor 'MainActor'
public func handleOpenUrl(_ url: URL, _ useAppRootVC: Bool = false, internalHandleUrl:Bool = false) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:345:21: warning: capture of 'self' with non-sendable type 'FronteggAuth' in a '@Sendable' closure
self.credentialManager.saveLastActiveTenantId(tenantId)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:18:14: note: class 'FronteggAuth' does not conform to the 'Sendable' protocol
public class FronteggAuth: FronteggState {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:382:21: warning: capture of 'completion' with non-sendable type 'FronteggAuth.CompletionHandler?' (aka 'Optional<(Result<User, FronteggError>) -> ()>') in a '@Sendable' closure
completion?(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:382:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:345:21: warning: capture of 'self' with non-sendable type 'FronteggAuth' in an isolated closure; this is an error in the Swift 6 language mode
self.credentialManager.saveLastActiveTenantId(tenantId)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/FronteggAuth.swift:18:14: note: class 'FronteggAuth' does not conform to the 'Sendable' protocol
public class FronteggAuth: FronteggState {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:382:21: warning: capture of 'completion' with non-sendable type 'FronteggAuth.CompletionHandler?' (aka 'Optional<(Result<User, FronteggError>) -> ()>') in an isolated closure; this is an error in the Swift 6 language mode
completion?(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:382:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(.success(user))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:238:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
guard let self = self, !callbackReceived else { return }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:238:34: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self = self, !callbackReceived else { return }
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:238:41: warning: sending 'callbackReceived' risks causing data races; this is an error in the Swift 6 language mode
guard let self = self, !callbackReceived else { return }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:238:41: note: task-isolated 'callbackReceived' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
guard let self = self, !callbackReceived else { return }
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:241:34: warning: sending 'sessionRef' risks causing data races; this is an error in the Swift 6 language mode
if let session = sessionRef {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:241:34: note: task-isolated 'sessionRef' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let session = sessionRef {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:247:59: warning: sending 'verificationUrl' risks causing data races; this is an error in the Swift 6 language mode
if let urlComponents = URLComponents(url: verificationUrl, resolvingAgainstBaseURL: false),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:247:59: note: task-isolated 'verificationUrl' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let urlComponents = URLComponents(url: verificationUrl, resolvingAgainstBaseURL: false),
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:254:29: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
completion(.success(user))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:254:29: note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completion(.success(user))
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:271:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
mainWindow = getRootVC(useAppRootVC)?.view.window
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:271:34: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
mainWindow = getRootVC(useAppRootVC)?.view.window
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:277:41: warning: sending 'wrappedCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:277:41: note: sending task-isolated 'wrappedCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:281:51: warning: sending 'verificationUrl' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:281:51: note: task-isolated 'verificationUrl' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:281:128: warning: sending 'wrappedCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:281:128: note: task-isolated 'wrappedCallback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
WebAuthenticator.shared.start(verificationUrl, ephemeralSession: false, window: window, completionHandler: wrappedCallback)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:282:21: warning: sending 'sessionRef' risks causing data races; this is an error in the Swift 6 language mode
sessionRef = WebAuthenticator.shared.session
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:282:21: note: task-isolated 'sessionRef' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
sessionRef = WebAuthenticator.shared.session
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:365:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setRefreshToken(newRefreshToken)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:365:29: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setRefreshToken(newRefreshToken)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:380:37: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:380:37: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:488:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:488:29: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:494:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:494:29: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:442:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:442:25: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:419:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:419:25: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:398:45: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:398:45: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:433:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:433:25: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:501:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIsLoading(false)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+EmbeddedAndDeepLink.swift:501:25: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIsLoading(false)
^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:23:44: warning: sending 'c' risks causing data races; this is an error in the Swift 6 language mode
DispatchQueue.main.async { c(false) }
~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:23:44: note: task-isolated 'c' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
DispatchQueue.main.async { c(false) }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:95:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:97:28: note: closure captures 'self' which is accessible to code in the current task
if let token = resolveAccessTokenForCurrentUser() {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:44:48: warning: sending 'c' risks causing data races; this is an error in the Swift 6 language mode
DispatchQueue.main.async { c(success) }
~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+Entitlements.swift:44:48: note: task-isolated 'c' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
DispatchQueue.main.async { c(success) }
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:25:28: warning: immutable value 'codeVerifier' was never used; consider replacing with '_' or removing it
let (authorizeUrl, codeVerifier) = AuthorizeUrlGenerator.shared.generate(loginHint: loginHint)
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:33:33: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:14:17: note: add '@MainActor' to make instance method 'login(_:loginHint:)' part of global actor 'MainActor'
public func login(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:33:26: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:14:17: note: add '@MainActor' to make instance method 'login(_:loginHint:)' part of global actor 'MainActor'
public func login(_ _completion: FronteggAuth.CompletionHandler? = nil, loginHint: String? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:60:28: warning: immutable value 'codeVerifier' was never used; consider replacing with '_' or removing it
let (authorizeUrl, codeVerifier) = AuthorizeUrlGenerator.shared.generate(loginHint: loginHint, loginAction: loginAction)
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:67:33: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window:window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:54:17: note: add '@MainActor' to make instance method 'loginWithPopup(window:ephemeralSession:loginHint:loginAction:_completion:)' part of global actor 'MainActor'
public func loginWithPopup(window: UIWindow?, ephemeralSession: Bool? = true, loginHint: String? = nil, loginAction: String? = nil, _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:67:26: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window:window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:54:17: note: add '@MainActor' to make instance method 'loginWithPopup(window:ephemeralSession:loginHint:loginAction:_completion:)' part of global actor 'MainActor'
public func loginWithPopup(window: UIWindow?, ephemeralSession: Bool? = true, loginHint: String? = nil, loginAction: String? = nil, _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:109:28: warning: immutable value 'codeVerifier' was never used; consider replacing with '_' or removing it
let (authorizeUrl, codeVerifier) = generatedUrl
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:33: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:70:17: note: add '@MainActor' to make instance method 'directLoginAction(window:type:data:ephemeralSession:_completion:additionalQueryParams:remainCodeVerifier:action:)' part of global actor 'MainActor'
public func directLoginAction(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:26: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:70:17: note: add '@MainActor' to make instance method 'directLoginAction(window:type:data:ephemeralSession:_completion:additionalQueryParams:remainCodeVerifier:action:)' part of global actor 'MainActor'
public func directLoginAction(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:133: warning: main actor-isolated property 'window' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:128: warning: main actor-isolated property 'view' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:133:51: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let appDelegate = UIApplication.shared.delegate,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:89:66: note: property declared here
@property(nullable, nonatomic, assign) id<UIApplicationDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:133:44: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let appDelegate = UIApplication.shared.delegate,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:134:37: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = appDelegate.window,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:441:51: note: property declared here
@property (nullable, nonatomic, strong) UIWindow *window API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:135:33: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let rootVC = window?.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:66:57: note: property declared here
@property(nullable, nonatomic,strong) UIViewController *rootViewController API_AVAILABLE(ios(4.0)); // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:140:43: warning: main actor-isolated property 'presentedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let presented = rootVC.presentedViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:210:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentedViewController API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:148:39: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let rootVC = UIWindow.key?.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:66:57: note: property declared here
@property(nullable, nonatomic,strong) UIViewController *rootViewController API_AVAILABLE(ios(4.0)); // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:148:34: warning: main actor-isolated static property 'key' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let rootVC = UIWindow.key?.rootViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/UIWindow+FronteggPresentation.swift:10:16: note: static property declared here
static var key: UIWindow? {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:151:50: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let lastWindow = UIApplication.shared.windows.last,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: property declared here
@property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:151:43: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let lastWindow = UIApplication.shared.windows.last,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:152:36: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let rootVC = lastWindow.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:66:57: note: property declared here
@property(nullable, nonatomic,strong) UIViewController *rootViewController API_AVAILABLE(ios(4.0)); // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:130:19: note: add '@MainActor' to make instance method 'getRootVC' part of global actor 'MainActor'
internal func getRootVC(_ useAppRootVC: Bool = false) -> UIViewController? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:165:28: warning: immutable value 'codeVerifier' was never used; consider replacing with '_' or removing it
let (authorizeUrl, codeVerifier) = AuthorizeUrlGenerator.shared.generate(loginHint: email, remainCodeVerifier: true)
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:33: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:161:17: note: add '@MainActor' to make instance method 'loginWithSSO(email:_:)' part of global actor 'MainActor'
public func loginWithSSO(email: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:26: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:161:17: note: add '@MainActor' to make instance method 'loginWithSSO(email:_:)' part of global actor 'MainActor'
public func loginWithSSO(email: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:103: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:161:17: note: add '@MainActor' to make instance method 'loginWithSSO(email:_:)' part of global actor 'MainActor'
public func loginWithSSO(email: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:98: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:161:17: note: add '@MainActor' to make instance method 'loginWithSSO(email:_:)' part of global actor 'MainActor'
public func loginWithSSO(email: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:193:28: warning: immutable value 'codeVerifier' was never used; consider replacing with '_' or removing it
let (authorizeUrl, codeVerifier) = generatedUrl
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:202:33: warning: call to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: calls to instance method 'start(_:ephemeralSession:window:completionHandler:)' from outside of its actor context are implicitly asynchronous
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:41:10: note: main actor isolation inferred from conformance to protocol 'ASWebAuthenticationPresentationContextProviding'
func start(_ websiteURL:URL, ephemeralSession: Bool = false, window:UIWindow? = nil, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler) {
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:176:17: note: add '@MainActor' to make instance method 'loginWithCustomSSO(ssoUrl:_:)' part of global actor 'MainActor'
public func loginWithCustomSSO(ssoUrl: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:202:26: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/authenticators/WebAuthenticator.swift:14:16: note: static property declared here
static let shared = WebAuthenticator()
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:176:17: note: add '@MainActor' to make instance method 'loginWithCustomSSO(ssoUrl:_:)' part of global actor 'MainActor'
public func loginWithCustomSSO(ssoUrl: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:205:39: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
window: getRootVC()?.view.window,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:223:55: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *window;
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:176:17: note: add '@MainActor' to make instance method 'loginWithCustomSSO(ssoUrl:_:)' part of global actor 'MainActor'
public func loginWithCustomSSO(ssoUrl: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:205:34: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
window: getRootVC()?.view.window,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:176:17: note: add '@MainActor' to make instance method 'loginWithCustomSSO(ssoUrl:_:)' part of global actor 'MainActor'
public func loginWithCustomSSO(ssoUrl: String, _ _completion: FronteggAuth.CompletionHandler? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:33:33: warning: sending 'oauthCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, completionHandler: oauthCallback)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:33:33: note: sending task-isolated 'oauthCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(authorizeUrl, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:67:33: warning: sending 'oauthCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window:window, completionHandler: oauthCallback)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:67:33: note: sending task-isolated 'oauthCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window:window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:33: warning: sending 'oauthCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:126:33: note: sending task-isolated 'oauthCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: ephemeralSession ?? true, window: window ?? getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:33: warning: sending 'oauthCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:173:33: note: sending task-isolated 'oauthCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(authorizeUrl, ephemeralSession: true, window: getRootVC()?.view.window, completionHandler: oauthCallback)
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:202:33: warning: sending 'oauthCallback' risks causing data races; this is an error in the Swift 6 language mode
WebAuthenticator.shared.start(
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/auth/FronteggAuth+HostedFlows.swift:202:33: note: sending task-isolated 'oauthCallback' to main actor-isolated instance method 'start(_:ephemeralSession:window:completionHandler:)' risks causing data races between main actor-isolated and task-isolated uses
WebAuthenticator.shared.start(
^
SwiftDriverJobDiscovery normal arm64 Compiling SentryCppHelper.swift (in target 'SentryCppHelper' from project 'Sentry')
SwiftDriver\ Compilation SentryCppHelper normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SentryCppHelper' from project 'Sentry')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SentryCppHelper -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.swiftmodule -user-module-version 8.58.2 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name sentry_cocoa -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Emitting module for FronteggSwift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriver\ Compilation\ Requirements FronteggSwift normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name FronteggSwift -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.o normal (in target 'SentryCppHelper' from project 'Sentry')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/sentry-cocoa
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios12.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -w -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.o
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FronteggSwift-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-Swift.h (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FronteggSwift-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftmodule (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftdoc (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.abi.json (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/arm64-apple-ios.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftsourceinfo (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ Api.swift,\ CredentialManager.swift,\ Entitlements.swift,\ FeatureFlags.swift,\ MultiFactorAuthenticator.swift,\ StepUpAuthenticator.swift,\ FronteggState.swift,\ ConfigurationCheck.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Api.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/CredentialManager.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/FeatureFlags.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/MultiFactorAuthenticator.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Api.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Api.swift:27:7: warning: non-final class 'RedirectHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
class RedirectHandler: NSObject, URLSessionTaskDelegate {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/CredentialManager.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EntitlementState' may have shared mutable state; this is an error in the Swift 6 language mode
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:15:15: note: consider making struct 'EntitlementState' conform to the 'Sendable' protocol
public struct EntitlementState {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/Entitlements.swift:19:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let empty = EntitlementState(featureKeys: [], permissionKeys: [])
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/FeatureFlags.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/FeatureFlags.swift:47:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task { try? await self.refreshOnceAndSave() }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/FeatureFlags.swift:47:31: note: closure captures 'self' which is accessible to code in the current task
Task { try? await self.refreshOnceAndSave() }
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/MultiFactorAuthenticator.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift:68:17: warning: sending 'updatedCompletion' risks causing data races; this is an error in the Swift 6 language mode
updatedCompletion,
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift:68:17: note: task-isolated 'updatedCompletion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
updatedCompletion,
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift:55:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
completion?(result)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/services/StepUpAuthenticator.swift:55:17: note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completion?(result)
^~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift:76:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIfChanged(\.isOfflineMode, v)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift:76:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIfChanged(\.isOfflineMode, v)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift:85:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self.setIfChanged(\.refreshingToken, v)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/state/FronteggState.swift:85:17: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self.setIfChanged(\.refreshingToken, v)
^~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:116:21: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure
defer { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:116:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
defer { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:116:21: warning: capture of 'completion' with non-sendable type '() -> Void' in an isolated local function; this is an error in the Swift 6 language mode
defer { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:116:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
defer { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:191:17: warning: capture of 'completion' with non-sendable type '(Result<Void, DebugConfigurationChecker.DebugCheckError>) -> Void' in a '@Sendable' closure
completion(.failure(.requestFailed(error.localizedDescription)))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:191:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.failure(.requestFailed(error.localizedDescription)))
^
/Users/admin/builder/spi-builder-workspace/Sources/FronteggSwift/utils/ConfigurationCheck.swift:219:13: warning: mutation of captured var 'status' in concurrently-executing code; this is an error in the Swift 6 language mode
status = (path.status == .satisfied)
^
SwiftDriverJobDiscovery normal arm64 Compiling SocialLoginConfig.swift, Tenant.swift, User.swift, UserRole.swift, UserRolePermission.swift, AuthenticationError.swift, ConfigurationError.swift, FronteggError.swift (in target 'FronteggSwift' from project 'FronteggSwift')
ExtractAppIntentsMetadata (in target 'SentryCppHelper' from project 'Sentry')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/sentry-cocoa
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name SentryCppHelper --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk --xcode-version 16E140 --platform-family iOS --deployment-target 12.0 --bundle-identifier sentry-cocoa.SentryCppHelper --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.appintents --target-triple arm64-apple-ios12.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/SentryCppHelper.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/SentryCppHelper.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Sentry.build/Debug-iphoneos/SentryCppHelper.build/Objects-normal/arm64/SentryCppHelper.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-05-05 06:38:22.835 appintentsmetadataprocessor[859:4949] Starting appintentsmetadataprocessor export
2026-05-05 06:38:22.884 appintentsmetadataprocessor[859:4949] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.o (in target 'SentryCppHelper' from project 'Sentry')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/sentry-cocoa
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/SentryCppHelper.o
SwiftDriverJobDiscovery normal arm64 Compiling NoRedirectSessionDelegate.swift, PlistHelper.swift, SDKVersion.swift, SentryHelper.swift, TraceIdLogger.swift, UIWindow+FronteggPresentation.swift, UrlHelper.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling Constants.swift, EncodingUtils.swift, FronteggOAuthToastPresenter.swift, FronteggRuntime.swift, JWTHelper.swift, Logger.swift, NetworkStatusMonitor.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling FronteggPlist.swift, MultiRegionConfig.swift, RegionConfig.swift, SingleRegionConfig.swift, WebauthnAssertion.swift, WebauthnCallback.swift, WebauthnPreloginResponse.swift, WebauthnRegistration.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling FronteggAuth+Logout.swift, FronteggAuth+MFA.swift, FronteggAuth+OAuthCallbacks.swift, FronteggAuth+OAuthErrors.swift, FronteggAuth+Passkeys.swift, FronteggAuth+Refresh.swift, FronteggAuth+RegionManagement.swift, FronteggAuth+SessionRestore.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling Api.swift, CredentialManager.swift, Entitlements.swift, FeatureFlags.swift, MultiFactorAuthenticator.swift, StepUpAuthenticator.swift, FronteggState.swift, ConfigurationCheck.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling EmbeddedLoginModal.swift, EmbeddedLoginPage.swift, FronteggWKContentController.swift, FronteggWebView.swift, AuthResponse.swift, AuthTypes.swift, Entitlement.swift, Passkeys.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling FronteggApp.swift, FronteggAuth.swift, FronteggAuth+Authorization.swift, FronteggAuth+Connectivity.swift, FronteggAuth+CredentialHydration.swift, FronteggAuth+EmbeddedAndDeepLink.swift, FronteggAuth+Entitlements.swift, FronteggAuth+HostedFlows.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling generateErrorPage.swift, AuthorizeUrlGenerator.swift, SocialLoginUrlGenerator.swift, AbstractFronteggController.swift, DefaultLoader.swift, FronteggUIKitWrapper.swift, FronteggWrapper.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriverJobDiscovery normal arm64 Compiling FronteggAuth+SocialFlows.swift, FronteggAuth+SocialLoginCallback.swift, FronteggAuth+StepUp.swift, FronteggAuth+Testing.swift, AppleAuthenticator.swift, PasskeysAuthenticator.swift, WebAuthenticator.swift, CustomWebView.swift (in target 'FronteggSwift' from project 'FronteggSwift')
SwiftDriver\ Compilation FronteggSwift normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name FronteggSwift -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.o normal (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios14.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.o
ExtractAppIntentsMetadata (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name FronteggSwift --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk --xcode-version 16E140 --platform-family iOS --deployment-target 14.0 --bundle-identifier spi-builder-workspace.FronteggSwift --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.appintents --target-triple arm64-apple-ios14.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/FronteggSwift.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/FronteggSwift.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FronteggSwift.build/Debug-iphoneos/FronteggSwift.build/Objects-normal/arm64/FronteggSwift.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-05-05 06:38:24.094 appintentsmetadataprocessor[862:4984] Starting appintentsmetadataprocessor export
2026-05-05 06:38:24.129 appintentsmetadataprocessor[862:4984] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.o (in target 'FronteggSwift' from project 'FronteggSwift')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/FronteggSwift.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
{
"identity" : "sentry-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "8.46.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getsentry/sentry-cocoa.git"
}
],
"manifest_display_name" : "FronteggSwift",
"name" : "FronteggSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "FronteggSwift",
"targets" : [
"FronteggSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FronteggSwiftTests",
"module_type" : "SwiftTarget",
"name" : "FronteggSwiftTests",
"path" : "Tests/FronteggSwiftTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/FronteggSwiftTests/MockRegions",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ApiGetRequestDiagnosticsTests.swift",
"ApiHelperTests.swift",
"ApiMeRecoveryTests.swift",
"ApiMeTests.swift",
"AuthResponseTests.swift",
"AuthenticationErrorTests.swift",
"AuthorizeUrlGeneratorTests.swift",
"ConstantsTests.swift",
"CredentialManagerTests.swift",
"CustomWebViewTests.swift",
"DisableAutoRefreshTests.swift",
"EncodingUtilsTests.swift",
"EntitlementsTests.swift",
"FeatureFlagsTests.swift",
"FronteggAuthEntitlementsTests.swift",
"FronteggAuthOAuthCallbackTests.swift",
"FronteggAuthRefreshRecoveryTests.swift",
"FronteggAuthRegionManagementTests.swift",
"FronteggAuthResetForTestingTests.swift",
"FronteggErrorTests.swift",
"FronteggStateTests.swift",
"JWTHelperTests.swift",
"LogLevelMappingTests.swift",
"LoggerDelegateTests.swift",
"LoginPerAccountTests.swift",
"MockRegion.swift",
"MultiFactorAuthenticatorTests.swift",
"NetworkStatusMonitorTests.swift",
"OfflineScenarioTests.swift",
"PackageConfigurationTests.swift",
"PlistHelperTests.swift",
"RegionConfigTests.swift",
"SDKCompatibilityTests.swift",
"SentryLoggingTests.swift",
"SocialLoginConfigTests.swift",
"SocialLoginUrlGeneratorTests.swift",
"StepUpAuthenticatorTests.swift",
"SuggestSavePasswordTests.swift",
"TenantTests.swift",
"TestDataFactory.swift",
"UrlHelperExtendedTests.swift",
"UrlHelperTests.swift",
"UserFromJWTTests.swift",
"UserRolePermissionTests.swift",
"UserRoleTests.swift",
"UserTests.swift"
],
"target_dependencies" : [
"FronteggSwift"
],
"type" : "test"
},
{
"c99name" : "FronteggSwift",
"module_type" : "SwiftTarget",
"name" : "FronteggSwift",
"path" : "Sources/FronteggSwift",
"product_dependencies" : [
"Sentry"
],
"product_memberships" : [
"FronteggSwift"
],
"sources" : [
"FronteggApp.swift",
"FronteggAuth.swift",
"auth/FronteggAuth+Authorization.swift",
"auth/FronteggAuth+Connectivity.swift",
"auth/FronteggAuth+CredentialHydration.swift",
"auth/FronteggAuth+EmbeddedAndDeepLink.swift",
"auth/FronteggAuth+Entitlements.swift",
"auth/FronteggAuth+HostedFlows.swift",
"auth/FronteggAuth+Logout.swift",
"auth/FronteggAuth+MFA.swift",
"auth/FronteggAuth+OAuthCallbacks.swift",
"auth/FronteggAuth+OAuthErrors.swift",
"auth/FronteggAuth+Passkeys.swift",
"auth/FronteggAuth+Refresh.swift",
"auth/FronteggAuth+RegionManagement.swift",
"auth/FronteggAuth+SessionRestore.swift",
"auth/FronteggAuth+SocialFlows.swift",
"auth/FronteggAuth+SocialLoginCallback.swift",
"auth/FronteggAuth+StepUp.swift",
"auth/FronteggAuth+Testing.swift",
"authenticators/AppleAuthenticator.swift",
"authenticators/PasskeysAuthenticator.swift",
"authenticators/WebAuthenticator.swift",
"embedded/CustomWebView.swift",
"embedded/EmbeddedLoginModal.swift",
"embedded/EmbeddedLoginPage.swift",
"embedded/FronteggWKContentController.swift",
"embedded/FronteggWebView.swift",
"models/AuthResponse.swift",
"models/AuthTypes.swift",
"models/Entitlement.swift",
"models/Passkeys.swift",
"models/SocialLoginConfig.swift",
"models/Tenant.swift",
"models/User.swift",
"models/UserRole.swift",
"models/UserRolePermission.swift",
"models/errors/AuthenticationError.swift",
"models/errors/ConfigurationError.swift",
"models/errors/FronteggError.swift",
"models/plist/FronteggPlist.swift",
"models/plist/MultiRegionConfig.swift",
"models/plist/RegionConfig.swift",
"models/plist/SingleRegionConfig.swift",
"models/webauthn/WebauthnAssertion.swift",
"models/webauthn/WebauthnCallback.swift",
"models/webauthn/WebauthnPreloginResponse.swift",
"models/webauthn/WebauthnRegistration.swift",
"services/Api.swift",
"services/CredentialManager.swift",
"services/Entitlements.swift",
"services/FeatureFlags.swift",
"services/MultiFactorAuthenticator.swift",
"services/StepUpAuthenticator.swift",
"state/FronteggState.swift",
"utils/ConfigurationCheck.swift",
"utils/Constants.swift",
"utils/EncodingUtils.swift",
"utils/FronteggOAuthToastPresenter.swift",
"utils/FronteggRuntime.swift",
"utils/JWTHelper.swift",
"utils/Logger.swift",
"utils/NetworkStatusMonitor.swift",
"utils/NoRedirectSessionDelegate.swift",
"utils/PlistHelper.swift",
"utils/SDKVersion.swift",
"utils/SentryHelper.swift",
"utils/TraceIdLogger.swift",
"utils/UIWindow+FronteggPresentation.swift",
"utils/UrlHelper.swift",
"utils/generateErrorPage.swift",
"utils/generators/AuthorizeUrlGenerator.swift",
"utils/generators/SocialLoginUrlGenerator.swift",
"views/AbstractFronteggController.swift",
"views/DefaultLoader.swift",
"views/FronteggUIKitWrapper.swift",
"views/FronteggWrapper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.