The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SafariUI, reference main (2b5d7d), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 09:01:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/SafariUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vsanthanam/SafariUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b5d7d2 Update installation instructions in README.md
Cloned https://github.com/vsanthanam/SafariUI.git
Revision (git rev-parse @):
2b5d7d223881392b33be55f0057b8d90e0bb258f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vsanthanam/SafariUI.git at main
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
[1341/52154] Fetching swift-docc-plugin, swift-docc-symbolkit, swiftformat
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.23s)
[4386/48779] Fetching swift-docc-plugin, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (31.65s)
Fetched https://github.com/apple/swift-docc-plugin from cache (31.65s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (32.92s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.58s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.64s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "safariui",
      "name": "SafariUI",
      "url": "https://github.com/vsanthanam/SafariUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SafariUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vsanthanam/SafariUI.git
[1/954] Fetching safariui
Fetched https://github.com/vsanthanam/SafariUI.git from cache (0.74s)
Creating working copy for https://github.com/vsanthanam/SafariUI.git
Working copy of https://github.com/vsanthanam/SafariUI.git resolved at main (2b5d7d2)
warning: '.resolve-product-dependencies': dependency 'safariui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vsanthanam/SafariUI.git
https://github.com/vsanthanam/SafariUI.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.55.5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "SafariUI",
  "name" : "SafariUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SafariUI",
      "targets" : [
        "SafariUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SafariView",
      "targets" : [
        "SafariView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WebAuthentication",
      "targets" : [
        "WebAuthentication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebAuthentication",
      "module_type" : "SwiftTarget",
      "name" : "WebAuthentication",
      "path" : "Sources/WebAuthentication",
      "product_memberships" : [
        "SafariUI",
        "WebAuthentication"
      ],
      "sources" : [
        "Environment.swift",
        "Modifiers.swift",
        "Presentation.swift",
        "WebAuthentication.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SafariView",
      "module_type" : "SwiftTarget",
      "name" : "SafariView",
      "path" : "Sources/SafariView",
      "product_memberships" : [
        "SafariUI",
        "SafariView"
      ],
      "sources" : [
        "DismissButtonStyle.swift",
        "Environment.swift",
        "ExcludedActivityTypes.swift",
        "IncludedActivities.swift",
        "Modifiers.swift",
        "Presentation/BoolPresentation.swift",
        "Presentation/BoolURLPresentation.swift",
        "Presentation/ItemPresentation.swift",
        "Presentation/PresentationStyle.swift",
        "Presentation/URLPresentation.swift",
        "Presentation/WrappedItemPresentation.swift",
        "PrewarmingToken.swift",
        "SafariView.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SafariUI",
      "module_type" : "SwiftTarget",
      "name" : "SafariUI",
      "path" : "Sources/SafariUI",
      "product_memberships" : [
        "SafariUI"
      ],
      "sources" : [
        "SafariUI.swift"
      ],
      "target_dependencies" : [
        "SafariView",
        "WebAuthentication"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/25] Compiling SafariView PrewarmingToken.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[9/25] Compiling SafariView WrappedItemPresentation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/26] Compiling SafariView URLPresentation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[11/26] Emitting module WebAuthentication
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:28:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
26 | import SwiftUI
27 |
28 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |
30 |     var webAuthenticationPrefersEphemeralWebBrowserSession: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:37:119: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:55:41: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:54:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
52 |     // MARK: - ViewModifier
53 |
54 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:40:24: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
   |                        `- error: 'Binding' is only available in macOS 10.15 or newer
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:42:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:32: error: 'Identifiable' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |                                `- error: 'Identifiable' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:56:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:72:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:75:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
75 |     ) -> some View where Identifier: Hashable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:104:10: error: 'Binding' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
105 |         var isPresented: Bool
106 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:110:45: error: 'View' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
108 |
109 |         @ViewBuilder
110 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:109:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
107 |         let build: () -> WebAuthentication
108 |
109 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
110 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:121:10: error: 'Environment' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
119 |         }
120 |
121 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:126:14: error: 'Binding' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
125 |
126 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
127 |             var isPresented: Bool
128 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:50: error: cannot find type 'UIView' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:38: error: cannot find type 'Context' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:41: error: cannot find type 'UIView' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:58: error: cannot find type 'Context' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:153:28: error: cannot find 'UIView' in scope
151 |                 }
152 |
153 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
154 |                 var parent: Presenter
155 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:169:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
167 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
168 |
169 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
170 |
171 |                 private func start() {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:381:15: error: cannot find type 'UIView' in scope
379 |
380 | private protocol WebAuthenticationCoordinator: NSObject {
381 |     var view: UIView { get }
    |               `- error: cannot find type 'UIView' in scope
382 | }
383 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:124:35: error: cannot find type 'UIViewRepresentable' in scope
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
125 |
126 |             @Binding
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:202:10: error: 'Binding' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
201 |
202 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
203 |         var item: Item?
204 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:210:45: error: 'View' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
208 |
209 |         @ViewBuilder
210 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:209:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
207 |         // MARK: - ViewModifier
208 |
209 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
210 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:223:10: error: 'Environment' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
221 |         // MARK: - Private
222 |
223 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:230:14: error: 'Binding' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
227 |
228 |             // MARK: - API
229 |
230 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
231 |             var item: Item?
232 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:50: error: cannot find type 'UIView' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:38: error: cannot find type 'Context' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:41: error: cannot find type 'UIView' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:58: error: cannot find type 'Context' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:262:28: error: cannot find 'UIView' in scope
260 |                 // MARK: - API
261 |
262 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
263 |                 var parent: Presenter
264 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:287:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
285 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
286 |
287 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
288 |
289 |                 private func start(_ item: Item) {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:226:35: error: cannot find type 'UIViewRepresentable' in scope
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
227 |
228 |             // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:198:70: error: 'Identifiable' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |                                                         `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:320:10: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
319 |
320 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
321 |         var item: Item?
322 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:329:45: error: 'View' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
327 |
328 |         @ViewBuilder
329 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:328:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
326 |         // MARK: - ViewModifier
327 |
328 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
329 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:344:30: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:373:54: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
357 |
358 | @MainActor
359 | private final class ContextProvider<T: WebAuthenticationCoordinator>: NSObject, ASWebAuthenticationPresentationContextProviding {
    |                     `- note: add @available attribute to enclosing generic class
360 |
361 |     // MARK: - Initializers
    :
371 |     // MARK: - ASWebAuthenticationPresentationContextProviding
372 |
373 |     nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
    |                      |                               `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing instance method
374 |         MainActor.assumeIsolated {
375 |             coordinator.view.window ?? ASPresentationAnchor()
[12/26] Compiling WebAuthentication Modifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:37:119: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:55:41: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:54:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
52 |     // MARK: - ViewModifier
53 |
54 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:39:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |     }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:39:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |     }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:57:14: error: 'environment' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
58 |     }
59 |
[13/26] Compiling WebAuthentication Presentation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:40:24: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
   |                        `- error: 'Binding' is only available in macOS 10.15 or newer
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:42:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:32: error: 'Identifiable' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |                                `- error: 'Identifiable' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:56:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:72:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:75:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
75 |     ) -> some View where Identifier: Hashable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:44:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
45 |     }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:44:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
45 |     }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:60:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
61 |     }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:60:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
61 |     }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:77:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
   :
