Build Information
Failed to build Epoxy, reference master (5317bb), with Swift 6.3 for macOS (SPM) on 3 Oct 2026 21:03:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/epoxy-ios.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/epoxy-ios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5317bb6 Prepare Epoxy 0.12.0 release (#186)
Cloned https://github.com/airbnb/epoxy-ios.git
Revision (git rev-parse @):
5317bb67d6f7a97c438fb4e89c7a944083dad67d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/airbnb/epoxy-ios.git at master
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/airbnb/swift
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Quick/Nimble.git
[1/1257] Fetching cwlpreconditiontesting
[152/6830] Fetching cwlpreconditiontesting, swift
[153/7290] Fetching cwlpreconditiontesting, swift, cwlcatchexception
[1435/22215] Fetching cwlpreconditiontesting, swift, cwlcatchexception, quick
[2110/41241] Fetching cwlpreconditiontesting, swift, cwlcatchexception, quick, swift-argument-parser
[2409/61227] Fetching cwlpreconditiontesting, swift, cwlcatchexception, quick, swift-argument-parser, nimble
Fetched https://github.com/airbnb/swift from cache (10.09s)
Fetched https://github.com/Quick/Quick.git from cache (10.09s)
Fetched https://github.com/apple/swift-argument-parser from cache (10.09s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (10.09s)
Fetched https://github.com/Quick/Nimble.git from cache (10.09s)
Computing version for https://github.com/airbnb/swift
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (10.09s)
Computed https://github.com/airbnb/swift at 1.0.3 (10.77s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.66s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.75s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.82s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.71s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
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/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.1.0
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.0.3
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
[16375/1928976] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
[1978101/23623156] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip (0.47s)
[19382382/21694180] Downloading https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip (1.36s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "epoxy-ios",
"name": "Epoxy",
"url": "https://github.com/airbnb/epoxy-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/epoxy-ios",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/airbnb/epoxy-ios.git
[1/9120] Fetching epoxy-ios
Fetched https://github.com/airbnb/epoxy-ios.git from cache (1.75s)
Creating working copy for https://github.com/airbnb/epoxy-ios.git
Working copy of https://github.com/airbnb/epoxy-ios.git resolved at master (5317bb6)
warning: '.resolve-product-dependencies': dependency 'epoxy-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/airbnb/epoxy-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin Generate Manual
Building for debugging...
[2/10] Write sources
[9/10] Write swift-version-69A768CDF2A0BEE1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/50] 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
| `- note: add '@available' attribute to enclosing type alias
37 |
38 | /// The platform's layout constraint priority type.
[12/54] Compiling EpoxyCore DidDisplayProviding.swift
[13/54] Compiling EpoxyCore DidEndDisplayingProviding.swift
[14/54] Compiling EpoxyCore DidSelectProviding.swift
[15/54] Compiling EpoxyCore ErasedContentProviding.swift
[16/54] Compiling EpoxyCore MakeViewProviding.swift
[17/54] Compiling EpoxyCore SetBehaviorsProviding.swift
[18/54] Compiling EpoxyCore SetContentProviding.swift
[19/54] Compiling EpoxyCore StyleIDProviding.swift
[20/54] Compiling EpoxyCore EpoxyLogger.swift
[21/54] Compiling EpoxyCore CallbackContextEpoxyModeled.swift
[22/54] Compiling EpoxyCore EpoxyModelArrayBuilder.swift
[23/54] Compiling EpoxyCore EpoxyModelProperty.swift
[24/54] Compiling EpoxyCore EpoxyModelStorage.swift
[25/54] Compiling EpoxyCore Collection+Diff.swift
[26/54] Compiling EpoxyCore Diffable.swift
[27/54] Compiling EpoxyCore DiffableSection.swift
[28/54] Compiling EpoxyCore IndexChangeset.swift
[29/54] Compiling EpoxyCore SectionedChangeset.swift
[30/54] 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 {
[31/54] 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 {
[32/54] 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 {
[33/54] 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 {
[34/54] Compiling EpoxyCore EpoxyModeled.swift
[35/54] Compiling EpoxyCore AnyEpoxyModelProperty.swift
[36/54] Compiling EpoxyCore ClassReference.swift
[37/54] Compiling EpoxyCore AnimatedProviding.swift
[38/54] Compiling EpoxyCore DataIDProviding.swift
[39/54] Compiling EpoxyCore TraitCollectionProviding.swift
[40/54] Compiling EpoxyCore ViewDifferentiatorProviding.swift
[41/54] Compiling EpoxyCore ViewProviding.swift
[42/54] Compiling EpoxyCore WillDisplayProviding.swift
[43/54] 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 | }
[44/54] 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 | }
[45/54] 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 | }
[46/54] 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 | }
[47/54] 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.
[48/54] 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.
[49/54] 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.
[50/54] 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.
[51/54] 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
| `- note: add '@available' attribute to enclosing type alias
37 |
38 | /// The platform's layout constraint priority type.
[52/54] 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
| `- note: add '@available' attribute to enclosing type alias
37 |
38 | /// The platform's layout constraint priority type.
[53/54] 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
| `- note: add '@available' attribute to enclosing type alias
37 |
38 | /// The platform's layout constraint priority type.
[54/54] 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
| `- note: add '@available' attribute to enclosing type alias
37 |
38 | /// The platform's layout constraint priority type.
BUILD FAILURE 6.3 macosSpm