Build Information
Failed to build FrameSpy, reference 0.0.0 (2e4255), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 01:47:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/piterwilson/FrameSpy.git
Reference: 0.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/piterwilson/FrameSpy
* tag 0.0.0 -> FETCH_HEAD
HEAD is now at 2e4255c Adjusts access level Adjusts swift tools version
Cloned https://github.com/piterwilson/FrameSpy.git
Revision (git rev-parse @):
2e4255cf02adc9da9b95ed4c2b8b9584167e0701
SUCCESS checkout https://github.com/piterwilson/FrameSpy.git at 0.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/piterwilson/FrameSpy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module FrameSpy
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:104:27: error: 'View' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:115:6: error: 'Binding' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
| `- error: 'Binding' is only available in macOS 10.15 or newer
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:116:22: error: 'Binding' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
117 | self._bag = bag
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:119:48: error: 'View' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
118 | }
119 | public 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
120 | content
121 | .onPreferenceChange(FrameSpyPreferenceKey.self) { preference in
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:132:48: error: 'View' is only available in macOS 10.15 or newer
127 | }
128 |
129 | public struct SpiedFrameCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
130 | public var identifier: String
131 | public var coordindateSpaceName: String
132 | public 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
133 | content
134 | .background(FrameSpyPreferenceView(identifier: identifier, coordindateSpaceName: coordindateSpaceName))
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:164:99: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
162 | - coordinateSpaceName: The name of the coordinate space relative to wich the frame of this `View` will be collected.
163 | */
164 | func spyFrame(named name: String, inCoordinateSpaceNamed coordinateSpaceName: String) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
165 | self.modifier(SpiedFrameCollector(identifier: name, coordindateSpaceName: coordinateSpaceName))
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:172:39: error: 'Binding' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:172:72: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:138:18: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
[4/4] Compiling FrameSpy FrameSpy.swift
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:104:27: error: 'View' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:115:6: error: 'Binding' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
| `- error: 'Binding' is only available in macOS 10.15 or newer
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:116:22: error: 'Binding' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
117 | self._bag = bag
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:119:48: error: 'View' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
118 | }
119 | public 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
120 | content
121 | .onPreferenceChange(FrameSpyPreferenceKey.self) { preference in
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:132:48: error: 'View' is only available in macOS 10.15 or newer
127 | }
128 |
129 | public struct SpiedFrameCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
130 | public var identifier: String
131 | public var coordindateSpaceName: String
132 | public 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
133 | content
134 | .background(FrameSpyPreferenceView(identifier: identifier, coordindateSpaceName: coordindateSpaceName))
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:164:99: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
162 | - coordinateSpaceName: The name of the coordinate space relative to wich the frame of this `View` will be collected.
163 | */
164 | func spyFrame(named name: String, inCoordinateSpaceNamed coordinateSpaceName: String) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
165 | self.modifier(SpiedFrameCollector(identifier: name, coordindateSpaceName: coordinateSpaceName))
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:172:39: error: 'Binding' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:172:72: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:138:18: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:105:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | Rectangle()
107 | .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:105:24: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
106 | Rectangle()
107 | .fill(Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:106:13: error: 'Rectangle' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
107 | .fill(Color.clear)
108 | .preference(key: FrameSpyPreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:107:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
107 | .fill(Color.clear)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
108 | .preference(key: FrameSpyPreferenceKey.self,
109 | value: [FrameSpyPreferenceData(identifier: identifier, rect: geometry.frame(in: .named(coordindateSpaceName)))])
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:107:23: error: 'Color' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
107 | .fill(Color.clear)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .preference(key: FrameSpyPreferenceKey.self,
109 | value: [FrameSpyPreferenceData(identifier: identifier, rect: geometry.frame(in: .named(coordindateSpaceName)))])
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:107:29: error: 'clear' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
107 | .fill(Color.clear)
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | .preference(key: FrameSpyPreferenceKey.self,
109 | value: [FrameSpyPreferenceData(identifier: identifier, rect: geometry.frame(in: .named(coordindateSpaceName)))])
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:108:18: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
107 | .fill(Color.clear)
108 | .preference(key: FrameSpyPreferenceKey.self,
| |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | value: [FrameSpyPreferenceData(identifier: identifier, rect: geometry.frame(in: .named(coordindateSpaceName)))])
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:109:99: error: 'frame(in:)' is only available in macOS 10.15 or newer
99 | }
100 |
101 | public struct FrameSpyPreferenceView: View {
| `- note: add @available attribute to enclosing struct
102 | public let identifier: String
103 | public let coordindateSpaceName: String
104 | public var body: some View {
| `- note: add @available attribute to enclosing property
105 | GeometryReader { geometry in
106 | Rectangle()
107 | .fill(Color.clear)
108 | .preference(key: FrameSpyPreferenceKey.self,
109 | value: [FrameSpyPreferenceData(identifier: identifier, rect: geometry.frame(in: .named(coordindateSpaceName)))])
| |- error: 'frame(in:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:121:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
118 | }
119 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
120 | content
121 | .onPreferenceChange(FrameSpyPreferenceKey.self) { preference in
| |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | preference.forEach { p in
123 | bag[p.identifier] = p.rect
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:123:21: error: cannot pass as inout because setter for 'bag' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public struct SpiedFramesCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
115 | @Binding private var bag: SpiedFramesBag
116 | public init(bag: Binding<SpiedFramesBag>) {
117 | self._bag = bag
118 | }
119 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
120 | content
121 | .onPreferenceChange(FrameSpyPreferenceKey.self) { preference in
122 | preference.forEach { p in
123 | bag[p.identifier] = p.rect
| |- error: cannot pass as inout because setter for 'bag' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:134:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
127 | }
128 |
129 | public struct SpiedFrameCollector: ViewModifier {
| `- note: add @available attribute to enclosing struct
130 | public var identifier: String
131 | public var coordindateSpaceName: String
132 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
133 | content
134 | .background(FrameSpyPreferenceView(identifier: identifier, coordindateSpaceName: coordindateSpaceName))
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:165:14: 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
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
162 | - coordinateSpaceName: The name of the coordinate space relative to wich the frame of this `View` will be collected.
163 | */
164 | func spyFrame(named name: String, inCoordinateSpaceNamed coordinateSpaceName: String) -> some View {
| `- note: add @available attribute to enclosing instance method
165 | self.modifier(SpiedFrameCollector(identifier: name, coordindateSpaceName: coordinateSpaceName))
| |- 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
166 | }
167 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:165:14: error: 'modifier' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
162 | - coordinateSpaceName: The name of the coordinate space relative to wich the frame of this `View` will be collected.
163 | */
164 | func spyFrame(named name: String, inCoordinateSpaceNamed coordinateSpaceName: String) -> some View {
| `- note: add @available attribute to enclosing instance method
165 | self.modifier(SpiedFrameCollector(identifier: name, coordindateSpaceName: coordinateSpaceName))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
166 | }
167 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:173:14: 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
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
| |- 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
174 | }
175 | }
/Users/admin/builder/spi-builder-workspace/Sources/FrameSpy/FrameSpy.swift:173:14: error: 'modifier' is only available in macOS 10.15 or newer
136 | }
137 |
138 | public extension View {
| `- note: add @available attribute to enclosing extension
139 | /**
140 | "Spies" the value of the `View`'s frame (a `CGRect` describing position and size) relative to a coordinate space named using `.coordinateSpace(name:)`.
:
170 | - bag: A data structure to collect "spied" frames.
171 | */
172 | func collectSpiedFrames(into bag: Binding<SpiedFramesBag>) -> some View {
| `- note: add @available attribute to enclosing instance method
173 | self.modifier(SpiedFramesCollector(bag: bag))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | }
175 | }
BUILD FAILURE 6.2 macosSpm