The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CircularReveal, reference main (b460f7), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 03:36:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/terlan98/CircularReveal.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/terlan98/CircularReveal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b460f70 Merge pull request #1 from terlan98/documentation/add-gif
Cloned https://github.com/terlan98/CircularReveal.git
Revision (git rev-parse @):
b460f7010d7e7353c99a6b2606c487bf76fe2d5c
SUCCESS checkout https://github.com/terlan98/CircularReveal.git at main
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "circularreveal",
      "name": "CircularReveal",
      "url": "https://github.com/terlan98/CircularReveal.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CircularReveal",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/terlan98/CircularReveal.git
[1/119] Fetching circularreveal
Fetched https://github.com/terlan98/CircularReveal.git from cache (0.90s)
Creating working copy for https://github.com/terlan98/CircularReveal.git
Working copy of https://github.com/terlan98/CircularReveal.git resolved at main (b460f70)
warning: '.resolve-product-dependencies': dependency 'circularreveal' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/terlan98/CircularReveal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CircularReveal
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:11:39: error: cannot find 'UIScreen' in scope
 9 |
10 | fileprivate let minCircleSideLength = 50.0
11 | fileprivate let maxCircleSideLength = UIScreen.main.bounds.height * 2.25
   |                                       `- error: cannot find 'UIScreen' in scope
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
17 |     var animationDuration: TimeInterval
18 |
19 |     @State private var currentOpacity: Double
   |      `- error: 'State' is only available in macOS 10.15 or newer
20 |     @State private var circleSize: CGFloat
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
18 |
19 |     @State private var currentOpacity: Double
20 |     @State private var circleSize: CGFloat
   |      `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 |     private let targetCircleSideLength: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:24:35: error: 'Animation' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
22 |     private let targetCircleSideLength: CGFloat
23 |     private let targetOpacity: Double
24 |     private let opacityAnimation: Animation
   |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
25 |     private let circleSizeAnimation: Animation
26 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:25:38: error: 'Animation' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
23 |     private let targetOpacity: Double
24 |     private let opacityAnimation: Animation
25 |     private let circleSizeAnimation: Animation
   |                                      `- error: 'Animation' is only available in macOS 10.15 or newer