75 |     ) -> some View where Identifier: Hashable {
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
78 |     }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:77:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
   :
75 |     ) -> some View where Identifier: Hashable {
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
78 |     }
79 |
[14/26] Compiling WebAuthentication Environment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:28:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
26 | import SwiftUI
27 |
28 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |
30 |     var webAuthenticationPrefersEphemeralWebBrowserSession: Bool {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/26] Emitting module SafariView
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[16/26] Compiling WebAuthentication WebAuthentication.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:104:10: error: 'Binding' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
105 |         var isPresented: Bool
106 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:110:45: error: 'View' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
108 |
109 |         @ViewBuilder
110 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:109:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
107 |         let build: () -> WebAuthentication
108 |
109 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
110 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:121:10: error: 'Environment' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
119 |         }
120 |
121 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:126:14: error: 'Binding' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
125 |
126 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
127 |             var isPresented: Bool
128 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:50: error: cannot find type 'UIView' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:38: error: cannot find type 'Context' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:41: error: cannot find type 'UIView' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:58: error: cannot find type 'Context' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:153:28: error: cannot find 'UIView' in scope
151 |                 }
152 |
153 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
154 |                 var parent: Presenter
155 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:169:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
167 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
168 |
169 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
170 |
171 |                 private func start() {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:381:15: error: cannot find type 'UIView' in scope
379 |
380 | private protocol WebAuthenticationCoordinator: NSObject {
381 |     var view: UIView { get }
    |               `- error: cannot find type 'UIView' in scope
382 | }
383 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:124:35: error: cannot find type 'UIViewRepresentable' in scope
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
125 |
126 |             @Binding
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:202:10: error: 'Binding' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
201 |
202 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
203 |         var item: Item?
204 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:210:45: error: 'View' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
208 |
209 |         @ViewBuilder
210 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:209:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
207 |         // MARK: - ViewModifier
208 |
209 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
210 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:223:10: error: 'Environment' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
221 |         // MARK: - Private
222 |
223 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:230:14: error: 'Binding' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
227 |
228 |             // MARK: - API
229 |
230 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
231 |             var item: Item?
232 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:50: error: cannot find type 'UIView' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:38: error: cannot find type 'Context' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:41: error: cannot find type 'UIView' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:58: error: cannot find type 'Context' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:262:28: error: cannot find 'UIView' in scope
260 |                 // MARK: - API
261 |
262 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
263 |                 var parent: Presenter
264 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:287:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
285 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
286 |
287 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
288 |
289 |                 private func start(_ item: Item) {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:226:35: error: cannot find type 'UIViewRepresentable' in scope
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
227 |
228 |             // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:198:70: error: 'Identifiable' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |                                                         `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:320:10: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
319 |
320 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
321 |         var item: Item?
322 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:329:45: error: 'View' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
327 |
328 |         @ViewBuilder
329 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:328:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
326 |         // MARK: - ViewModifier
327 |
328 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
329 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:344:30: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:373:54: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
357 |
358 | @MainActor
359 | private final class ContextProvider<T: WebAuthenticationCoordinator>: NSObject, ASWebAuthenticationPresentationContextProviding {
    |                     `- note: add @available attribute to enclosing generic class
360 |
361 |     // MARK: - Initializers
    :
371 |     // MARK: - ASWebAuthenticationPresentationContextProviding
372 |
373 |     nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
    |                      |                               `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing instance method
374 |         MainActor.assumeIsolated {
375 |             coordinator.view.window ?? ASPresentationAnchor()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:112:18: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.BoolModifier.Presenter' conform to 'ShapeStyle'
110 |         func body(content: Content) -> some View {
111 |             content
112 |                 .background(
    |                  `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.BoolModifier.Presenter' conform to 'ShapeStyle'
113 |                     Presenter(
114 |                         isPresented: $isPresented,
SwiftUICore.View.background:2:36: note: where 'S' = 'WebAuthentication.BoolModifier.Presenter'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'WebAuthentication.BoolModifier.Presenter'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:135:17: error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
132 |             // MARK: - UIViewRepresentable
133 |
134 |             func makeCoordinator() -> Coordinator {
    |                  `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
135 |                 Coordinator(parent: self)
    |                 `- error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
136 |             }
137 |
    :
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
149 |                 init(parent: Presenter) {
    |                 `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
150 |                     self.parent = parent
151 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:173:35: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
174 |                         url: representation.url,
175 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:173:35: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
174 |                         url: representation.url,
175 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:177:25: error: setter for 'isPresented' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
175 |                         callbackURLScheme: representation.callbackURLScheme
176 |                     ) { callback, error in
177 |                         self.parent.isPresented = false
    |                         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
178 |                         if let callback {
179 |                             representation.completionHandler(.success(callback))
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:187:29: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
185 |                     }
186 |
187 |                     session.presentationContextProvider = contextProvider
    |                             |- error: 'presentationContextProvider' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
188 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
189 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:188:29: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
186 |
187 |                     session.presentationContextProvider = contextProvider
188 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
    |                             |- error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
189 |
190 |                     session.start()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:212:18: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter' conform to 'ShapeStyle'
210 |         func body(content: Content) -> some View {
211 |             content
212 |                 .background(
    |                  `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter' conform to 'ShapeStyle'
213 |                     Presenter(
214 |                         item: $item,
SwiftUICore.View.background:2:36: note: where 'S' = 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:239:17: error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
236 |             // MARK: - UIViewRepresentable
237 |
238 |             func makeCoordinator() -> Coordinator {
    |                  `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
239 |                 Coordinator(parent: self)
    |                 `- error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
240 |             }
241 |
    :
254 |                 // MARK: - Initializers
255 |
256 |                 init(parent: Presenter) {
    |                 `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
257 |                     self.parent = parent
258 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:291:35: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
292 |                         url: representation.url,
293 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:291:35: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
292 |                         url: representation.url,
293 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:295:25: error: setter for 'item' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
293 |                         callbackURLScheme: representation.callbackURLScheme
294 |                     ) { callback, error in
295 |                         self.parent.item = nil
    |                         |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
296 |                         if let callback {
297 |                             representation.completionHandler(.success(callback))
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:305:29: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
303 |                     }
304 |
305 |                     session.presentationContextProvider = contextProvider
    |                             |- error: 'presentationContextProvider' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
306 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
307 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:306:29: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
304 |
305 |                     session.presentationContextProvider = contextProvider
306 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
    |                             |- error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
307 |
308 |                     session.start()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:345:13: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
    |             |- error: 'Binding' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
346 |                 item.map(wrap)
347 |             } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:348:17: error: setter for 'item' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
347 |             } set: { newValue in
348 |                 item = newValue?.wrapped
    |                 |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
349 |             }
350 |         }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/22] Compiling SafariView PrewarmingToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[6/23] Compiling SafariView URLPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[7/23] Compiling SafariView PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[8/23] Compiling SafariView WrappedItemPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[9/23] Compiling SafariView ItemPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[10/23] Compiling SafariView Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[11/23] Compiling SafariView BoolPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/23] Compiling WebAuthentication Presentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:40:24: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
   |                        `- error: 'Binding' is only available in macOS 10.15 or newer
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:42:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:32: error: 'Identifiable' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |                                `- error: 'Identifiable' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:56:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:72:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:75:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
75 |     ) -> some View where Identifier: Hashable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:44:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
45 |     }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:44:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
45 |     }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:60:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
61 |     }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:60:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
61 |     }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:77:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
   :
