The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PopupBridge with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/popup-bridge-ios.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/braintree/popup-bridge-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at acd459c Bumped Xcode version in README.md (#63)
Cloned https://github.com/braintree/popup-bridge-ios.git
Revision (git rev-parse @):
acd459c8c7ec86a9222e61e5ce2ace91cc0e58ac
SUCCESS checkout https://github.com/braintree/popup-bridge-ios.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "popup-bridge-ios",
      "name": "PopupBridge",
      "url": "https://github.com/braintree/popup-bridge-ios.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/popup-bridge-ios",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/braintree/popup-bridge-ios.git
[1/1856] Fetching popup-bridge-ios
Fetched https://github.com/braintree/popup-bridge-ios.git from cache (0.32s)
Creating working copy for https://github.com/braintree/popup-bridge-ios.git
Working copy of https://github.com/braintree/popup-bridge-ios.git resolved at main (acd459c)
warning: '.resolve-product-dependencies': dependency 'popup-bridge-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/braintree/popup-bridge-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-6044DDE57671499D.txt
[4/11] Compiling PopupBridge resource_bundle_accessor.swift
[5/11] Compiling PopupBridge URLDetailsPayload.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling PopupBridge WebViewMessage.swift
[7/11] Compiling PopupBridge PopupBridgeUserScript.swift
[8/11] Compiling PopupBridge PopupBridgeConstants.swift
[9/11] Emitting module PopupBridge
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:49: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:17: note: add @available attribute to enclosing instance method
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:6:32: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    var authenticationSession: ASWebAuthenticationSession?
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:10:18: error: 'ASWebAuthenticationPresentationContextProviding' is only available in macOS 10.15 or newer
        context: ASWebAuthenticationPresentationContextProviding,
                 ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[10/11] Compiling PopupBridge WebAuthenticationSession.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:6:32: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    var authenticationSession: ASWebAuthenticationSession?
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:10:18: error: 'ASWebAuthenticationPresentationContextProviding' is only available in macOS 10.15 or newer
        context: ASWebAuthenticationPresentationContextProviding,
                 ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:18:61: error: 'ASWebAuthenticationSessionError' is only available in macOS 10.15 or newer
            if let error = error as? NSError, error.code == ASWebAuthenticationSessionError.canceledLogin.rawValue {
                                                            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:18:61: note: add 'if #available' version check
            if let error = error as? NSError, error.code == ASWebAuthenticationSessionError.canceledLogin.rawValue {
                                                            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: note: add 'if #available' version check
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: note: add 'if #available' version check
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[11/11] Compiling PopupBridge POPPopupBridge.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:49: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:17: note: add @available attribute to enclosing instance method
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:153:30: error: cannot find 'UIApplication' in scope
            let firstScene = UIApplication.shared.connectedScenes.first as? UIWindowScene
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:153:77: error: cannot find type 'UIWindowScene' in scope
            let firstScene = UIApplication.shared.connectedScenes.first as? UIWindowScene
                                                                            ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:157:26: error: cannot find 'UIApplication' in scope
            let window = UIApplication.shared.windows.first { $0.isKeyWindow }
                         ^~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module PopupBridge
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:49: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:17: note: add @available attribute to enclosing instance method
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:6:32: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    var authenticationSession: ASWebAuthenticationSession?
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:10:18: error: 'ASWebAuthenticationPresentationContextProviding' is only available in macOS 10.15 or newer
        context: ASWebAuthenticationPresentationContextProviding,
                 ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[3/4] Compiling PopupBridge POPPopupBridge.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:49: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                                                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:151:17: note: add @available attribute to enclosing instance method
    public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:153:30: error: cannot find 'UIApplication' in scope
            let firstScene = UIApplication.shared.connectedScenes.first as? UIWindowScene
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:153:77: error: cannot find type 'UIWindowScene' in scope
            let firstScene = UIApplication.shared.connectedScenes.first as? UIWindowScene
                                                                            ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:157:26: error: cannot find 'UIApplication' in scope
            let window = UIApplication.shared.windows.first { $0.isKeyWindow }
                         ^~~~~~~~~~~~~
[4/4] Compiling PopupBridge WebAuthenticationSession.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:6:32: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    var authenticationSession: ASWebAuthenticationSession?
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:10:18: error: 'ASWebAuthenticationPresentationContextProviding' is only available in macOS 10.15 or newer
        context: ASWebAuthenticationPresentationContextProviding,
                 ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:18:61: error: 'ASWebAuthenticationSessionError' is only available in macOS 10.15 or newer
            if let error = error as? NSError, error.code == ASWebAuthenticationSessionError.canceledLogin.rawValue {
                                                            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:18:61: note: add 'if #available' version check
            if let error = error as? NSError, error.code == ASWebAuthenticationSessionError.canceledLogin.rawValue {
                                                            ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: note: add 'if #available' version check
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: note: add 'if #available' version check
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
error: fatalError
BUILD FAILURE 5.10 macosSpm