The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/popup-bridge-ios.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/braintree/popup-bridge-ios
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at c1bff82 Bump version to 2.1.0
Cloned https://github.com/braintree/popup-bridge-ios.git
Revision (git rev-parse @):
c1bff82090b8807fae54837acf2fa94d53a31fa9
SUCCESS checkout https://github.com/braintree/popup-bridge-ios.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/braintree/popup-bridge-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/8] Compiling PopupBridge PopupBridgeUserScript.swift
[3/8] Compiling PopupBridge URLDetailsPayload.swift
[4/8] Compiling PopupBridge WebAuthenticationSession.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: note: add 'if #available' version check
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: note: add 'if #available' version check
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[5/8] Compiling PopupBridge WebViewMessage.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: note: add 'if #available' version check
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: note: add 'if #available' version check
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module PopupBridge
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[7/9] Compiling PopupBridge POPPopupBridge.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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 }
                         ^~~~~~~~~~~~~
[8/9] Compiling PopupBridge PopupBridgeConstants.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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 }
                         ^~~~~~~~~~~~~
[9/9] Compiling PopupBridge resource_bundle_accessor.swift
[0/1] Planning build
Building for debugging...
[1/4] Compiling PopupBridge WebAuthenticationSession.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:14:38: note: add 'if #available' version check
        self.authenticationSession = ASWebAuthenticationSession(
                                     ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:25:32: note: add 'if #available' version check
        authenticationSession?.prefersEphemeralWebBrowserSession = true
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:26:32: note: add 'if #available' version check
        authenticationSession?.presentationContextProvider = context
                               ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[2/5] Compiling PopupBridge PopupBridgeConstants.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module PopupBridge
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:8:10: note: add @available attribute to enclosing instance method
    func start(
         ^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/WebAuthenticationSession.swift:4:7: note: add @available attribute to enclosing class
class WebAuthenticationSession: NSObject {
      ^
[4/5] Compiling PopupBridge POPPopupBridge.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PopupBridge/POPPopupBridge.swift:149:1: note: add @available attribute to enclosing extension
extension POPPopupBridge: ASWebAuthenticationPresentationContextProviding {
^
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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 }
                         ^~~~~~~~~~~~~
[5/5] Compiling PopupBridge WebViewMessage.swift
BUILD FAILURE 5.8 macosSpm