Build Information
Failed to build SwiftSpeech with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cay-Zhang/SwiftSpeech.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftspeech",
"name": "SwiftSpeech",
"url": "https://github.com/Cay-Zhang/SwiftSpeech.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSpeech",
"dependencies": [
]
}
]
}
Fetching https://github.com/Cay-Zhang/SwiftSpeech.git
[1/355] Fetching swiftspeech
Fetched https://github.com/Cay-Zhang/SwiftSpeech.git (1.09s)
Creating working copy for https://github.com/Cay-Zhang/SwiftSpeech.git
Working copy of https://github.com/Cay-Zhang/SwiftSpeech.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swiftspeech' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling SwiftSpeech SwiftSpeech.swift
[2/10] Compiling SwiftSpeech Session.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[3/10] Compiling SwiftSpeech LibraryContent.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
[4/10] Compiling SwiftSpeech SpeechRecognizer.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:80: error: 'AVAudioSession' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:95: error: 'sharedInstance()' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
open class func sharedInstance() -> AVAudioSession
^
[5/11] Compiling SwiftSpeech RecordButton.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:67:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: state != .cancelling ? "waveform" : "xmark")
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:58:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:29:12: note: add @available attribute to enclosing struct
struct RecordButton : View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module SwiftSpeech
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[7/11] Compiling SwiftSpeech Authorization.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[8/11] Compiling SwiftSpeech Demos.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[9/11] Compiling SwiftSpeech Environments.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[10/11] Compiling SwiftSpeech Extensions.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[11/11] Compiling SwiftSpeech ViewModifiers.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/9] Compiling SwiftSpeech Session.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[2/9] Compiling SwiftSpeech SpeechRecognizer.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:80: error: 'AVAudioSession' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:95: error: 'sharedInstance()' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
open class func sharedInstance() -> AVAudioSession
^
[3/10] Compiling SwiftSpeech Environments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module SwiftSpeech
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[5/10] Compiling SwiftSpeech LibraryContent.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
[6/10] Compiling SwiftSpeech RecordButton.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:67:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: state != .cancelling ? "waveform" : "xmark")
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:58:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:29:12: note: add @available attribute to enclosing struct
struct RecordButton : View {
^
[7/10] Compiling SwiftSpeech Extensions.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[8/10] Compiling SwiftSpeech Authorization.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[9/10] Compiling SwiftSpeech Demos.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[10/11] Compiling SwiftSpeech ViewModifiers.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[11/11] Compiling SwiftSpeech SwiftSpeech.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm