Build Information
Failed to build PageControl, reference 0.0.0 (a494a0), with Swift 6.3 for macOS (SPM) on 14 May 2026 11:11:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/PageControl.git
Reference: 0.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/PageControl
* tag 0.0.0 -> FETCH_HEAD
HEAD is now at a494a0c Create Documentation.md
Cloned https://github.com/edonv/PageControl.git
Revision (git rev-parse @):
a494a0c20c5901d22eee58cf1c568d6583a0327d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/PageControl.git at 0.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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "pagecontrol",
"name": "PageControl",
"url": "https://github.com/edonv/PageControl.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PageControl",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/edonv/PageControl.git
[1/259] Fetching pagecontrol
Fetched https://github.com/edonv/PageControl.git from cache (0.64s)
Creating working copy for https://github.com/edonv/PageControl.git
Working copy of https://github.com/edonv/PageControl.git resolved at 0.0.0 (a494a0c)
warning: '.resolve-product-dependencies': dependency 'pagecontrol' 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/edonv/PageControl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module PageControl
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:12:28: error: cannot find type 'UIViewRepresentable' in scope
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | // MARK: Public Properties
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:15:24: error: cannot find type 'UIImage' in scope
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
15 | var preferred: UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:16:26: error: cannot find type 'UIImage' in scope
14 | struct IndicatorImages: Hashable {
15 | var preferred: UIImage? = nil
16 | var currentPage: UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
17 | var perPage: [Int: UIImage] = [:]
18 | var currentPerPage: [Int: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:17:28: error: cannot find type 'UIImage' in scope
15 | var preferred: UIImage? = nil
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
| `- error: cannot find type 'UIImage' in scope
18 | var currentPerPage: [Int: UIImage] = [:]
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:18:35: error: cannot find type 'UIImage' in scope
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
18 | var currentPerPage: [Int: UIImage] = [:]
| `- error: cannot find type 'UIImage' in scope
19 |
20 | mutating func setPreferred(
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:21:22: error: cannot find type 'UIImage' in scope
19 |
20 | mutating func setPreferred(
21 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
22 | forPage page: Int?
23 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:33:22: error: cannot find type 'UIImage' in scope
31 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
32 | mutating func setCurrent(
33 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
34 | forPage page: Int?
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:14:12: error: type 'PageControl.IndicatorImages' does not conform to protocol 'Hashable'
12 | extension PageControl {
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
| `- error: type 'PageControl.IndicatorImages' does not conform to protocol 'Hashable'
15 | var preferred: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
16 | var currentPage: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
17 | var perPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
18 | var currentPerPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
19 |
20 | mutating func setPreferred(
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:14:12: error: type 'PageControl.IndicatorImages' does not conform to protocol 'Equatable'
12 | extension PageControl {
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
| |- error: type 'PageControl.IndicatorImages' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
15 | var preferred: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
16 | var currentPage: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
17 | var perPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
18 | var currentPerPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
19 |
20 | mutating func setPreferred(
Swift.==:1:24: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_CFObject'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(PageControl.IndicatorImages, PageControl.IndicatorImages) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(PageControl.IndicatorImages, PageControl.IndicatorImages) -> Bool'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:45:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
43 | }
44 |
45 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
46 | @Entry
47 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:61:18: error: cannot find type 'UIImage' in scope
59 | nonisolated
60 | public func pageControlIndicatorImage(
61 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
62 | forPage page: Int? = nil
63 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:63:15: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
:
58 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
59 | nonisolated
60 | public func pageControlIndicatorImage(
| `- note: add '@available' attribute to enclosing instance method
61 | _ image: UIImage?,
62 | forPage page: Int? = nil
63 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
64 | transformEnvironment(\.pageControlIndicatorImages) { images in
65 | images.setPreferred(image, forPage: page)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:76:18: error: cannot find type 'UIImage' in scope
74 | nonisolated
75 | public func pageControlCurrentIndicatorImage(
76 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
77 | forPage page: Int? = nil
78 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:78:15: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
:
73 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
74 | nonisolated
75 | public func pageControlCurrentIndicatorImage(
| `- note: add '@available' attribute to enclosing instance method
76 | _ image: UIImage?,
77 | forPage page: Int? = nil
78 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
79 | transformEnvironment(\.pageControlIndicatorImages) { images in
80 | images.setCurrent(image, forPage: page)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:53:11: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:115:34: error: cannot find type 'UIPageControl' in scope
113 | extension PageControl {
114 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
115 | public typealias Direction = UIPageControl.Direction
| `- error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:25:70: note: expanded code originates here
21 | ///
22 | /// The default value is [`UIPageControl.Direction.natural`](https://developer.apple.com/documentation/uikit/uipagecontrol/direction-swift.enum/natural).
23 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlDirection' here
| `- note: in expansion of macro 'Entry' on property 'pageControlDirection' here
24 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
25 | public var pageControlDirection: PageControl.Direction = .natural
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlDirection: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.Direction = .natural
+-------------------------------------------------------------------
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:118:40: error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
118 | public typealias BackgroundStyle = UIPageControl.BackgroundStyle
| `- error: cannot find type 'UIPageControl' in scope
119 | }
120 |
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:30:84: note: expanded code originates here
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
28 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlBackgroundStyle' here
| `- note: in expansion of macro 'Entry' on property 'pageControlBackgroundStyle' here
29 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
30 | public var pageControlBackgroundStyle: PageControl.BackgroundStyle = .automatic
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlBackgroundStyle: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.BackgroundStyle = .automatic
+-------------------------------------------------------------------
31 |
32 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:46: error: cannot find type 'UIColor' in scope
35 | @Entry
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
| `- error: cannot find type 'UIColor' in scope
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:4:30: error: cannot find type 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:60: note: expanded code originates here
33 | ///
34 | /// The default color is a translucent white for the page indicator dot. The page indicator dot is used for all of the pages not visible on the screen. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlCurrentPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently. Similarly, no alpha is applied to this property for you. It is recommended (but not required) that the color you specify for this parameter contains some transparency–i.e. the alpha value should be less than 1.0.
35 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|2 | private struct __Key_pageControlPageIndicatorTint: SwiftUICore.EnvironmentKey {
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
| | `- error: cannot find type 'UIColor' in scope
|5 | }
+-------------------------------------------------------------------
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:60: note: expanded code originates here
33 | ///
34 | /// The default color is a translucent white for the page indicator dot. The page indicator dot is used for all of the pages not visible on the screen. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlCurrentPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently. Similarly, no alpha is applied to this property for you. It is recommended (but not required) that the color you specify for this parameter contains some transparency–i.e. the alpha value should be less than 1.0.
35 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
| `- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:53: error: cannot find type 'UIColor' in scope
42 | @Entry
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
| `- error: cannot find type 'UIColor' in scope
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
macro expansion @Entry:4:30: error: cannot find type 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:67: note: expanded code originates here
40 | ///
41 | /// The default color is an opaque white for the current page indicator dot. The current page indicator dot is used to indicate the currently visible page. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently.
42 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|2 | private struct __Key_pageControlCurrentPageIndicatorTint: SwiftUICore.EnvironmentKey {
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
| | `- error: cannot find type 'UIColor' in scope
|5 | }
+-------------------------------------------------------------------
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:67: note: expanded code originates here
40 | ///
41 | /// The default color is an opaque white for the current page indicator dot. The current page indicator dot is used to indicate the currently visible page. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently.
42 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
| `- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlCurrentPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:12:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
10 | // MARK: - Entries
11 |
12 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
13 | /// Hides a ``PageControl/PageControl`` when there is only one page.
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:60:76: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
58 | /// Assign `false` (the default) to show the page control if there is only one page.
59 | nonisolated
60 | public func pageControlHidesForSinglePage(_ hide: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
61 | environment(\.pageControlHidesForSinglePage, hide)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:69:82: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
67 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
68 | nonisolated
69 | public func pageControlDirection(_ direction: PageControl.Direction) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | environment(\.pageControlDirection, direction)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:78:90: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
76 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
77 | nonisolated
78 | public func pageControlBackgroundStyle(_ style: PageControl.BackgroundStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | environment(\.pageControlBackgroundStyle, style)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:87:55: error: cannot find type 'UIColor' in scope
85 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
86 | nonisolated
87 | public func pageControlPageIndicatorTint(_ color: UIColor) -> some View {
| `- error: cannot find type 'UIColor' in scope
88 | environment(\.pageControlPageIndicatorTint, color)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:87:72: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
85 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
86 | nonisolated
87 | public func pageControlPageIndicatorTint(_ color: UIColor) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
88 | environment(\.pageControlPageIndicatorTint, color)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:96:62: error: cannot find type 'UIColor' in scope
94 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
95 | nonisolated
96 | public func pageControlCurrentPageIndicatorTint(_ color: UIColor) -> some View {
| `- error: cannot find type 'UIColor' in scope
97 | environment(\.pageControlCurrentPageIndicatorTint, color)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:96:79: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
94 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
95 | nonisolated
96 | public func pageControlCurrentPageIndicatorTint(_ color: UIColor) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
97 | environment(\.pageControlCurrentPageIndicatorTint, color)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:103:91: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
101 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
102 | nonisolated
103 | public func pageControlContinuousInteractionDisabled(_ disabled: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
104 | environment(\.pageControlContinuousInteractionDisabled, disabled)
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:54:11: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
16 | ///
17 | /// The property value is an integer specifying the current page shown minus one; thus a value of zero (the default) indicates the first page. A page control shows the current page as a white dot. Values outside the possible range are pinned to either 0 or ``pageCount`` minus 1.
18 | @Binding
| `- error: 'Binding' is only available in macOS 10.15 or newer
19 | public var selection: Int
20 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:33:20: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
30 | /// - selection: A binding to a property that describes the currently-selected page number.
31 | /// - pageCount: An integeder describing the number of pages the control shows.
32 | public init(
| `- note: add '@available' attribute to enclosing initializer
33 | selection: Binding<Int>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
34 | pageCount: Int
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:42:49: error: cannot find type 'UIPageControl' in scope
40 | // MARK: UIViewRepresentable
41 |
42 | public func makeUIView(context: Context) -> UIPageControl {
| `- error: cannot find type 'UIPageControl' in scope
43 | let control = UIPageControl()
44 | control.numberOfPages = pageCount
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:42:37: error: cannot find type 'Context' in scope
40 | // MARK: UIViewRepresentable
41 |
42 | public func makeUIView(context: Context) -> UIPageControl {
| `- error: cannot find type 'Context' in scope
43 | let control = UIPageControl()
44 | control.numberOfPages = pageCount
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:84:40: error: cannot find type 'UIPageControl' in scope
82 | }
83 |
84 | public func updateUIView(_ uiView: UIPageControl, context: Context) {
| `- error: cannot find type 'UIPageControl' in scope
85 | uiView.currentPage = selection
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:84:64: error: cannot find type 'Context' in scope
82 | }
83 |
84 | public func updateUIView(_ uiView: UIPageControl, context: Context) {
| `- error: cannot find type 'Context' in scope
85 | uiView.currentPage = selection
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:68: error: cannot find type 'UIPageControl' in scope
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| `- error: cannot find type 'UIPageControl' in scope
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:92: error: cannot find type 'Context' in scope
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| `- error: cannot find type 'Context' in scope
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:42: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:105:40: error: cannot find type 'UIPageControl' in scope
103 |
104 | @MainActor @objc
105 | func updateCurrentPage(sender: UIPageControl) {
| `- error: cannot find type 'UIPageControl' in scope
106 | control.selection = sender.currentPage
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:123:6: error: 'Previewable()' is only available in macOS 14.0 or newer
121 | @available(iOS 17, *)
122 | #Preview {
123 | @Previewable @State
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
124 | var currentPage: Int = 0
125 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:160:14: error: value of type 'PageControl' has no member 'pageControlBackgroundStyle'
158 | .overlay(alignment: .bottom) {
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
| `- error: value of type 'PageControl' has no member 'pageControlBackgroundStyle'
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:167:48: error: cannot infer contextual base in reference to member 'init'
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
| `- error: cannot infer contextual base in reference to member 'init'
168 | // .direction(.rightToLeft)
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:166:48: error: cannot infer contextual base in reference to member 'init'
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
| `- error: cannot infer contextual base in reference to member 'init'
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
168 | // .direction(.rightToLeft)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:165:41: error: cannot infer contextual base in reference to member 'init'
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
| `- error: cannot infer contextual base in reference to member 'init'
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:164:41: error: cannot infer contextual base in reference to member 'init'
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
| `- error: cannot infer contextual base in reference to member 'init'
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:162:51: error: cannot infer contextual base in reference to member 'systemGreen'
160 | .pageControlBackgroundStyle(.prominent)
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
| `- error: cannot infer contextual base in reference to member 'systemGreen'
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:161:44: error: cannot infer contextual base in reference to member 'systemBlue'
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
161 | .pageControlPageIndicatorTint(.systemBlue)
| `- error: cannot infer contextual base in reference to member 'systemBlue'
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
163 | .pageControlContinuousInteractionDisabled(false)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:160:42: error: cannot infer contextual base in reference to member 'prominent'
158 | .overlay(alignment: .bottom) {
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
| `- error: cannot infer contextual base in reference to member 'prominent'
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
[4/6] Compiling PageControl PageControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
16 | ///
17 | /// The property value is an integer specifying the current page shown minus one; thus a value of zero (the default) indicates the first page. A page control shows the current page as a white dot. Values outside the possible range are pinned to either 0 or ``pageCount`` minus 1.
18 | @Binding
| `- error: 'Binding' is only available in macOS 10.15 or newer
19 | public var selection: Int
20 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:33:20: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
30 | /// - selection: A binding to a property that describes the currently-selected page number.
31 | /// - pageCount: An integeder describing the number of pages the control shows.
32 | public init(
| `- note: add '@available' attribute to enclosing initializer
33 | selection: Binding<Int>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
34 | pageCount: Int
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:42:49: error: cannot find type 'UIPageControl' in scope
40 | // MARK: UIViewRepresentable
41 |
42 | public func makeUIView(context: Context) -> UIPageControl {
| `- error: cannot find type 'UIPageControl' in scope
43 | let control = UIPageControl()
44 | control.numberOfPages = pageCount
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:42:37: error: cannot find type 'Context' in scope
40 | // MARK: UIViewRepresentable
41 |
42 | public func makeUIView(context: Context) -> UIPageControl {
| `- error: cannot find type 'Context' in scope
43 | let control = UIPageControl()
44 | control.numberOfPages = pageCount
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:84:40: error: cannot find type 'UIPageControl' in scope
82 | }
83 |
84 | public func updateUIView(_ uiView: UIPageControl, context: Context) {
| `- error: cannot find type 'UIPageControl' in scope
85 | uiView.currentPage = selection
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:84:64: error: cannot find type 'Context' in scope
82 | }
83 |
84 | public func updateUIView(_ uiView: UIPageControl, context: Context) {
| `- error: cannot find type 'Context' in scope
85 | uiView.currentPage = selection
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:68: error: cannot find type 'UIPageControl' in scope
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| `- error: cannot find type 'UIPageControl' in scope
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:92: error: cannot find type 'Context' in scope
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| `- error: cannot find type 'Context' in scope
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:89:42: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | // MARK: Public Properties
14 |
:
87 |
88 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
89 | public func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIPageControl, context: Context) -> CGSize? {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
90 | return uiView.size(forNumberOfPages: pageCount)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:105:40: error: cannot find type 'UIPageControl' in scope
103 |
104 | @MainActor @objc
105 | func updateCurrentPage(sender: UIPageControl) {
| `- error: cannot find type 'UIPageControl' in scope
106 | control.selection = sender.currentPage
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:12:28: error: cannot find type 'UIViewRepresentable' in scope
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | // MARK: Public Properties
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:115:34: error: cannot find type 'UIPageControl' in scope
113 | extension PageControl {
114 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
115 | public typealias Direction = UIPageControl.Direction
| `- error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:118:40: error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
118 | public typealias BackgroundStyle = UIPageControl.BackgroundStyle
| `- error: cannot find type 'UIPageControl' in scope
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:123:6: error: 'Previewable()' is only available in macOS 14.0 or newer
121 | @available(iOS 17, *)
122 | #Preview {
123 | @Previewable @State
| |- error: 'Previewable()' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
124 | var currentPage: Int = 0
125 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:160:14: error: value of type 'PageControl' has no member 'pageControlBackgroundStyle'
158 | .overlay(alignment: .bottom) {
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
| `- error: value of type 'PageControl' has no member 'pageControlBackgroundStyle'
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:167:48: error: cannot infer contextual base in reference to member 'init'
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
| `- error: cannot infer contextual base in reference to member 'init'
168 | // .direction(.rightToLeft)
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:166:48: error: cannot infer contextual base in reference to member 'init'
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
| `- error: cannot infer contextual base in reference to member 'init'
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
168 | // .direction(.rightToLeft)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:165:41: error: cannot infer contextual base in reference to member 'init'
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
| `- error: cannot infer contextual base in reference to member 'init'
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
167 | .pageControlCurrentIndicatorImage(.init(systemName: "book.circle.fill"))
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:164:41: error: cannot infer contextual base in reference to member 'init'
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
| `- error: cannot infer contextual base in reference to member 'init'
165 | .pageControlIndicatorImage(.init(systemName: "gamecontroller"), forPage: 0)
166 | .pageControlCurrentIndicatorImage(.init(systemName: "gamecontroller.fill"), forPage: 0)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:162:51: error: cannot infer contextual base in reference to member 'systemGreen'
160 | .pageControlBackgroundStyle(.prominent)
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
| `- error: cannot infer contextual base in reference to member 'systemGreen'
163 | .pageControlContinuousInteractionDisabled(false)
164 | .pageControlIndicatorImage(.init(systemName: "plus.circle.fill"))
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:161:44: error: cannot infer contextual base in reference to member 'systemBlue'
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
161 | .pageControlPageIndicatorTint(.systemBlue)
| `- error: cannot infer contextual base in reference to member 'systemBlue'
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
163 | .pageControlContinuousInteractionDisabled(false)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:160:42: error: cannot infer contextual base in reference to member 'prominent'
158 | .overlay(alignment: .bottom) {
159 | PageControl(selection: $currentPage, pageCount: colors.count)
160 | .pageControlBackgroundStyle(.prominent)
| `- error: cannot infer contextual base in reference to member 'prominent'
161 | .pageControlPageIndicatorTint(.systemBlue)
162 | .pageControlCurrentPageIndicatorTint(.systemGreen)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:43:23: error: cannot find 'UIPageControl' in scope
41 |
42 | public func makeUIView(context: Context) -> UIPageControl {
43 | let control = UIPageControl()
| `- error: cannot find 'UIPageControl' in scope
44 | control.numberOfPages = pageCount
45 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:49:19: error: cannot infer contextual base in reference to member 'valueChanged'
47 | context.coordinator,
48 | action: #selector(Coordinator.updateCurrentPage(sender:)),
49 | for: .valueChanged
| `- error: cannot infer contextual base in reference to member 'valueChanged'
50 | )
51 |
[5/6] Compiling PageControl EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:115:34: error: cannot find type 'UIPageControl' in scope
113 | extension PageControl {
114 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
115 | public typealias Direction = UIPageControl.Direction
| `- error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:25:70: note: expanded code originates here
21 | ///
22 | /// The default value is [`UIPageControl.Direction.natural`](https://developer.apple.com/documentation/uikit/uipagecontrol/direction-swift.enum/natural).
23 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlDirection' here
24 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
25 | public var pageControlDirection: PageControl.Direction = .natural
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlDirection: SwiftUICore.EnvironmentKey {
| | `- error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.Direction = .natural
+-------------------------------------------------------------------
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:25:70: note: expanded code originates here
21 | ///
22 | /// The default value is [`UIPageControl.Direction.natural`](https://developer.apple.com/documentation/uikit/uipagecontrol/direction-swift.enum/natural).
23 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlDirection' here
| `- note: in expansion of macro 'Entry' on property 'pageControlDirection' here
24 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
25 | public var pageControlDirection: PageControl.Direction = .natural
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlDirection: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlDirection' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.Direction = .natural
+-------------------------------------------------------------------
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:118:40: error: cannot find type 'UIPageControl' in scope
116 |
117 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
118 | public typealias BackgroundStyle = UIPageControl.BackgroundStyle
| `- error: cannot find type 'UIPageControl' in scope
119 | }
120 |
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:30:84: note: expanded code originates here
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
28 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlBackgroundStyle' here
29 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
30 | public var pageControlBackgroundStyle: PageControl.BackgroundStyle = .automatic
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlBackgroundStyle: SwiftUICore.EnvironmentKey {
| | `- error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.BackgroundStyle = .automatic
+-------------------------------------------------------------------
31 |
32 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:30:84: note: expanded code originates here
26 |
27 | /// The preferred background style for a ``PageControl/PageControl``.
28 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlBackgroundStyle' here
| `- note: in expansion of macro 'Entry' on property 'pageControlBackgroundStyle' here
29 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
30 | public var pageControlBackgroundStyle: PageControl.BackgroundStyle = .automatic
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlBackgroundStyle: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlBackgroundStyle' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: PageControl.BackgroundStyle = .automatic
+-------------------------------------------------------------------
31 |
32 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:46: error: cannot find type 'UIColor' in scope
35 | @Entry
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
| `- error: cannot find type 'UIColor' in scope
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:4:30: error: cannot find type 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:60: note: expanded code originates here
33 | ///
34 | /// The default color is a translucent white for the page indicator dot. The page indicator dot is used for all of the pages not visible on the screen. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlCurrentPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently. Similarly, no alpha is applied to this property for you. It is recommended (but not required) that the color you specify for this parameter contains some transparency–i.e. the alpha value should be less than 1.0.
35 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|2 | private struct __Key_pageControlPageIndicatorTint: SwiftUICore.EnvironmentKey {
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
| | `- error: cannot find type 'UIColor' in scope
|5 | }
+-------------------------------------------------------------------
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:60: note: expanded code originates here
33 | ///
34 | /// The default color is a translucent white for the page indicator dot. The page indicator dot is used for all of the pages not visible on the screen. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlCurrentPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently. Similarly, no alpha is applied to this property for you. It is recommended (but not required) that the color you specify for this parameter contains some transparency–i.e. the alpha value should be less than 1.0.
35 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | `- error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:37:60: note: expanded code originates here
33 | ///
34 | /// The default color is a translucent white for the page indicator dot. The page indicator dot is used for all of the pages not visible on the screen. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlCurrentPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently. Similarly, no alpha is applied to this property for you. It is recommended (but not required) that the color you specify for this parameter contains some transparency–i.e. the alpha value should be less than 1.0.
35 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
| `- note: in expansion of macro 'Entry' on property 'pageControlPageIndicatorTint' here
36 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
37 | public var pageControlPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
38 |
39 | /// The tint color to apply to the current page indicator of a ``PageControl/PageControl``.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:53: error: cannot find type 'UIColor' in scope
42 | @Entry
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
| `- error: cannot find type 'UIColor' in scope
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
macro expansion @Entry:4:30: error: cannot find type 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:67: note: expanded code originates here
40 | ///
41 | /// The default color is an opaque white for the current page indicator dot. The current page indicator dot is used to indicate the currently visible page. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently.
42 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|2 | private struct __Key_pageControlCurrentPageIndicatorTint: SwiftUICore.EnvironmentKey {
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
| | `- error: cannot find type 'UIColor' in scope
|5 | }
+-------------------------------------------------------------------
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:67: note: expanded code originates here
40 | ///
41 | /// The default color is an opaque white for the current page indicator dot. The current page indicator dot is used to indicate the currently visible page. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently.
42 | @Entry
| `- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlCurrentPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | `- error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
macro expansion @Entry:2:16: error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
`- /Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:44:67: note: expanded code originates here
40 | ///
41 | /// The default color is an opaque white for the current page indicator dot. The current page indicator dot is used to indicate the currently visible page. Assigning a new value to this property does not automatically change the color in the ``PageControl/SwiftUICore/EnvironmentValues/pageControlPageIndicatorTint`` property because the value for these two properties is not automatically derived from the other. Both properties must be specified independently.
42 | @Entry
| |- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
| `- note: in expansion of macro 'Entry' on property 'pageControlCurrentPageIndicatorTint' here
43 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
44 | public var pageControlCurrentPageIndicatorTint: UIColor? = nil
+--- macro expansion @Entry ----------------------------------------
|1 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
|2 | private struct __Key_pageControlCurrentPageIndicatorTint: SwiftUICore.EnvironmentKey {
| | |- error: type 'EnvironmentValues.__Key_pageControlCurrentPageIndicatorTint' does not conform to protocol 'EnvironmentKey'
| | `- note: add stubs for conformance
|3 | @SwiftUICore.__EntryDefaultValue
|4 | static var defaultValue: UIColor? = nil
+-------------------------------------------------------------------
45 |
46 | /// A Boolean value that determines whether a ``PageControl/PageControl`` allows continuous interaction.
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:12:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
10 | // MARK: - Entries
11 |
12 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
13 | /// Hides a ``PageControl/PageControl`` when there is only one page.
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:60:76: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
58 | /// Assign `false` (the default) to show the page control if there is only one page.
59 | nonisolated
60 | public func pageControlHidesForSinglePage(_ hide: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
61 | environment(\.pageControlHidesForSinglePage, hide)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:69:82: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
67 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
68 | nonisolated
69 | public func pageControlDirection(_ direction: PageControl.Direction) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | environment(\.pageControlDirection, direction)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:78:90: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
76 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
77 | nonisolated
78 | public func pageControlBackgroundStyle(_ style: PageControl.BackgroundStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | environment(\.pageControlBackgroundStyle, style)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:87:55: error: cannot find type 'UIColor' in scope
85 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
86 | nonisolated
87 | public func pageControlPageIndicatorTint(_ color: UIColor) -> some View {
| `- error: cannot find type 'UIColor' in scope
88 | environment(\.pageControlPageIndicatorTint, color)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:87:72: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
85 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
86 | nonisolated
87 | public func pageControlPageIndicatorTint(_ color: UIColor) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
88 | environment(\.pageControlPageIndicatorTint, color)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:96:62: error: cannot find type 'UIColor' in scope
94 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
95 | nonisolated
96 | public func pageControlCurrentPageIndicatorTint(_ color: UIColor) -> some View {
| `- error: cannot find type 'UIColor' in scope
97 | environment(\.pageControlCurrentPageIndicatorTint, color)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:96:79: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
94 | @available(iOS 13.0, macCatalyst 13.1, tvOS 13.0, visionOS 1.0, *)
95 | nonisolated
96 | public func pageControlCurrentPageIndicatorTint(_ color: UIColor) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
97 | environment(\.pageControlCurrentPageIndicatorTint, color)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:103:91: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
101 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
102 | nonisolated
103 | public func pageControlContinuousInteractionDisabled(_ disabled: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
104 | environment(\.pageControlContinuousInteractionDisabled, disabled)
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:54:11: error: 'View' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:61:9: error: 'environment' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
58 | /// Assign `false` (the default) to show the page control if there is only one page.
59 | nonisolated
60 | public func pageControlHidesForSinglePage(_ hide: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
61 | environment(\.pageControlHidesForSinglePage, hide)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:70:21: error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
68 | nonisolated
69 | public func pageControlDirection(_ direction: PageControl.Direction) -> some View {
70 | environment(\.pageControlDirection, direction)
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:79:21: error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
77 | nonisolated
78 | public func pageControlBackgroundStyle(_ style: PageControl.BackgroundStyle) -> some View {
79 | environment(\.pageControlBackgroundStyle, style)
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:88:21: error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
86 | nonisolated
87 | public func pageControlPageIndicatorTint(_ color: UIColor) -> some View {
88 | environment(\.pageControlPageIndicatorTint, color)
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:97:21: error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
95 | nonisolated
96 | public func pageControlCurrentPageIndicatorTint(_ color: UIColor) -> some View {
97 | environment(\.pageControlCurrentPageIndicatorTint, color)
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, Value>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues.swift:104:9: error: 'environment' is only available in macOS 10.15 or newer
52 | // MARK: - ViewModifiers
53 |
54 | extension View {
| `- note: add '@available' attribute to enclosing extension
55 | /// Hides a ``PageControl/PageControl`` when there is only one page.
56 | ///
:
101 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
102 | nonisolated
103 | public func pageControlContinuousInteractionDisabled(_ disabled: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
104 | environment(\.pageControlContinuousInteractionDisabled, disabled)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | }
106 | }
[6/6] Compiling PageControl EnvironmentValues+PageIndicatorImages.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/PageControl.swift:12:28: error: cannot find type 'UIViewRepresentable' in scope
10 | import SwiftUI
11 |
12 | public struct PageControl: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | // MARK: Public Properties
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:15:24: error: cannot find type 'UIImage' in scope
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
15 | var preferred: UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:16:26: error: cannot find type 'UIImage' in scope
14 | struct IndicatorImages: Hashable {
15 | var preferred: UIImage? = nil
16 | var currentPage: UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
17 | var perPage: [Int: UIImage] = [:]
18 | var currentPerPage: [Int: UIImage] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:17:28: error: cannot find type 'UIImage' in scope
15 | var preferred: UIImage? = nil
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
| `- error: cannot find type 'UIImage' in scope
18 | var currentPerPage: [Int: UIImage] = [:]
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:18:35: error: cannot find type 'UIImage' in scope
16 | var currentPage: UIImage? = nil
17 | var perPage: [Int: UIImage] = [:]
18 | var currentPerPage: [Int: UIImage] = [:]
| `- error: cannot find type 'UIImage' in scope
19 |
20 | mutating func setPreferred(
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:21:22: error: cannot find type 'UIImage' in scope
19 |
20 | mutating func setPreferred(
21 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
22 | forPage page: Int?
23 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:33:22: error: cannot find type 'UIImage' in scope
31 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
32 | mutating func setCurrent(
33 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
34 | forPage page: Int?
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:14:12: error: type 'PageControl.IndicatorImages' does not conform to protocol 'Hashable'
12 | extension PageControl {
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
| `- error: type 'PageControl.IndicatorImages' does not conform to protocol 'Hashable'
15 | var preferred: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
16 | var currentPage: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
17 | var perPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
18 | var currentPerPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Hashable'
19 |
20 | mutating func setPreferred(
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:14:12: error: type 'PageControl.IndicatorImages' does not conform to protocol 'Equatable'
12 | extension PageControl {
13 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
14 | struct IndicatorImages: Hashable {
| |- error: type 'PageControl.IndicatorImages' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
15 | var preferred: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
16 | var currentPage: UIImage? = nil
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
17 | var perPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
18 | var currentPerPage: [Int: UIImage] = [:]
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'PageControl.IndicatorImages' to 'Equatable'
19 |
20 | mutating func setPreferred(
Swift.==:1:24: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'PageControl.IndicatorImages' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'PageControl.IndicatorImages' conformed to '_CFObject'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(PageControl.IndicatorImages, PageControl.IndicatorImages) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(PageControl.IndicatorImages, PageControl.IndicatorImages) -> Bool'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:45:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
43 | }
44 |
45 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
46 | @Entry
47 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:61:18: error: cannot find type 'UIImage' in scope
59 | nonisolated
60 | public func pageControlIndicatorImage(
61 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
62 | forPage page: Int? = nil
63 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:63:15: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
:
58 | @available(iOS 14.0, macCatalyst 14.0, tvOS 14.0, visionOS 1.0, *)
59 | nonisolated
60 | public func pageControlIndicatorImage(
| `- note: add '@available' attribute to enclosing instance method
61 | _ image: UIImage?,
62 | forPage page: Int? = nil
63 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
64 | transformEnvironment(\.pageControlIndicatorImages) { images in
65 | images.setPreferred(image, forPage: page)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:76:18: error: cannot find type 'UIImage' in scope
74 | nonisolated
75 | public func pageControlCurrentIndicatorImage(
76 | _ image: UIImage?,
| `- error: cannot find type 'UIImage' in scope
77 | forPage page: Int? = nil
78 | ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:78:15: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
:
73 | @available(iOS 16.0, macCatalyst 16.0, tvOS 16.0, visionOS 1.0, *)
74 | nonisolated
75 | public func pageControlCurrentIndicatorImage(
| `- note: add '@available' attribute to enclosing instance method
76 | _ image: UIImage?,
77 | forPage page: Int? = nil
78 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
79 | transformEnvironment(\.pageControlIndicatorImages) { images in
80 | images.setCurrent(image, forPage: page)
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/EnvironmentValues+PageIndicatorImages.swift:53:11: error: 'View' is only available in macOS 10.15 or newer
51 | // MARK: - ViewModifiers
52 |
53 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
54 | /// Sets the image for the page indicators of a ``PageControl/PageControl``.
55 | /// - Parameters:
BUILD FAILURE 6.3 macosSpm