75 |     ) -> some View where Identifier: Hashable {
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
78 |     }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:77:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
   :
75 |     ) -> some View where Identifier: Hashable {
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
78 |     }
79 |
[13/23] Emitting module WebAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:28:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
26 | import SwiftUI
27 |
28 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |
30 |     var webAuthenticationPrefersEphemeralWebBrowserSession: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:37:119: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:55:41: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:54:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
52 |     // MARK: - ViewModifier
53 |
54 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:40:24: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
   |                        `- error: 'Binding' is only available in macOS 10.15 or newer
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:42:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
37 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
38 |     /// - Returns: The modified view
39 |     func webAuthentication(
   |          `- note: add @available attribute to enclosing instance method
40 |         _ isPresented: Binding<Bool>,
41 |         webAuthentication: @escaping () -> WebAuthentication
42 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
43 |         let modifier = WebAuthentication.BoolModifier(isPresented: isPresented, build: webAuthentication)
44 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:32: error: 'Identifiable' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |                                `- error: 'Identifiable' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:56:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:58:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
53 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present
54 |     /// - Returns: The modified view
55 |     func webAuthentication<Item>(
   |          `- note: add @available attribute to enclosing instance method
56 |         _ item: Binding<Item?>,
57 |         webAuthentication: @escaping (Item) -> WebAuthentication
58 |     ) -> some View where Item: Identifiable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
59 |         let modifier = WebAuthentication.IdentifiableItemModitifer(item: item, build: webAuthentication)
60 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:72:17: error: 'Binding' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
   |                 `- error: 'Binding' is only available in macOS 10.15 or newer
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:75:15: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
   :
69 |     ///   - id: A keypath used to generate stable identifier for instances of `Item`.
70 |     ///   - webAuthentication: A closure that returns the ``WebAuthentication`` to present.
71 |     func webAuthentication<Item, Identifier>(
   |          `- note: add @available attribute to enclosing instance method
