Build Information
Failed to build ILikeToMoveIt, reference 0.2.6 (ff64ef
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 13:33:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanlintott/ILikeToMoveIt.git
Reference: 0.2.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanlintott/ILikeToMoveIt
* tag 0.2.6 -> FETCH_HEAD
HEAD is now at ff64ef0 Updated Example App bundle identifier to ILikeToMoveItExample
Cloned https://github.com/ryanlintott/ILikeToMoveIt.git
Revision (git rev-parse @):
ff64ef08ec74d4e3e032860eecd29456a9b377dc
SUCCESS checkout https://github.com/ryanlintott/ILikeToMoveIt.git at 0.2.6
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ryanlintott/ILikeToMoveIt.git
https://github.com/ryanlintott/ILikeToMoveIt.git
{
"dependencies" : [
],
"manifest_display_name" : "ILikeToMoveIt",
"name" : "ILikeToMoveIt",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ILikeToMoveIt",
"targets" : [
"ILikeToMoveIt"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "ILikeToMoveItTests",
"module_type" : "SwiftTarget",
"name" : "ILikeToMoveItTests",
"path" : "Tests/ILikeToMoveItTests",
"sources" : [
"ILikeToMoveItTests.swift"
],
"target_dependencies" : [
"ILikeToMoveIt"
],
"type" : "test"
},
{
"c99name" : "ILikeToMoveIt",
"module_type" : "SwiftTarget",
"name" : "ILikeToMoveIt",
"path" : "Sources/ILikeToMoveIt",
"product_memberships" : [
"ILikeToMoveIt"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AccessibilityMoveable.swift",
"Providable.swift",
"UserActivityProvidable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling ILikeToMoveIt resource_bundle_accessor.swift
[5/8] Emitting module ILikeToMoveIt
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:71:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:73:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:69:59: error: 'ObservableObject' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:14:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:16:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
17 |
18 | /// Returns a data representation of this object based on the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:21:21: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
19 | /// - Parameter type: Type to use when converting to Data.
20 | /// - Returns: A data representation of this object based on the specified type.
21 | func data(type: UTType) throws -> Data?
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing instance method
22 |
23 | /// Creates an object based on data converted using the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:27:17: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
25 | /// - type: Type to use when converting from Data.
26 | /// - data: Data representation used when creating the object.
27 | init?(type: UTType, data: Data) throws
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:46:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:50:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:51:125: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
53 | let item = T(activity: activity)
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:46:18: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
[6/8] Compiling ILikeToMoveIt Providable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:14:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:16:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
17 |
18 | /// Returns a data representation of this object based on the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:21:21: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
19 | /// - Parameter type: Type to use when converting to Data.
20 | /// - Returns: A data representation of this object based on the specified type.
21 | func data(type: UTType) throws -> Data?
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing instance method
22 |
23 | /// Creates an object based on data converted using the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:27:17: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
25 | /// - type: Type to use when converting from Data.
26 | /// - data: Data representation used when creating the object.
27 | init?(type: UTType, data: Data) throws
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:46:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:50:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:36:37: error: argument type 'NSUserActivity' does not conform to expected type 'NSItemProviderWriting'
34 |
35 | if let userActivity = (self as? UserActivityProvidable)?.userActivity {
36 | provider.registerObject(userActivity, visibility: .all)
| `- error: argument type 'NSUserActivity' does not conform to expected type 'NSItemProviderWriting'
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:47:34: error: 'identifier' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:51:34: error: 'identifier' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:98:34: error: 'identifier' is only available in macOS 11.0 or newer
87 | }
88 |
89 | class ItemProvider<Item: Providable>: NSObject, NSItemProviderWriting, NSItemProviderReading {
| `- note: add @available attribute to enclosing generic class
90 | var item: Item
91 |
:
95 | }
96 |
97 | static var writableTypeIdentifiersForItemProvider: [String] {
| `- note: add @available attribute to enclosing static property
98 | Item.writableTypes.map(\.identifier)
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:102:34: error: 'identifier' is only available in macOS 11.0 or newer
87 | }
88 |
89 | class ItemProvider<Item: Providable>: NSObject, NSItemProviderWriting, NSItemProviderReading {
| `- note: add @available attribute to enclosing generic class
90 | var item: Item
91 |
:
99 | }
100 |
101 | static var readableTypeIdentifiersForItemProvider: [String] {
| `- note: add @available attribute to enclosing static property
102 | Item.readableTypes.map(\.identifier)
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
103 | }
104 |
[7/8] Compiling ILikeToMoveIt UserActivityProvidable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:51:125: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
53 | let item = T(activity: activity)
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:46:18: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:24:33: error: 'persistentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
| `- note: add @available attribute to enclosing initializer
22 | guard activity.activityType == Self.activityType else { return nil }
23 | guard
24 | let data = activity.persistentIdentifier?.data(using: .utf8),
| |- error: 'persistentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | let item = try? JSONDecoder().decode(Self.self, from: data)
26 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:40:18: error: 'persistentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
22 | guard activity.activityType == Self.activityType else { return nil }
:
30 | }
31 |
32 | var userActivity: NSUserActivity? {
| `- note: add @available attribute to enclosing property
33 | if Self.activityType.isEmpty { return nil }
34 | guard
:
38 | let string = String(data: data, encoding: .utf8)
39 | /// Stores the entire object in the persistent identifier
40 | activity.persistentIdentifier = string
| |- error: 'persistentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | activity.targetContentIdentifier = Self.activityType
42 | return activity
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:41:18: error: 'targetContentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
22 | guard activity.activityType == Self.activityType else { return nil }
:
30 | }
31 |
32 | var userActivity: NSUserActivity? {
| `- note: add @available attribute to enclosing property
33 | if Self.activityType.isEmpty { return nil }
34 | guard
:
39 | /// Stores the entire object in the persistent identifier
40 | activity.persistentIdentifier = string
41 | activity.targetContentIdentifier = Self.activityType
| |- error: 'targetContentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | return activity
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:52:9: error: 'onContinueUserActivity(_:perform:)' is only available in macOS 11.0 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
| |- error: 'onContinueUserActivity(_:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
53 | let item = T(activity: activity)
54 | action(item)
[8/8] Compiling ILikeToMoveIt AccessibilityMoveable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:71:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:73:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
74 | }
75 |
<unknown>:0: error: cannot convert value of type 'KeyPath<AccessibilityMoveController<Item>, Item?>' to expected argument type 'ReferenceWritableKeyPath<AccessibilityMoveController<Item>, Item?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AccessibilityMoveController<Item>, AccessibilityMove<Item>?>' to expected argument type 'ReferenceWritableKeyPath<AccessibilityMoveController<Item>, AccessibilityMove<Item>?>'
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:69:59: error: 'ObservableObject' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:235:9: error: cannot find 'UIAccessibility' in scope
233 | /// This may be a bug in Swift 5.10
234 | /// https://forums.swift.org/t/preconcurrency-notification-names-in-submodules/70514
235 | UIAccessibility.post(notification: .announcement, argument: announcement.joined(separator: " "))
| `- error: cannot find 'UIAccessibility' in scope
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:235:45: error: cannot infer contextual base in reference to member 'announcement'
233 | /// This may be a bug in Swift 5.10
234 | /// https://forums.swift.org/t/preconcurrency-notification-names-in-submodules/70514
235 | UIAccessibility.post(notification: .announcement, argument: announcement.joined(separator: " "))
| `- error: cannot infer contextual base in reference to member 'announcement'
236 | }
237 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling ILikeToMoveIt resource_bundle_accessor.swift
[3/6] Compiling ILikeToMoveIt Providable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:14:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:16:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
17 |
18 | /// Returns a data representation of this object based on the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:21:21: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
19 | /// - Parameter type: Type to use when converting to Data.
20 | /// - Returns: A data representation of this object based on the specified type.
21 | func data(type: UTType) throws -> Data?
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing instance method
22 |
23 | /// Creates an object based on data converted using the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:27:17: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
25 | /// - type: Type to use when converting from Data.
26 | /// - data: Data representation used when creating the object.
27 | init?(type: UTType, data: Data) throws
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:46:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:50:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:36:37: error: argument type 'NSUserActivity' does not conform to expected type 'NSItemProviderWriting'
34 |
35 | if let userActivity = (self as? UserActivityProvidable)?.userActivity {
36 | provider.registerObject(userActivity, visibility: .all)
| `- error: argument type 'NSUserActivity' does not conform to expected type 'NSItemProviderWriting'
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:47:34: error: 'identifier' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:51:34: error: 'identifier' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:98:34: error: 'identifier' is only available in macOS 11.0 or newer
87 | }
88 |
89 | class ItemProvider<Item: Providable>: NSObject, NSItemProviderWriting, NSItemProviderReading {
| `- note: add @available attribute to enclosing generic class
90 | var item: Item
91 |
:
95 | }
96 |
97 | static var writableTypeIdentifiersForItemProvider: [String] {
| `- note: add @available attribute to enclosing static property
98 | Item.writableTypes.map(\.identifier)
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:102:34: error: 'identifier' is only available in macOS 11.0 or newer
87 | }
88 |
89 | class ItemProvider<Item: Providable>: NSObject, NSItemProviderWriting, NSItemProviderReading {
| `- note: add @available attribute to enclosing generic class
90 | var item: Item
91 |
:
99 | }
100 |
101 | static var readableTypeIdentifiersForItemProvider: [String] {
| `- note: add @available attribute to enclosing static property
102 | Item.readableTypes.map(\.identifier)
| |- error: 'identifier' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
103 | }
104 |
[4/6] Compiling ILikeToMoveIt UserActivityProvidable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:51:125: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
53 | let item = T(activity: activity)
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:46:18: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:24:33: error: 'persistentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
| `- note: add @available attribute to enclosing initializer
22 | guard activity.activityType == Self.activityType else { return nil }
23 | guard
24 | let data = activity.persistentIdentifier?.data(using: .utf8),
| |- error: 'persistentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | let item = try? JSONDecoder().decode(Self.self, from: data)
26 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:40:18: error: 'persistentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
22 | guard activity.activityType == Self.activityType else { return nil }
:
30 | }
31 |
32 | var userActivity: NSUserActivity? {
| `- note: add @available attribute to enclosing property
33 | if Self.activityType.isEmpty { return nil }
34 | guard
:
38 | let string = String(data: data, encoding: .utf8)
39 | /// Stores the entire object in the persistent identifier
40 | activity.persistentIdentifier = string
| |- error: 'persistentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | activity.targetContentIdentifier = Self.activityType
42 | return activity
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:41:18: error: 'targetContentIdentifier' is only available in macOS 10.15 or newer
18 | }
19 |
20 | public extension UserActivityProvidable {
| `- note: add @available attribute to enclosing extension
21 | init?(activity: NSUserActivity) {
22 | guard activity.activityType == Self.activityType else { return nil }
:
30 | }
31 |
32 | var userActivity: NSUserActivity? {
| `- note: add @available attribute to enclosing property
33 | if Self.activityType.isEmpty { return nil }
34 | guard
:
39 | /// Stores the entire object in the persistent identifier
40 | activity.persistentIdentifier = string
41 | activity.targetContentIdentifier = Self.activityType
| |- error: 'targetContentIdentifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | return activity
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:52:9: error: 'onContinueUserActivity(_:perform:)' is only available in macOS 11.0 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
| |- error: 'onContinueUserActivity(_:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
53 | let item = T(activity: activity)
54 | action(item)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module ILikeToMoveIt
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:71:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:73:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:69:59: error: 'ObservableObject' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:14:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:16:32: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
15 | /// An array of types that this object can be read from.
16 | static var readableTypes: [UTType] { get }
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
17 |
18 | /// Returns a data representation of this object based on the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:21:21: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
19 | /// - Parameter type: Type to use when converting to Data.
20 | /// - Returns: A data representation of this object based on the specified type.
21 | func data(type: UTType) throws -> Data?
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing instance method
22 |
23 | /// Creates an object based on data converted using the specified type.
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:27:17: error: 'UTType' is only available in macOS 11.0 or newer
10 |
11 | /// An object with that has an `NSItemProvider` property that can be used in `.onDrag`, `.onDrop`, and `.onInsert` view modifiers in SwiftUI. It can be read and/or written to a set number of unique types.
12 | public protocol Providable: Codable {
| `- note: add @available attribute to enclosing protocol
13 | /// An array of types that this object can be written to.
14 | static var writableTypes: [UTType] { get }
:
25 | /// - type: Type to use when converting from Data.
26 | /// - data: Data representation used when creating the object.
27 | init?(type: UTType, data: Data) throws
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:46:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
44 | }
45 |
46 | static func writableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
47 | writableTypes.first { $0.identifier == identifier }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/Providable.swift:50:53: error: 'UTType' is only available in macOS 11.0 or newer
28 | }
29 |
30 | extension Providable {
| `- note: add @available attribute to enclosing extension
31 | /// An `NSItemProvider` object based on this object.
32 | public var provider: NSItemProvider {
:
48 | }
49 |
50 | static func readableType(identifier: String) -> UTType? {
| | `- error: 'UTType' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static method
51 | readableTypes.first { $0.identifier == identifier }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:51:125: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
49 | /// - item: The type of object that will envoke this handler.
50 | /// - action: The handler that will run when the new scene is created with an optional item that was dropped. The item will be nil if there was an error in the encoding or decoding process.
51 | func onContinueUserActivity<T: UserActivityProvidable>(_ item: T.Type, perform action: @escaping (T?) -> Void ) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | onContinueUserActivity(T.activityType) { activity in
53 | let item = T(activity: activity)
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/UserActivityProvidable.swift:46:18: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
47 | /// Registers a handler to invoke when a new scene is created by dropping the specified ``UserActivityProvidable`` type.
48 | /// - Parameters:
[6/6] Compiling ILikeToMoveIt AccessibilityMoveable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:71:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:73:6: error: 'Published' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
72 | /// The current accessibility move to perform.
73 | @Published public var move: AccessibilityMove<Item>? = nil
| `- error: 'Published' is only available in macOS 10.15 or newer
74 | }
75 |
<unknown>:0: error: cannot convert value of type 'KeyPath<AccessibilityMoveController<Item>, Item?>' to expected argument type 'ReferenceWritableKeyPath<AccessibilityMoveController<Item>, Item?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AccessibilityMoveController<Item>, AccessibilityMove<Item>?>' to expected argument type 'ReferenceWritableKeyPath<AccessibilityMoveController<Item>, AccessibilityMove<Item>?>'
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:69:59: error: 'ObservableObject' is only available in macOS 10.15 or newer
67 | /// An observable object that holds information about the current accessibility move and focus.
68 | @MainActor
69 | public class AccessibilityMoveController<Item: Hashable>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic class
70 | /// The current accessibility item to focus on.
71 | @Published public var focus: Item? = nil
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:235:9: error: cannot find 'UIAccessibility' in scope
233 | /// This may be a bug in Swift 5.10
234 | /// https://forums.swift.org/t/preconcurrency-notification-names-in-submodules/70514
235 | UIAccessibility.post(notification: .announcement, argument: announcement.joined(separator: " "))
| `- error: cannot find 'UIAccessibility' in scope
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/ILikeToMoveIt/AccessibilityMoveable.swift:235:45: error: cannot infer contextual base in reference to member 'announcement'
233 | /// This may be a bug in Swift 5.10
234 | /// https://forums.swift.org/t/preconcurrency-notification-names-in-submodules/70514
235 | UIAccessibility.post(notification: .announcement, argument: announcement.joined(separator: " "))
| `- error: cannot infer contextual base in reference to member 'announcement'
236 | }
237 | }
BUILD FAILURE 6.1 macosSpm