Build Information
Failed to build ScrollViewRTL, reference v1.0.0 (04a083
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 20:14:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Muhammadbarznji/ScrollViewRTL.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Muhammadbarznji/ScrollViewRTL
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 04a0830 Merge branch 'main' of https://github.com/Muhammadbarznji/ScrollViewRTL
Cloned https://github.com/Muhammadbarznji/ScrollViewRTL.git
Revision (git rev-parse @):
04a083090268ea4a0a3ab912ca045adfa87019cc
SUCCESS checkout https://github.com/Muhammadbarznji/ScrollViewRTL.git at v1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "scrollviewrtl",
"name": "ScrollViewRTL",
"url": "https://github.com/Muhammadbarznji/ScrollViewRTL.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ScrollViewRTL",
"dependencies": [
]
}
]
}
Fetching https://github.com/Muhammadbarznji/ScrollViewRTL.git
[1/85] Fetching scrollviewrtl
Fetched https://github.com/Muhammadbarznji/ScrollViewRTL.git from cache (0.63s)
Creating working copy for https://github.com/Muhammadbarznji/ScrollViewRTL.git
Working copy of https://github.com/Muhammadbarznji/ScrollViewRTL.git resolved at v1.0.0 (04a0830)
warning: '.resolve-product-dependencies': dependency 'scrollviewrtl' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Muhammadbarznji/ScrollViewRTL.git
{
"dependencies" : [
],
"manifest_display_name" : "ScrollViewRTL",
"name" : "ScrollViewRTL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ScrollViewRTL",
"targets" : [
"ScrollViewRTL"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScrollViewRTLTests",
"module_type" : "SwiftTarget",
"name" : "ScrollViewRTLTests",
"path" : "Tests/ScrollViewRTLTests",
"sources" : [
"ScrollViewRTLTests.swift"
],
"target_dependencies" : [
"ScrollViewRTL"
],
"type" : "test"
},
{
"c99name" : "ScrollViewRTL",
"module_type" : "SwiftTarget",
"name" : "ScrollViewRTL",
"path" : "Sources/ScrollViewRTL",
"product_memberships" : [
"ScrollViewRTL"
],
"sources" : [
"ScrollViewRTL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ScrollViewRTL
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:33:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
31 |
32 | /// The layout direction environment property.
33 | @Environment(\.layoutDirection) private var direction
| `- error: 'layoutDirection' is only available in macOS 10.15 or newer
34 |
35 | /// The type of the row, either horizontal or vertical.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:30:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
31 |
32 | /// The layout direction environment property.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:33:6: error: 'Environment' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
31 |
32 | /// The layout direction environment property.
33 | @Environment(\.layoutDirection) private var direction
| `- error: 'Environment' is only available in macOS 10.15 or newer
34 |
35 | /// The type of the row, either horizontal or vertical.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:47:63: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
45 | /// - showsIndicators: A boolean value indicating whether to show scroll indicators.
46 | /// - content: The content to be displayed in the scroll view.
47 | public init(type: RowType, showsIndicators: Bool = true, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
48 | self.type = type
49 | self.showsIndicators = showsIndicators
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
56 | scrollViewForModerniOS
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:72:47: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:28:38: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:101:28: error: 'Axis' is only available in macOS 10.15 or newer
94 |
95 | /// An enum representing the type of row for the `ScrollViewRTL` struct.
96 | public enum RowType {
| `- note: add @available attribute to enclosing enum
97 | case horizontal
98 | case vertical
99 |
100 | /// The scroll axis associated with the row type.
101 | public var scrollAxis: Axis.Set {
| | `- error: 'Axis' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | switch self {
103 | case .horizontal:
[4/4] Compiling ScrollViewRTL ScrollViewRTL.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:33:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
31 |
32 | /// The layout direction environment property.
33 | @Environment(\.layoutDirection) private var direction
| `- error: 'layoutDirection' is only available in macOS 10.15 or newer
34 |
35 | /// The type of the row, either horizontal or vertical.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:30:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
31 |
32 | /// The layout direction environment property.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:33:6: error: 'Environment' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
31 |
32 | /// The layout direction environment property.
33 | @Environment(\.layoutDirection) private var direction
| `- error: 'Environment' is only available in macOS 10.15 or newer
34 |
35 | /// The type of the row, either horizontal or vertical.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:47:63: error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
45 | /// - showsIndicators: A boolean value indicating whether to show scroll indicators.
46 | /// - content: The content to be displayed in the scroll view.
47 | public init(type: RowType, showsIndicators: Bool = true, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
48 | self.type = type
49 | self.showsIndicators = showsIndicators
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
56 | scrollViewForModerniOS
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:72:47: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:28:38: error: 'View' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:101:28: error: 'Axis' is only available in macOS 10.15 or newer
94 |
95 | /// An enum representing the type of row for the `ScrollViewRTL` struct.
96 | public enum RowType {
| `- note: add @available attribute to enclosing enum
97 | case horizontal
98 | case vertical
99 |
100 | /// The scroll axis associated with the row type.
101 | public var scrollAxis: Axis.Set {
| | `- error: 'Axis' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
102 | switch self {
103 | case .horizontal:
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:55:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
53 | /// The body of the view.
54 | public var body: some View {
55 | if #available(iOS 17.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
56 | scrollViewForModerniOS
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:56:13: error: 'scrollViewForModerniOS' is only available in macOS 13.3 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
56 | scrollViewForModerniOS
| |- error: 'scrollViewForModerniOS' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
57 | } else {
58 | scrollViewForEarlieriOS
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:55:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
56 | scrollViewForModerniOS
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:55:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | scrollViewForModerniOS
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:57:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
56 | scrollViewForModerniOS
57 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | scrollViewForEarlieriOS
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:54:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
52 |
53 | /// The body of the view.
54 | public var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' 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
| `- note: add @available attribute to enclosing property
55 | if #available(iOS 17.0, *) {
56 | scrollViewForModerniOS
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:73:9: error: 'ScrollView' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:73:9: error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
| |- error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:75:18: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
| |- error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:75:35: error: 'Angle' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
| |- error: 'Angle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | }
77 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:77:10: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
76 | }
77 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
| |- error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewRTL/ScrollViewRTL.swift:77:27: error: 'Angle' is only available in macOS 10.15 or newer
26 | /// ```
27 | ///
28 | public struct ScrollViewRTL<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
29 | /// The content to be displayed in the scroll view.
30 | @ViewBuilder var content: Content
:
70 |
71 | /// The scroll view implementation for earlier iOS versions.
72 | private var scrollViewForEarlieriOS: some View {
| `- note: add @available attribute to enclosing property
73 | ScrollView(type.scrollAxis, showsIndicators: showsIndicators) {
74 | content
75 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
76 | }
77 | .rotation3DEffect(Angle(degrees: rotationAngle), axis: rotationAxis)
| |- error: 'Angle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | }
79 |
BUILD FAILURE 6.0 macosSpm