72 |         _ item: Binding<Item?>,
73 |         id: KeyPath<Item, Identifier>,
74 |         webAuthentication: @escaping (Item) -> WebAuthentication
75 |     ) -> some View where Identifier: Hashable {
   |               `- error: 'View' is only available in macOS 10.15 or newer
76 |         let modifier = WebAuthentication.ItemModifier(item: item, id: id, build: webAuthentication)
77 |         return ModifiedContent(content: self, modifier: modifier)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Presentation.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Presents a ``WebAuthentication`` when a binding to a Boolean value that you provide is `true`.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:104:10: error: 'Binding' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
105 |         var isPresented: Bool
106 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:110:45: error: 'View' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
108 |
109 |         @ViewBuilder
110 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:109:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
107 |         let build: () -> WebAuthentication
108 |
109 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
110 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:121:10: error: 'Environment' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
119 |         }
120 |
121 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:126:14: error: 'Binding' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
125 |
126 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
127 |             var isPresented: Bool
128 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:50: error: cannot find type 'UIView' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:38: error: cannot find type 'Context' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:41: error: cannot find type 'UIView' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:58: error: cannot find type 'Context' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:153:28: error: cannot find 'UIView' in scope
151 |                 }
152 |
153 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
154 |                 var parent: Presenter
155 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:169:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
167 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
168 |
169 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
170 |
171 |                 private func start() {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:381:15: error: cannot find type 'UIView' in scope
379 |
380 | private protocol WebAuthenticationCoordinator: NSObject {
381 |     var view: UIView { get }
    |               `- error: cannot find type 'UIView' in scope
382 | }
383 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:124:35: error: cannot find type 'UIViewRepresentable' in scope
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
125 |
126 |             @Binding
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:202:10: error: 'Binding' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
201 |
202 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
203 |         var item: Item?
204 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:210:45: error: 'View' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
208 |
209 |         @ViewBuilder
210 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:209:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
207 |         // MARK: - ViewModifier
208 |
209 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
210 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:223:10: error: 'Environment' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
221 |         // MARK: - Private
222 |
223 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:230:14: error: 'Binding' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
227 |
228 |             // MARK: - API
229 |
230 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
231 |             var item: Item?
232 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:50: error: cannot find type 'UIView' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:38: error: cannot find type 'Context' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:41: error: cannot find type 'UIView' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:58: error: cannot find type 'Context' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:262:28: error: cannot find 'UIView' in scope
260 |                 // MARK: - API
261 |
262 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
263 |                 var parent: Presenter
264 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:287:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
285 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
286 |
287 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
288 |
289 |                 private func start(_ item: Item) {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:226:35: error: cannot find type 'UIViewRepresentable' in scope
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
227 |
228 |             // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:198:70: error: 'Identifiable' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |                                                         `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:320:10: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
319 |
320 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
321 |         var item: Item?
322 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:329:45: error: 'View' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
327 |
328 |         @ViewBuilder
329 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:328:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
326 |         // MARK: - ViewModifier
327 |
328 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
329 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:344:30: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:373:54: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
357 |
358 | @MainActor
359 | private final class ContextProvider<T: WebAuthenticationCoordinator>: NSObject, ASWebAuthenticationPresentationContextProviding {
    |                     `- note: add @available attribute to enclosing generic class
360 |
361 |     // MARK: - Initializers
    :
371 |     // MARK: - ASWebAuthenticationPresentationContextProviding
372 |
373 |     nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
    |                      |                               `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing instance method
374 |         MainActor.assumeIsolated {
375 |             coordinator.view.window ?? ASPresentationAnchor()
[14/23] Compiling WebAuthentication WebAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:104:10: error: 'Binding' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
105 |         var isPresented: Bool
106 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:110:45: error: 'View' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
108 |
109 |         @ViewBuilder
110 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:109:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
107 |         let build: () -> WebAuthentication
108 |
109 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
110 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
111 |             content
112 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:121:10: error: 'Environment' is only available in macOS 10.15 or newer
100 |     private let completionHandler: CompletionHandler
101 |
102 |     struct BoolModifier: ViewModifier {
    |            |- note: add @available attribute to enclosing struct
    |            `- note: add @available attribute to enclosing struct
103 |
104 |         @Binding
    :
119 |         }
120 |
121 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:126:14: error: 'Binding' is only available in macOS 10.15 or newer
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
125 |
126 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
127 |             var isPresented: Bool
128 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:50: error: cannot find type 'UIView' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:138:38: error: cannot find type 'Context' in scope
136 |             }
137 |
138 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
139 |                 context.coordinator.view
140 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:41: error: cannot find type 'UIView' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:142:58: error: cannot find type 'Context' in scope
140 |             }
141 |
142 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
143 |                 context.coordinator.parent = self
144 |                 context.coordinator.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:153:28: error: cannot find 'UIView' in scope
151 |                 }
152 |
153 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
154 |                 var parent: Presenter
155 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:169:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
167 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
168 |
169 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
170 |
171 |                 private func start() {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:381:15: error: cannot find type 'UIView' in scope
379 |
380 | private protocol WebAuthenticationCoordinator: NSObject {
381 |     var view: UIView { get }
    |               `- error: cannot find type 'UIView' in scope
382 | }
383 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:124:35: error: cannot find type 'UIViewRepresentable' in scope
122 |         private var prefersEphemeralWebBrowserSession: Bool
123 |
124 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
125 |
126 |             @Binding
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:202:10: error: 'Binding' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
201 |
202 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
203 |         var item: Item?
204 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:210:45: error: 'View' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
208 |
209 |         @ViewBuilder
210 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:209:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
207 |         // MARK: - ViewModifier
208 |
209 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
210 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
211 |             content
212 |                 .background(
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:223:10: error: 'Environment' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
    :
221 |         // MARK: - Private
222 |
223 |         @Environment(\.webAuthenticationPrefersEphemeralWebBrowserSession)
    |          `- error: 'Environment' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:230:14: error: 'Binding' is only available in macOS 10.15 or newer
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                        |- note: add @available attribute to enclosing struct
    |                        `- note: add @available attribute to enclosing struct
227 |
228 |             // MARK: - API
229 |
230 |             @Binding
    |              `- error: 'Binding' is only available in macOS 10.15 or newer
231 |             var item: Item?
232 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:50: error: cannot find type 'UIView' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                                  `- error: cannot find type 'UIView' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:242:38: error: cannot find type 'Context' in scope
240 |             }
241 |
242 |             func makeUIView(context: Context) -> UIView {
    |                                      `- error: cannot find type 'Context' in scope
243 |                 context.coordinator.view
244 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:41: error: cannot find type 'UIView' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                         `- error: cannot find type 'UIView' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:246:58: error: cannot find type 'Context' in scope
244 |             }
245 |
246 |             func updateUIView(_ uiView: UIView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
247 |                 context.coordinator.parent = self
248 |                 context.coordinator.item = item
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:262:28: error: cannot find 'UIView' in scope
260 |                 // MARK: - API
261 |
262 |                 let view = UIView()
    |                            `- error: cannot find 'UIView' in scope
263 |                 var parent: Presenter
264 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:287:43: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
285 |                 private lazy var contextProvider = ContextProvider<Coordinator>(coordinator: self)
286 |
287 |                 private weak var session: ASWebAuthenticationSession?
    |                                           `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
288 |
289 |                 private func start(_ item: Item) {
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:226:35: error: cannot find type 'UIViewRepresentable' in scope
224 |         private var prefersEphemeralWebBrowserSession: Bool
225 |
226 |         private struct Presenter: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
227 |
228 |             // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:198:70: error: 'Identifiable' is only available in macOS 10.15 or newer
196 |     }
197 |
198 |     struct IdentifiableItemModitifer<Item>: ViewModifier where Item: Identifiable {
    |            |                                                         `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
199 |
200 |         // MARK: - API
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:320:10: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            |- note: add @available attribute to enclosing generic struct
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
319 |
320 |         @Binding
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
321 |         var item: Item?
322 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:329:45: error: 'View' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
327 |
328 |         @ViewBuilder
329 |         func body(content: Content) -> some View {
    |              |                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:328:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
326 |         // MARK: - ViewModifier
327 |
328 |         @ViewBuilder
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
329 |         func body(content: Content) -> some View {
    |              `- note: add @available attribute to enclosing instance method
330 |             content
331 |                 .webAuthentication(wrapped) { item in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:344:30: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:373:54: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
357 |
358 | @MainActor
359 | private final class ContextProvider<T: WebAuthenticationCoordinator>: NSObject, ASWebAuthenticationPresentationContextProviding {
    |                     `- note: add @available attribute to enclosing generic class
360 |
361 |     // MARK: - Initializers
    :
371 |     // MARK: - ASWebAuthenticationPresentationContextProviding
372 |
373 |     nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
    |                      |                               `- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing instance method
374 |         MainActor.assumeIsolated {
375 |             coordinator.view.window ?? ASPresentationAnchor()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:112:18: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.BoolModifier.Presenter' conform to 'ShapeStyle'
110 |         func body(content: Content) -> some View {
111 |             content
112 |                 .background(
    |                  `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.BoolModifier.Presenter' conform to 'ShapeStyle'
113 |                     Presenter(
114 |                         isPresented: $isPresented,
SwiftUICore.View.background:2:36: note: where 'S' = 'WebAuthentication.BoolModifier.Presenter'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'WebAuthentication.BoolModifier.Presenter'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:135:17: error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
132 |             // MARK: - UIViewRepresentable
133 |
134 |             func makeCoordinator() -> Coordinator {
    |                  `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
135 |                 Coordinator(parent: self)
    |                 `- error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
136 |             }
137 |
    :
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
149 |                 init(parent: Presenter) {
    |                 `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
150 |                     self.parent = parent
151 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:173:35: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
174 |                         url: representation.url,
175 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:173:35: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
174 |                         url: representation.url,
175 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:177:25: error: setter for 'isPresented' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
175 |                         callbackURLScheme: representation.callbackURLScheme
176 |                     ) { callback, error in
177 |                         self.parent.isPresented = false
    |                         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
178 |                         if let callback {
179 |                             representation.completionHandler(.success(callback))
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:187:29: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
185 |                     }
186 |
187 |                     session.presentationContextProvider = contextProvider
    |                             |- error: 'presentationContextProvider' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
188 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
189 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:188:29: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
146 |
147 |             @MainActor
148 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
149 |                 init(parent: Presenter) {
150 |                     self.parent = parent
    :
169 |                 private weak var session: ASWebAuthenticationSession?
170 |
171 |                 private func start() {
    |                              `- note: add @available attribute to enclosing instance method
172 |                     let representation = parent.build()
173 |                     let session = ASWebAuthenticationSession(
    :
186 |
187 |                     session.presentationContextProvider = contextProvider
188 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
    |                             |- error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
189 |
190 |                     session.start()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:212:18: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter' conform to 'ShapeStyle'
210 |         func body(content: Content) -> some View {
211 |             content
212 |                 .background(
    |                  `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter' conform to 'ShapeStyle'
213 |                     Presenter(
214 |                         item: $item,
SwiftUICore.View.background:2:36: note: where 'S' = 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'WebAuthentication.IdentifiableItemModitifer<Item>.Presenter'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:239:17: error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
236 |             // MARK: - UIViewRepresentable
237 |
238 |             func makeCoordinator() -> Coordinator {
    |                  `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
239 |                 Coordinator(parent: self)
    |                 `- error: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context
240 |             }
241 |
    :
254 |                 // MARK: - Initializers
255 |
256 |                 init(parent: Presenter) {
    |                 `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
257 |                     self.parent = parent
258 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:291:35: error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'ASWebAuthenticationSession' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
292 |                         url: representation.url,
293 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:291:35: error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    |                                   |- error: 'init(url:callbackURLScheme:completionHandler:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
292 |                         url: representation.url,
293 |                         callbackURLScheme: representation.callbackURLScheme
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:295:25: error: setter for 'item' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
293 |                         callbackURLScheme: representation.callbackURLScheme
294 |                     ) { callback, error in
295 |                         self.parent.item = nil
    |                         |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
296 |                         if let callback {
297 |                             representation.completionHandler(.success(callback))
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:305:29: error: 'presentationContextProvider' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
303 |                     }
304 |
305 |                     session.presentationContextProvider = contextProvider
    |                             |- error: 'presentationContextProvider' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
306 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
307 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:306:29: error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
250 |
251 |             @MainActor
252 |             final class Coordinator: NSObject, WebAuthenticationCoordinator {
    |                         `- note: add @available attribute to enclosing class
253 |
254 |                 // MARK: - Initializers
    :
287 |                 private weak var session: ASWebAuthenticationSession?
288 |
289 |                 private func start(_ item: Item) {
    |                              `- note: add @available attribute to enclosing instance method
290 |                     let representation = parent.build(item)
291 |                     let session = ASWebAuthenticationSession(
    :
304 |
305 |                     session.presentationContextProvider = contextProvider
306 |                     session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession
    |                             |- error: 'prefersEphemeralWebBrowserSession' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
307 |
308 |                     session.start()
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:345:13: error: 'Binding' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
    |             |- error: 'Binding' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
346 |                 item.map(wrap)
347 |             } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/WebAuthentication.swift:348:17: error: setter for 'item' is only available in macOS 10.15 or newer
314 |     }
315 |
316 |     struct ItemModifier<Item, Identifier>: ViewModifier where Identifier: Hashable {
    |            `- note: add @available attribute to enclosing generic struct
317 |
318 |         // MARK: - Initializers
    :
342 |         }
343 |
344 |         private var wrapped: Binding<WrappedItem?> {
    |                     `- note: add @available attribute to enclosing property
345 |             Binding<WrappedItem?> {
346 |                 item.map(wrap)
347 |             } set: { newValue in
348 |                 item = newValue?.wrapped
    |                 |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
349 |             }
350 |         }
[15/23] Compiling WebAuthentication Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:28:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
26 | import SwiftUI
27 |
28 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |
30 |     var webAuthenticationPrefersEphemeralWebBrowserSession: Bool {
[16/23] Compiling WebAuthentication Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:37:119: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          |                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:29:18: error: 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:55:41: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:54:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
52 |     // MARK: - ViewModifier
53 |
54 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:39:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
   |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |     }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:39:16: error: 'ModifiedContent' is only available in macOS 10.15 or newer
27 |
28 | @available(iOS 14.0, macCatalyst 14.0, *)
29 | public extension View {
   |        `- note: add @available attribute to enclosing extension
30 |
31 |     /// Set the private authentication requirements for authentication sessions within this view.
   :
35 |     /// - Parameter prefersEphemeralWebBrowserSession: Whether or not the web authentication session should ask for a private authentication session.
36 |     /// - Returns: The modified view
37 |     func webAuthenticationPrefersEphemeralWebBrowserSession(_ prefersEphemeralWebBrowserSession: Bool = true) -> some View {
   |          `- note: add @available attribute to enclosing instance method
38 |         let modifer = WebAuthenticationPrefersEphemeralWebBrowserSessionModifier(prefersEphemeralWebBrowserSession: prefersEphemeralWebBrowserSession)
39 |         return ModifiedContent(content: self, modifier: modifer)
   |                |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |     }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/WebAuthentication/Modifiers.swift:57:14: error: 'environment' is only available in macOS 10.15 or newer
42 | }
43 |
44 | private struct WebAuthenticationPrefersEphemeralWebBrowserSessionModifier: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
45 |
46 |     // MARK: - Initializers
   :
53 |
54 |     @ViewBuilder
55 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
56 |         content
57 |             .environment(\.webAuthenticationPrefersEphemeralWebBrowserSession, prefersEphemeralWebBrowserSession)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
58 |     }
59 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/23] Emitting module SafariView
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[18/23] Compiling SafariView BoolURLPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[19/23] Compiling SafariView DismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[20/23] Compiling SafariView Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[21/23] Compiling SafariView ExcludedActivityTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
[22/23] Compiling SafariView IncludedActivities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SafariView/ExcludedActivityTypes.swift:27:8: error: no such module 'UIKit'
25 |
26 | import Foundation
27 | import UIKit
   |        `- error: no such module 'UIKit'
28 |
29 | @available(iOS 14.0, macCatalyst 14.0, *)
BUILD FAILURE 6.1 macosSpm