Build Information
Failed to build Epoxy, reference master (5317bb), with Swift 6.1 for macOS (SPM) on 3 Oct 2026 21:01:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:331:29: note: class property declared here
329 | */
330 | APPKIT_EXTERN const CGFloat NSViewNoInstrinsicMetric API_DEPRECATED_WITH_REPLACEMENT("NSViewNoIntrinsicMetric", macos(10.7,10.14));
331 | APPKIT_EXTERN const CGFloat NSViewNoIntrinsicMetric API_AVAILABLE(macos(10.11)); // -1
| `- note: class property declared here
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
[34/55] Compiling EpoxyCore SwiftUIMeasurementContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: 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
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- 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
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:27: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:331:29: note: class property declared here
329 | */
330 | APPKIT_EXTERN const CGFloat NSViewNoInstrinsicMetric API_DEPRECATED_WITH_REPLACEMENT("NSViewNoIntrinsicMetric", macos(10.7,10.14));
331 | APPKIT_EXTERN const CGFloat NSViewNoIntrinsicMetric API_AVAILABLE(macos(10.11)); // -1
| `- note: class property declared here
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:63: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:331:29: note: class property declared here
329 | */
330 | APPKIT_EXTERN const CGFloat NSViewNoInstrinsicMetric API_DEPRECATED_WITH_REPLACEMENT("NSViewNoIntrinsicMetric", macos(10.7,10.14));
331 | APPKIT_EXTERN const CGFloat NSViewNoIntrinsicMetric API_AVAILABLE(macos(10.11)); // -1
| `- note: class property declared here
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:448:32: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
450 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:331:29: note: class property declared here
329 | */
330 | APPKIT_EXTERN const CGFloat NSViewNoInstrinsicMetric API_DEPRECATED_WITH_REPLACEMENT("NSViewNoIntrinsicMetric", macos(10.7,10.14));
331 | APPKIT_EXTERN const CGFloat NSViewNoIntrinsicMetric API_AVAILABLE(macos(10.11)); // -1
| `- note: class property declared here
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:331:29: note: class property declared here
329 | */
330 | APPKIT_EXTERN const CGFloat NSViewNoInstrinsicMetric API_DEPRECATED_WITH_REPLACEMENT("NSViewNoIntrinsicMetric", macos(10.7,10.14));
331 | APPKIT_EXTERN const CGFloat NSViewNoIntrinsicMetric API_AVAILABLE(macos(10.11)); // -1
| `- note: class property declared here
332 |
333 | @property (readonly) NSSize intrinsicContentSize API_AVAILABLE(macos(10.7));
[35/55] Compiling EpoxyCore MakeViewProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
[36/55] Compiling EpoxyCore SetBehaviorsProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
[37/55] Compiling EpoxyCore SetContentProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
[38/55] Compiling EpoxyCore StyleIDProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
[39/55] Compiling EpoxyCore EpoxyLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Logs that an assertion occurred.
[40/55] Compiling EpoxyCore CallbackContextEpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Logs that an assertion occurred.
[41/55] Compiling EpoxyCore EpoxyModelArrayBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Logs that an assertion occurred.
[42/55] Compiling EpoxyCore EpoxyModelProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Logs that an assertion occurred.
[43/55] Compiling EpoxyCore EpoxyModelStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Logs that an assertion occurred.
[44/55] Compiling EpoxyCore ViewEpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
[45/55] Compiling EpoxyCore EpoxySwiftUIHostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
[46/55] Compiling EpoxyCore EpoxySwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
[47/55] Compiling EpoxyCore EpoxySwiftUIIntrinsicContentSizeInvalidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
[48/55] Compiling EpoxyCore SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext.transaction:2:39: note: property declared here
1 | generic struct NSViewRepresentableContext {
2 | @MainActor @preconcurrency public var transaction: Transaction { get }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[49/55] Compiling EpoxyCore UIView+SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext.transaction:2:39: note: property declared here
1 | generic struct NSViewRepresentableContext {
2 | @MainActor @preconcurrency public var transaction: Transaction { get }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[50/55] Compiling EpoxyCore UIViewConfiguringSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext.transaction:2:39: note: property declared here
1 | generic struct NSViewRepresentableContext {
2 | @MainActor @preconcurrency public var transaction: Transaction { get }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[51/55] Compiling EpoxyCore BehaviorsConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext.transaction:2:39: note: property declared here
1 | generic struct NSViewRepresentableContext {
2 | @MainActor @preconcurrency public var transaction: Transaction { get }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[52/55] Compiling EpoxyCore ContentConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[53/55] Compiling EpoxyCore EpoxyableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[54/55] Compiling EpoxyCore StyledView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[55/55] Compiling EpoxyCore ViewType.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/airbnb/swift
Fetching https://github.com/Quick/Nimble.git
[1/5573] Fetching swift
[57/20498] Fetching swift, quick
[1954/40484] Fetching swift, quick, nimble
Fetched https://github.com/airbnb/swift from cache (4.60s)
Fetched https://github.com/Quick/Nimble.git from cache (4.60s)
Fetched https://github.com/Quick/Quick.git from cache (4.60s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (5.24s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.61s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.45s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.04s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.74s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.34s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.2.0 (0.58s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.78s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (2.32s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
[19274/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[74466/57305396] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.17s)
[30832586/46271351] Downloading https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip (3.32s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/4] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/44] Emitting module EpoxyCore
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[6/48] Compiling EpoxyCore ViewEpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
[7/48] Compiling EpoxyCore EpoxySwiftUIHostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
[8/48] Compiling EpoxyCore EpoxySwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
[9/48] Compiling EpoxyCore EpoxySwiftUIIntrinsicContentSizeInvalidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
[10/48] Compiling EpoxyCore SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[11/48] Compiling EpoxyCore UIView+SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[12/48] Compiling EpoxyCore UIViewConfiguringSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[13/48] Compiling EpoxyCore BehaviorsConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[14/48] Compiling EpoxyCore TraitCollectionProviding.swift
[15/48] Compiling EpoxyCore ViewDifferentiatorProviding.swift
[16/48] Compiling EpoxyCore ViewProviding.swift
[17/48] Compiling EpoxyCore WillDisplayProviding.swift
[18/48] Compiling EpoxyCore DidDisplayProviding.swift
[19/48] Compiling EpoxyCore DidEndDisplayingProviding.swift
[20/48] Compiling EpoxyCore DidSelectProviding.swift
[21/48] Compiling EpoxyCore ErasedContentProviding.swift
[22/48] Compiling EpoxyCore EpoxyModeled.swift
[23/48] Compiling EpoxyCore AnyEpoxyModelProperty.swift
[24/48] Compiling EpoxyCore ClassReference.swift
[25/48] Compiling EpoxyCore AnimatedProviding.swift
[26/48] Compiling EpoxyCore DataIDProviding.swift
[27/48] Compiling EpoxyCore MakeViewProviding.swift
[28/48] Compiling EpoxyCore SetBehaviorsProviding.swift
[29/48] Compiling EpoxyCore SetContentProviding.swift
[30/48] Compiling EpoxyCore StyleIDProviding.swift
[31/48] Compiling EpoxyCore EpoxyLogger.swift
[32/48] Compiling EpoxyCore CallbackContextEpoxyModeled.swift
[33/48] Compiling EpoxyCore EpoxyModelArrayBuilder.swift
[34/48] Compiling EpoxyCore EpoxyModelProperty.swift
[35/48] Compiling EpoxyCore EpoxyModelStorage.swift
[36/48] Compiling EpoxyCore Collection+Diff.swift
[37/48] Compiling EpoxyCore Diffable.swift
[38/48] Compiling EpoxyCore DiffableSection.swift
[39/48] Compiling EpoxyCore IndexChangeset.swift
[40/48] Compiling EpoxyCore SectionedChangeset.swift
[41/48] Compiling EpoxyCore EpoxySwiftUILayoutMargins.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: 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
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- 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
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
[42/48] Compiling EpoxyCore EpoxyableView+SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: 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
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- 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
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
[43/48] Compiling EpoxyCore MeasuringViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: 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
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- 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
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
[44/48] Compiling EpoxyCore SwiftUIMeasurementContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | 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
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: 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
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- 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
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:33:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
31 | {
32 | SwiftUIView(storage: (content: content, style: style)) {
33 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | let view = Self(style: style)
35 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:7: error: 'MainActor' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:40:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
6 | // MARK: - StyledView
7 |
8 | extension StyledView where Self: ContentConfigurableView & BehaviorsConfigurableView {
| `- note: add @available attribute to enclosing extension
9 | /// Returns a SwiftUI `View` representing this `EpoxyableView`.
10 | ///
:
24 | /// ```
25 | @preconcurrency @MainActor
26 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
27 | content: Content,
28 | style: Style,
:
38 | }
39 | .configure { context in
40 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | // We need to create a new view instance when the style changes.
42 | if context.oldStorage.style != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:86:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
84 | {
85 | SwiftUIView(storage: content) {
86 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | let view = Self()
88 | view.setContent(content, animated: false)
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:7: error: 'MainActor' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:93:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | extension StyledView
| `- note: add @available attribute to enclosing extension
59 | where
60 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
78 | /// ```
79 | @preconcurrency @MainActor
80 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
81 | content: Content,
82 | behaviors: Behaviors? = nil)
:
91 | }
92 | .configure { context in
93 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | // We need to update the content of the existing view when the content is updated.
95 | if context.oldStorage != content {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:135:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
133 | {
134 | SwiftUIView(storage: style) {
135 | MainActor.assumeIsolated { Self(style: style) }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | }
137 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:7: error: 'MainActor' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:138:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension StyledView
| `- note: add @available attribute to enclosing extension
107 | where
108 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
127 | /// The sizing defaults to `.automatic`.
128 | @preconcurrency @MainActor
129 | public static func swiftUIView(
| `- note: add @available attribute to enclosing static method
130 | style: Style,
131 | behaviors: Behaviors? = nil)
:
136 | }
137 | .configure { context in
138 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | // We need to create a new view instance when the style changes.
140 | if context.oldStorage != style {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:176:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
177 | }
178 | .configure { context in
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:7: error: 'MainActor' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxyableView+SwiftUIView.swift:179:17: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension StyledView
| `- note: add @available attribute to enclosing extension
151 | where
152 | Self: ContentConfigurableView & BehaviorsConfigurableView,
:
172 | /// The sizing defaults to `.automatic`.
173 | @preconcurrency @MainActor
174 | public static func swiftUIView(behaviors: Behaviors? = nil) -> SwiftUIView<Self, Void> {
| `- note: add @available attribute to enclosing static method
175 | SwiftUIView {
176 | MainActor.assumeIsolated { Self() }
177 | }
178 | .configure { context in
179 | MainActor.assumeIsolated {
| |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | context.view.setBehaviors(behaviors)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
[45/48] Compiling EpoxyCore ContentConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[46/48] Compiling EpoxyCore EpoxyableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[47/48] Compiling EpoxyCore StyledView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[48/48] Compiling EpoxyCore ViewType.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
BUILD FAILURE 6.1 macosSpm