The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSpeech, reference master (6e41f2), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 09:02:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cay-Zhang/SwiftSpeech.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cay-Zhang/SwiftSpeech
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6e41f28 added cocoapods installation hint in README
Cloned https://github.com/Cay-Zhang/SwiftSpeech.git
Revision (git rev-parse @):
6e41f289f5ccc1751ef5674972d46b48b326c4c6
SUCCESS checkout https://github.com/Cay-Zhang/SwiftSpeech.git at master
========================================
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": "swiftspeech",
      "name": "SwiftSpeech",
      "url": "https://github.com/Cay-Zhang/SwiftSpeech.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSpeech",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Cay-Zhang/SwiftSpeech.git
[1/362] Fetching swiftspeech
Fetched https://github.com/Cay-Zhang/SwiftSpeech.git from cache (1.50s)
Creating working copy for https://github.com/Cay-Zhang/SwiftSpeech.git
Working copy of https://github.com/Cay-Zhang/SwiftSpeech.git resolved at master (6e41f28)
warning: '.resolve-product-dependencies': dependency 'swiftspeech' 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/Cay-Zhang/SwiftSpeech.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
[3/12] Compiling SwiftSpeech SwiftSpeech.swift
[4/12] Compiling SwiftSpeech RecordButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:67:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
27 |
28 | public extension SwiftSpeech {
29 |     struct RecordButton : View {
   |            `- note: add '@available' attribute to enclosing struct
30 |
31 |         @Environment(\.swiftSpeechState) var state: SwiftSpeech.State
   :
56 |         }
57 |
58 |         public var body: some View {
   |                    `- note: add '@available' attribute to enclosing property
59 |
60 |             ZStack {
   :
65 |                     .zIndex(0)
66 |
67 |                 Image(systemName: state != .cancelling ? "waveform" : "xmark")
   |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
68 |                     .font(.system(size: 30, weight: .medium, design: .default))
69 |                     .foregroundColor(.white)
[5/12] Compiling SwiftSpeech Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                           `- error: 'record' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:103:40: note: 'record' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
103 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryRecord				API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'record' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                                          `- error: 'default' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
165 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
168 |         }
169 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
145 |     struct AudioSessionConfiguration {
146 |
147 |         public var onStartRecording: (AVAudioSession) throws -> Void
    |                                       `- error: 'AVAudioSession' is unavailable in macOS
148 |         public var onStopRecording: (AVAudioSession) throws -> Void
149 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
146 |
147 |         public var onStartRecording: (AVAudioSession) throws -> Void
148 |         public var onStopRecording: (AVAudioSession) throws -> Void
    |                                      `- error: 'AVAudioSession' is unavailable in macOS
149 |
150 |         /**
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
151 |          Create a configuration using two closures.
152 |          */
153 |         public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
    |                                                  `- error: 'AVAudioSession' is unavailable in macOS
154 |             self.onStartRecording = onStartRecording
155 |             self.onStopRecording = onStopRecording
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
151 |          Create a configuration using two closures.
152 |          */
153 |         public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
    |                                                                                                              `- error: 'AVAudioSession' is unavailable in macOS
154 |             self.onStartRecording = onStartRecording
155 |             self.onStopRecording = onStopRecording
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                           `- error: 'playAndRecord' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:106:40: note: 'playAndRecord' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
106 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayAndRecord		API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playAndRecord' has been explicitly marked unavailable here
107 |
108 | /*! Use this category when using a hardware codec or signal processor while
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                 `- error: 'default' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                                     `- error: 'defaultToSpeaker' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.CategoryOptions.defaultToSpeaker:4:23: note: 'defaultToSpeaker' has been explicitly marked unavailable here
2 |   struct CategoryOptions {
3 | @available(macOS, unavailable)
4 |     public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }  }
  |                       `- note: 'defaultToSpeaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                                                        `- error: 'allowBluetoothA2DP' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.CategoryOptions.allowBluetoothA2DP:4:23: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
2 |   struct CategoryOptions {
3 | @available(macOS, unavailable)
4 |     public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }  }
  |                       `- note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
177 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
178 |         } onStopRecording: { _ in }
179 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
[6/12] Compiling SwiftSpeech SpeechRecognizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:80: error: 'AVAudioSession' is unavailable in macOS
116 |
117 |         do {
118 |             try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
    |                                                                                `- error: 'AVAudioSession' is unavailable in macOS
119 |         } catch {
120 |             resultSubject.send(completion: .failure(error))
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:95: error: 'sharedInstance()' is unavailable in macOS
116 |
117 |         do {
118 |             try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
    |                                                                                               `- error: 'sharedInstance()' is unavailable in macOS
119 |         } catch {
120 |             resultSubject.send(completion: .failure(error))
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
[7/13] Compiling SwiftSpeech Environments.swift
[8/13] Compiling SwiftSpeech LibraryContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         |       `- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
15 |             SwiftSpeech.RecordButton(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
   |      `- error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
13 |     var views: [LibraryItem] {
14 |         LibraryItem(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   :
34 |
35 |     @LibraryContentBuilder
36 |     func modifiers(base: AnyView) -> [LibraryItem] {
   |          |                            `- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
37 |         LibraryItem(
38 |             base.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   :
33 |     }
34 |
35 |     @LibraryContentBuilder
   |      `- error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
36 |     func modifiers(base: AnyView) -> [LibraryItem] {
   |          `- note: add '@available' attribute to enclosing instance method
37 |         LibraryItem(
38 |             base.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
   |         |- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
15 |             SwiftSpeech.RecordButton(),
16 |             title: "Record Button"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
15 |             SwiftSpeech.RecordButton(),
   :
17 |         )
18 |
19 |         LibraryItem(
   |         |- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
20 |             SwiftSpeech.Demos.Basic(locale: .current),
21 |             title: "Demo - Basic"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
15 |             SwiftSpeech.RecordButton(),
   :
22 |         )
23 |
24 |         LibraryItem(
   |         |- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
25 |             SwiftSpeech.Demos.Colors(),
26 |             title: "Demo - Colors"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
15 |             SwiftSpeech.RecordButton(),
   :
27 |         )
28 |
29 |         LibraryItem(
   |         |- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
30 |             SwiftSpeech.Demos.List(locale: .current),
31 |             title: "Demos - List"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   :
34 |
35 |     @LibraryContentBuilder
36 |     func modifiers(base: AnyView) -> [LibraryItem] {
   |          `- note: add '@available' attribute to enclosing instance method
37 |         LibraryItem(
   |         |- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
38 |             base.onAppear {
39 |                 SwiftSpeech.requestSpeechRecognitionAuthorization()
[9/13] Compiling SwiftSpeech Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                           `- error: 'record' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:103:40: note: 'record' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
103 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryRecord				API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'record' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                                          `- error: 'default' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
165 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
168 |         }
169 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
[10/13] Compiling SwiftSpeech Authorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Authorization.swift:54:1: warning: extension declares a conformance of imported type 'SFSpeechRecognizerAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Speech' introduce this conformance in the future
52 | }
53 |
54 | extension SFSpeechRecognizerAuthorizationStatus: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'SFSpeechRecognizerAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Speech' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public var description: String {
56 |         "\(rawValue)"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Emitting module SwiftSpeech
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Authorization.swift:54:1: warning: extension declares a conformance of imported type 'SFSpeechRecognizerAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Speech' introduce this conformance in the future
52 | }
53 |
54 | extension SFSpeechRecognizerAuthorizationStatus: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'SFSpeechRecognizerAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Speech' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public var description: String {
56 |         "\(rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                           `- error: 'record' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:103:40: note: 'record' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
103 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryRecord				API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'record' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                                          `- error: 'default' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
165 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
168 |         }
169 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   |         |       `- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |         `- note: add '@available' attribute to enclosing property
14 |         LibraryItem(
15 |             SwiftSpeech.RecordButton(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
   |      `- error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
13 |     var views: [LibraryItem] {
14 |         LibraryItem(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   :
34 |
35 |     @LibraryContentBuilder
36 |     func modifiers(base: AnyView) -> [LibraryItem] {
   |          |                            `- error: 'LibraryItem' is only available in macOS 11.0 or newer
   |          `- note: add '@available' attribute to enclosing instance method
37 |         LibraryItem(
38 |             base.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct LibraryContent: LibraryContentProvider {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @LibraryContentBuilder
13 |     var views: [LibraryItem] {
   :
33 |     }
34 |
35 |     @LibraryContentBuilder
   |      `- error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
36 |     func modifiers(base: AnyView) -> [LibraryItem] {
   |          `- note: add '@available' attribute to enclosing instance method
37 |         LibraryItem(
38 |             base.onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
145 |     struct AudioSessionConfiguration {
146 |
147 |         public var onStartRecording: (AVAudioSession) throws -> Void
    |                                       `- error: 'AVAudioSession' is unavailable in macOS
148 |         public var onStopRecording: (AVAudioSession) throws -> Void
149 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
146 |
147 |         public var onStartRecording: (AVAudioSession) throws -> Void
148 |         public var onStopRecording: (AVAudioSession) throws -> Void
    |                                      `- error: 'AVAudioSession' is unavailable in macOS
149 |
150 |         /**
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
151 |          Create a configuration using two closures.
152 |          */
153 |         public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
    |                                                  `- error: 'AVAudioSession' is unavailable in macOS
154 |             self.onStartRecording = onStartRecording
155 |             self.onStopRecording = onStopRecording
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
151 |          Create a configuration using two closures.
152 |          */
153 |         public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
    |                                                                                                              `- error: 'AVAudioSession' is unavailable in macOS
154 |             self.onStartRecording = onStartRecording
155 |             self.onStopRecording = onStopRecording
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                           `- error: 'playAndRecord' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:106:40: note: 'playAndRecord' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
106 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayAndRecord		API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playAndRecord' has been explicitly marked unavailable here
107 |
108 | /*! Use this category when using a hardware codec or signal processor while
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                 `- error: 'default' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                                     `- error: 'defaultToSpeaker' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.CategoryOptions.defaultToSpeaker:4:23: note: 'defaultToSpeaker' has been explicitly marked unavailable here
2 |   struct CategoryOptions {
3 | @available(macOS, unavailable)
4 |     public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }  }
  |                       `- note: 'defaultToSpeaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
174 |          */
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
    |                                                                                                        `- error: 'allowBluetoothA2DP' is unavailable in macOS
177 |             try audioSession.setActive(true, options: [])
178 |         } onStopRecording: { _ in }
AVFAudio.AVAudioSession.CategoryOptions.allowBluetoothA2DP:4:23: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
2 |   struct CategoryOptions {
3 | @available(macOS, unavailable)
4 |     public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }  }
  |                       `- note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
175 |         public static let playAndRecord = AudioSessionConfiguration { audioSession in
176 |             try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
177 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
178 |         } onStopRecording: { _ in }
179 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
[12/13] Compiling SwiftSpeech Demos.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                           `- error: 'record' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:103:40: note: 'record' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
103 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryRecord				API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'record' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                                          `- error: 'default' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
165 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
168 |         }
169 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
135 |                         }.padding(20),
136 |                     alignment: .bottom
137 |                 ).navigationBarTitle(Text("SwiftSpeech"))
    |                   `- error: 'navigationBarTitle' is unavailable in macOS
138 |
139 |             }.onAppear {
SwiftUI.View.navigationBarTitle:7:27: note: 'navigationBarTitle' has been explicitly marked unavailable here
5 |   @available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
6 |   @available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
7 |   nonisolated public func navigationBarTitle(_ title: Text) -> some View
  |                           `- note: 'navigationBarTitle' has been explicitly marked unavailable here
8 |   }
9 |
[13/13] Compiling SwiftSpeech ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                           `- error: 'record' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:103:40: note: 'record' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
103 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryRecord				API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'record' has been explicitly marked unavailable here
104 |
105 | /*! Use this category when recording and playing back audio. */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
162 |          */
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
    |                                                          `- error: 'default' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
163 |         public static let recordOnly = AudioSessionConfiguration { audioSession in
164 |             try audioSession.setCategory(.record, mode: .default, options: [])
165 |             try audioSession.setActive(true, options: [])
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
165 |             try audioSession.setActive(true, options: [])
166 |         } onStopRecording: { audioSession in
167 |             try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
    |                              `- error: 'setActive(_:options:)' is unavailable in macOS
168 |         }
169 |
AVFAudio.AVAudioSession.setActive:3:13: note: 'setActive(_:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws}
  |             `- note: 'setActive(_:options:)' has been explicitly marked unavailable here
4 |
BUILD FAILURE 6.3 macosSpm