26 |
27 |     init(type: CircularAnimationType,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:48:41: error: 'View' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
46 |     }
47 |
48 |     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
49 |         content
50 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:82:76: error: 'View' is only available in macOS 10.15 or newer
77 | }
78 |
79 | extension View {
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
   |          `- note: add '@available' attribute to enclosing instance method
81 |                                   tapLocation: CGPoint,
82 |                                   animationDuration: TimeInterval) -> some View {
   |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
83 |         modifier(CircularAnimationMask(type: type,
84 |                                    tapLocation: tapLocation,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:79:11: error: 'View' is only available in macOS 10.15 or newer
77 | }
78 |
79 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
81 |                                   tapLocation: CGPoint,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |     var animationDuration: TimeInterval
 13 |     var onDismiss: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 14 |     var viewToReveal: () -> V
 15 |
 16 |     @State private var tapLocation: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State private var isRevealedCopy = false
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 15 |
 16 |     @State private var tapLocation: CGPoint = .zero
 17 |     @State private var isRevealedCopy = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |
 19 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 17 |     @State private var isRevealedCopy = false
 18 |
 19 |     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
 20 |         content
 21 |             .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:10:53: error: 'View' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:64:6: error: 'Binding' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 65 |     var animationDuration: TimeInterval
 66 |     var onDismiss: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:69:6: error: 'State' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 67 |     var viewToReveal: (ItemType) -> V
 68 |
 69 |     @State private var tapLocation: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 70 |     @State private var itemCopy: ItemType? = nil
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:70:6: error: 'State' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 68 |
 69 |     @State private var tapLocation: CGPoint = .zero
 70 |     @State private var itemCopy: ItemType? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:72:41: error: 'View' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 70 |     @State private var itemCopy: ItemType? = nil
 71 |
 72 |     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
 73 |         content
 74 |             .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:63:63: error: 'View' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        |                                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:63:79: error: 'Identifiable' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        |                                                                      `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:110: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:131:46: error: 'Binding' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:35: error: 'ViewBuilder' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:89: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                                                                         `- error: 'View' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:120: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:132: error: 'Identifiable' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                                                    `- error: 'Identifiable' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:155:46: error: 'Binding' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:99: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:116:18: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:12:42: error: cannot find type 'UIView' in scope
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
12 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
13 |         return InnerView()
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:12:30: error: cannot find type 'Context' in scope
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
12 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
13 |         return InnerView()
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:16:33: error: cannot find type 'UIView' in scope
14 |     }
15 |
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
17 |
18 |     private class InnerView: UIView {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:16:50: error: cannot find type 'Context' in scope
14 |     }
15 |
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
17 |
18 |     private class InnerView: UIView {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:18:30: error: cannot find type 'UIView' in scope
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
17 |
18 |     private class InnerView: UIView {
   |                              `- error: cannot find type 'UIView' in scope
19 |         override func didMoveToWindow() {
20 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:19:23: error: method does not override any method from its superclass
17 |
18 |     private class InnerView: UIView {
19 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
20 |             super.didMoveToWindow()
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:11:29: error: cannot find type 'UIViewRepresentable' in scope
 9 |
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
12 |     func makeUIView(context: Context) -> UIView {
13 |         return InnerView()
[4/6] Compiling CircularReveal CircularReveal.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 12 |     var animationDuration: TimeInterval
 13 |     var onDismiss: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 14 |     var viewToReveal: () -> V
 15 |
 16 |     @State private var tapLocation: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State private var isRevealedCopy = false
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 15 |
 16 |     @State private var tapLocation: CGPoint = .zero
 17 |     @State private var isRevealedCopy = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |
 19 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
    :
 17 |     @State private var isRevealedCopy = false
 18 |
 19 |     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
 20 |         content
 21 |             .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:10:53: error: 'View' is only available in macOS 10.15 or newer
  8 | import Combine
  9 |
 10 | struct CircularRevealBool<V>: ViewModifier where V: View {
    |        |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 11 |     @Binding var isRevealed: Bool
 12 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:64:6: error: 'Binding' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 65 |     var animationDuration: TimeInterval
 66 |     var onDismiss: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:69:6: error: 'State' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 67 |     var viewToReveal: (ItemType) -> V
 68 |
 69 |     @State private var tapLocation: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 70 |     @State private var itemCopy: ItemType? = nil
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:70:6: error: 'State' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 68 |
 69 |     @State private var tapLocation: CGPoint = .zero
 70 |     @State private var itemCopy: ItemType? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:72:41: error: 'View' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
    :
 70 |     @State private var itemCopy: ItemType? = nil
 71 |
 72 |     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
 73 |         content
 74 |             .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:63:63: error: 'View' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        |                                                      `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:63:79: error: 'Identifiable' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | struct CircularRevealItem<V, ItemType>: ViewModifier where V: View, ItemType: Identifiable & Equatable {
    |        |                                                                      `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing generic struct
 64 |     @Binding var item: ItemType?
 65 |     var animationDuration: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:110: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:131:46: error: 'Binding' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:35: error: 'ViewBuilder' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:134:89: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
    |                                                                                         `- error: 'View' is only available in macOS 10.15 or newer
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
136 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:120: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                                        `- error: 'View' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:132: error: 'Identifiable' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                                                    `- error: 'Identifiable' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:155:46: error: 'Binding' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          |                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:41: error: 'ViewBuilder' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                         `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:158:99: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
    |                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
159 |         modifier(CircularRevealItem(item: item,
160 |                                     animationDuration: animationDuration,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:116:18: error: 'View' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:30:17: error: cannot find 'UIView' in scope
 28 |             .onChange(of: isRevealed) { revealing in
 29 |                 // Prevent default fullScreenCover animation
 30 |                 UIView.setAnimationsEnabled(false)
    |                 `- error: cannot find 'UIView' in scope
 31 |
 32 |                 if revealing {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:83:17: error: cannot find 'UIView' in scope
 81 |             .onChange(of: item) { newItem in
 82 |                 // Prevent default fullScreenCover animation
 83 |                 UIView.setAnimationsEnabled(false)
    |                 `- error: cannot find 'UIView' in scope
 84 |
 85 |                 if newItem != nil {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:135:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
136 |                                     animationDuration: animationDuration,
137 |                                     onDismiss: onDismiss,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:135:9: error: 'modifier' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
129 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
130 |     ///   - content: A closure that returns the content that should be presented.
131 |     func circularReveal<Content>(isRevealed: Binding<Bool>,
    |          `- note: add '@available' attribute to enclosing instance method
132 |                                  animationDuration: TimeInterval = 0.3,
133 |                                  onDismiss: (() -> Void)? = nil,
134 |                                  @ViewBuilder content: @escaping () -> Content) -> some View where Content : View {
135 |         modifier(CircularRevealBool(isRevealed: isRevealed,
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
136 |                                     animationDuration: animationDuration,
137 |                                     onDismiss: onDismiss,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:159:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
159 |         modifier(CircularRevealItem(item: item,
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
160 |                                     animationDuration: animationDuration,
161 |                                     onDismiss: onDismiss,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:159:9: error: 'modifier' is only available in macOS 10.15 or newer
114 | }
115 |
116 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
117 |     /// Presents a modal view that covers the whole screen gradually
118 |     /// with a circular animation when binding to a Boolean value you
    :
153 |     ///   - onDismiss: The closure to execute when dismissing the presented view.
154 |     ///   - content: A closure that returns the content that should be presented.
155 |     func circularReveal<Item, Content>(item: Binding<Item?>,
    |          `- note: add '@available' attribute to enclosing instance method
156 |                                        animationDuration: TimeInterval = 0.3,
157 |                                        onDismiss: (() -> Void)? = nil,
158 |                                        @ViewBuilder content: @escaping (Item) -> Content) -> some View where Content : View, Item: Identifiable & Equatable {
159 |         modifier(CircularRevealItem(item: item,
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
160 |                                     animationDuration: animationDuration,
161 |                                     onDismiss: onDismiss,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:168:27: error: cannot find 'UIScreen' in scope
166 | extension CGPoint {
167 |     func relativeToScreenCenter() -> CGPoint {
168 |         let screenWidth = UIScreen.main.bounds.width
    |                           `- error: cannot find 'UIScreen' in scope
169 |         let screenHeight = UIScreen.main.bounds.height
170 |         return CGPoint(x: self.x - screenWidth / 2, y: self.y - screenHeight / 2)
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularReveal.swift:169:28: error: cannot find 'UIScreen' in scope
167 |     func relativeToScreenCenter() -> CGPoint {
168 |         let screenWidth = UIScreen.main.bounds.width
169 |         let screenHeight = UIScreen.main.bounds.height
    |                            `- error: cannot find 'UIScreen' in scope
170 |         return CGPoint(x: self.x - screenWidth / 2, y: self.y - screenHeight / 2)
171 |     }
[5/6] Compiling CircularReveal CircularAnimationMask.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:11:39: error: cannot find 'UIScreen' in scope
 9 |
10 | fileprivate let minCircleSideLength = 50.0
11 | fileprivate let maxCircleSideLength = UIScreen.main.bounds.height * 2.25
   |                                       `- error: cannot find 'UIScreen' in scope
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
17 |     var animationDuration: TimeInterval
18 |
19 |     @State private var currentOpacity: Double
   |      `- error: 'State' is only available in macOS 10.15 or newer
20 |     @State private var circleSize: CGFloat
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
18 |
19 |     @State private var currentOpacity: Double
20 |     @State private var circleSize: CGFloat
   |      `- error: 'State' is only available in macOS 10.15 or newer
21 |
22 |     private let targetCircleSideLength: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:24:35: error: 'Animation' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
22 |     private let targetCircleSideLength: CGFloat
23 |     private let targetOpacity: Double
24 |     private let opacityAnimation: Animation
   |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
25 |     private let circleSizeAnimation: Animation
26 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:25:38: error: 'Animation' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
23 |     private let targetOpacity: Double
24 |     private let opacityAnimation: Animation
25 |     private let circleSizeAnimation: Animation
   |                                      `- error: 'Animation' is only available in macOS 10.15 or newer
26 |
27 |     init(type: CircularAnimationType,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:48:41: error: 'View' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
46 |     }
47 |
48 |     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
49 |         content
50 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:82:76: error: 'View' is only available in macOS 10.15 or newer
77 | }
78 |
79 | extension View {
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
   |          `- note: add '@available' attribute to enclosing instance method
81 |                                   tapLocation: CGPoint,
82 |                                   animationDuration: TimeInterval) -> some View {
   |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
83 |         modifier(CircularAnimationMask(type: type,
84 |                                    tapLocation: tapLocation,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:79:11: error: 'View' is only available in macOS 10.15 or newer
77 | }
78 |
79 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
81 |                                   tapLocation: CGPoint,
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:35:38: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
25 |     private let circleSizeAnimation: Animation
26 |
27 |     init(type: CircularAnimationType,
   |     `- note: add '@available' attribute to enclosing initializer
28 |          tapLocation: CGPoint,
29 |          animationDuration: TimeInterval) {
   :
33 |
34 |         if type == .expand {
35 |             self.opacityAnimation = .easeOut(duration: animationDuration * 0.5)
   |                                      |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
36 |             self.circleSizeAnimation = .easeIn(duration: animationDuration)
37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:36:41: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
25 |     private let circleSizeAnimation: Animation
26 |
27 |     init(type: CircularAnimationType,
   |     `- note: add '@available' attribute to enclosing initializer
28 |          tapLocation: CGPoint,
29 |          animationDuration: TimeInterval) {
   :
34 |         if type == .expand {
35 |             self.opacityAnimation = .easeOut(duration: animationDuration * 0.5)
36 |             self.circleSizeAnimation = .easeIn(duration: animationDuration)
   |                                         |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
37 |         } else {
38 |             self.opacityAnimation = .easeIn(duration: animationDuration * 4)
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:38:38: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
25 |     private let circleSizeAnimation: Animation
26 |
27 |     init(type: CircularAnimationType,
   |     `- note: add '@available' attribute to enclosing initializer
28 |          tapLocation: CGPoint,
29 |          animationDuration: TimeInterval) {
   :
36 |             self.circleSizeAnimation = .easeIn(duration: animationDuration)
37 |         } else {
38 |             self.opacityAnimation = .easeIn(duration: animationDuration * 4)
   |                                      |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
39 |             self.circleSizeAnimation = .easeOut(duration: animationDuration)
40 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:39:41: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
25 |     private let circleSizeAnimation: Animation
26 |
27 |     init(type: CircularAnimationType,
   |     `- note: add '@available' attribute to enclosing initializer
28 |          tapLocation: CGPoint,
29 |          animationDuration: TimeInterval) {
   :
37 |         } else {
38 |             self.opacityAnimation = .easeIn(duration: animationDuration * 4)
39 |             self.circleSizeAnimation = .easeOut(duration: animationDuration)
   |                                         |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
40 |         }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:42:9: error: setter for 'currentOpacity' is only available in macOS 10.15 or newer
12 | fileprivate let initialViewToRevealOpacity = 0.2
13 |
14 | struct CircularAnimationMask: ViewModifier {
   |        `- note: add '@available' attribute to enclosing struct
15 |     var type: CircularAnimationType
16 |     var tapLocation: CGPoint
   :
25 |     private let circleSizeAnimation: Animation
26 |
27 |     init(type: CircularAnimationType,
   |     `- note: add '@available' attribute to enclosing initializer
28 |          tapLocation: CGPoint,
29 |          animationDuration: TimeInterval) {
   :
40 |         }
41 |
42 |         self.currentOpacity = (type == .expand) ? initialViewToRevealOpacity : 1.0
   |         |- error: setter for 'currentOpacity' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |         self.targetOpacity = (type == .expand) ? 1.0 : initialViewToRevealOpacity
44 |         self.circleSize = (type == .expand) ? minCircleSideLength : maxCircleSideLength
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:52:17: error: cannot find 'UIView' in scope
50 |             .onAppear {
51 |                 // Re-enable animations
52 |                 UIView.setAnimationsEnabled(type == .expand)
   |                 `- error: cannot find 'UIView' in scope
53 |             }
54 |             .onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:56:17: error: cannot find 'UIView' in scope
54 |             .onDisappear {
55 |                 // Re-enable animations
56 |                 UIView.setAnimationsEnabled(type == .shrink)
   |                 `- error: cannot find 'UIView' in scope
57 |             }
58 |             .opacity(currentOpacity)
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:71:14: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
69 |                     }
70 |             )
71 |             .background(ClearBackgroundView())
   |              `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ClearBackgroundView' conform to 'ShapeStyle'
72 |     }
73 | }
SwiftUI.View.background:2:36: note: where 'S' = 'ClearBackgroundView'
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' = 'ClearBackgroundView'
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:83:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
77 | }
78 |
79 | extension View {
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
   |          `- note: add '@available' attribute to enclosing instance method
81 |                                   tapLocation: CGPoint,
82 |                                   animationDuration: TimeInterval) -> some View {
83 |         modifier(CircularAnimationMask(type: type,
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
84 |                                    tapLocation: tapLocation,
85 |                                    animationDuration: animationDuration))
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/CircularAnimationMask.swift:83:9: error: 'modifier' is only available in macOS 10.15 or newer
77 | }
78 |
79 | extension View {
   | `- note: add '@available' attribute to enclosing extension
80 |     func maskWithCircleAndAnimate(type: CircularAnimationType,
   |          `- note: add '@available' attribute to enclosing instance method
81 |                                   tapLocation: CGPoint,
82 |                                   animationDuration: TimeInterval) -> some View {
83 |         modifier(CircularAnimationMask(type: type,
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
84 |                                    tapLocation: tapLocation,
85 |                                    animationDuration: animationDuration))
[6/6] Compiling CircularReveal ClearBackgroundView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:12:42: error: cannot find type 'UIView' in scope
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
12 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
13 |         return InnerView()
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:12:30: error: cannot find type 'Context' in scope
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
12 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
13 |         return InnerView()
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:16:33: error: cannot find type 'UIView' in scope
14 |     }
15 |
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
17 |
18 |     private class InnerView: UIView {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:16:50: error: cannot find type 'Context' in scope
14 |     }
15 |
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
17 |
18 |     private class InnerView: UIView {
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:18:30: error: cannot find type 'UIView' in scope
16 |     func updateUIView(_ uiView: UIView, context: Context) {}
17 |
18 |     private class InnerView: UIView {
   |                              `- error: cannot find type 'UIView' in scope
19 |         override func didMoveToWindow() {
20 |             super.didMoveToWindow()
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:19:23: error: method does not override any method from its superclass
17 |
18 |     private class InnerView: UIView {
19 |         override func didMoveToWindow() {
   |                       `- error: method does not override any method from its superclass
20 |             super.didMoveToWindow()
21 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:11:29: error: cannot find type 'UIViewRepresentable' in scope
 9 |
10 | /// Intended for clearing the background of a fullScreenCover
11 | struct ClearBackgroundView: UIViewRepresentable {
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
12 |     func makeUIView(context: Context) -> UIView {
13 |         return InnerView()
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:20:13: error: 'super' cannot be used in class 'InnerView' because it has no superclass
18 |     private class InnerView: UIView {
19 |         override func didMoveToWindow() {
20 |             super.didMoveToWindow()
   |             `- error: 'super' cannot be used in class 'InnerView' because it has no superclass
21 |
22 |             superview?.superview?.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:22:13: error: cannot find 'superview' in scope
20 |             super.didMoveToWindow()
21 |
22 |             superview?.superview?.backgroundColor = .clear
   |             `- error: cannot find 'superview' in scope
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularReveal/ClearBackgroundView.swift:22:54: error: cannot infer contextual base in reference to member 'clear'
20 |             super.didMoveToWindow()
21 |
22 |             superview?.superview?.backgroundColor = .clear
   |                                                      `- error: cannot infer contextual base in reference to member 'clear'
23 |         }
24 |     }
BUILD FAILURE 6.3 macosSpm