Build Information
Failed to build OEVoice, reference 1.4.1 (56233c
), with Swift 5.9 for macOS (SPM) on 5 Oct 2024 06:24:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanlintott/OEVoice.git
Reference: 1.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanlintott/OEVoice
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at 56233ca Updated README
Cloned https://github.com/ryanlintott/OEVoice.git
Revision (git rev-parse @):
56233ca2cbc4235a611fa28879516ecf5d9a9607
SUCCESS checkout https://github.com/ryanlintott/OEVoice.git at 1.4.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/ryanlintott/OEVoice.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling OEVoice OEVoiceError.swift
[2/11] Compiling OEVoice OEVoice+AVFoundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:55:24: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
init? (from voice: AVSpeechSynthesisVoice) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:55:5: note: add @available attribute to enclosing initializer
init? (from voice: AVSpeechSynthesisVoice) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:16: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:97:36: error: 'AttributedString' is only available in macOS 12 or newer
func speak(_ attributedString: AttributedString, synthesizer: AVSpeechSynthesizerIPA, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:97:10: note: add @available attribute to enclosing instance method
func speak(_ attributedString: AttributedString, synthesizer: AVSpeechSynthesizerIPA, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:96:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:101:43: error: 'AttributedString' is only available in macOS 12 or newer
static func speak(_ attributedString: AttributedString, oeVoice: OEVoice = .default, synthesizer: AVSpeechSynthesizerIPA, force: Bool = false, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:101:17: note: add @available attribute to enclosing static method
static func speak(_ attributedString: AttributedString, oeVoice: OEVoice = .default, synthesizer: AVSpeechSynthesizerIPA, force: Bool = false, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:96:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:70:12: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
if AVSpeechSynthesisVoice.speechVoices().contains(where: { $0.identifier == identifier }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:70:12: note: add 'if #available' version check
if AVSpeechSynthesisVoice.speechVoices().contains(where: { $0.identifier == identifier }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:70:71: error: 'identifier' is only available in macOS 10.14 or newer
if AVSpeechSynthesisVoice.speechVoices().contains(where: { $0.identifier == identifier }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:70:71: note: add 'if #available' version check
if AVSpeechSynthesisVoice.speechVoices().contains(where: { $0.identifier == identifier }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:71:20: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
return AVSpeechSynthesisVoice(identifier: identifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:71:20: note: add 'if #available' version check
return AVSpeechSynthesisVoice(identifier: identifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:71:20: error: 'init(identifier:)' is only available in macOS 10.14 or newer
return AVSpeechSynthesisVoice(identifier: identifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:71:20: note: add 'if #available' version check
return AVSpeechSynthesisVoice(identifier: identifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:72:42: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
} else if let legacyIdentifier = AVSpeechSynthesisVoice.speechVoices().map({ $0.identifier }).first(where: { legacyIdentifiers.contains($0) }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:72:42: note: add 'if #available' version check
} else if let legacyIdentifier = AVSpeechSynthesisVoice.speechVoices().map({ $0.identifier }).first(where: { legacyIdentifiers.contains($0) }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:72:89: error: 'identifier' is only available in macOS 10.14 or newer
} else if let legacyIdentifier = AVSpeechSynthesisVoice.speechVoices().map({ $0.identifier }).first(where: { legacyIdentifiers.contains($0) }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:72:89: note: add 'if #available' version check
} else if let legacyIdentifier = AVSpeechSynthesisVoice.speechVoices().map({ $0.identifier }).first(where: { legacyIdentifiers.contains($0) }) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:73:20: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
return AVSpeechSynthesisVoice(identifier: legacyIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:73:20: note: add 'if #available' version check
return AVSpeechSynthesisVoice(identifier: legacyIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:73:20: error: 'init(identifier:)' is only available in macOS 10.14 or newer
return AVSpeechSynthesisVoice(identifier: legacyIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:73:20: note: add 'if #available' version check
return AVSpeechSynthesisVoice(identifier: legacyIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module OEVoice
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVAudioSession+setSpeechSession.swift:10:18: error: 'AVAudioSession' is unavailable in macOS
public extension AVAudioSession {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:54: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:43: error: 'AttributedString' is only available in macOS 12 or newer
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:17: note: add @available attribute to enclosing instance method
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:68: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:17: note: add @available attribute to enclosing instance method
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:84: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:17: note: add @available attribute to enclosing instance method
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:38: error: 'AVSpeechSynthesizer' is only available in macOS 10.14 or newer
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:55:24: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
init? (from voice: AVSpeechSynthesisVoice) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:55:5: note: add @available attribute to enclosing initializer
init? (from voice: AVSpeechSynthesisVoice) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:16: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:69:9: note: add @available attribute to enclosing property
var voice: AVSpeechSynthesisVoice? {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:10:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:97:36: error: 'AttributedString' is only available in macOS 12 or newer
func speak(_ attributedString: AttributedString, synthesizer: AVSpeechSynthesizerIPA, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:97:10: note: add @available attribute to enclosing instance method
func speak(_ attributedString: AttributedString, synthesizer: AVSpeechSynthesizerIPA, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:96:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:101:43: error: 'AttributedString' is only available in macOS 12 or newer
static func speak(_ attributedString: AttributedString, oeVoice: OEVoice = .default, synthesizer: AVSpeechSynthesizerIPA, force: Bool = false, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:101:17: note: add @available attribute to enclosing static method
static func speak(_ attributedString: AttributedString, oeVoice: OEVoice = .default, synthesizer: AVSpeechSynthesizerIPA, force: Bool = false, willSpeak: ((String) -> Void)? = nil) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/OEVoice+AVFoundation.swift:96:8: note: add @available attribute to enclosing extension
public extension OEVoice {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:18: error: 'AttributedString' is only available in macOS 12 or newer
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:93: error: 'AttributedString' is only available in macOS 12 or newer
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:80: error: 'AttributedString' is only available in macOS 12 or newer
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:86: error: 'AttributedString' is only available in macOS 12 or newer
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:96: error: 'AttributedString' is only available in macOS 12 or newer
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
[4/11] Compiling OEVoice SpecialCharacter.swift
[5/11] Compiling OEVoice NSAttributedString-extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:19:45: error: type 'NSAttributedString.Key' has no member 'accessibilitySpeechIPANotation'
let ipaKey = NSAttributedString.Key.accessibilitySpeechIPANotation
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:28:22: error: type 'NSAttributedString.Key' has no member 'accessibilityTextCustom'
.accessibilityTextCustom: ["Old English"],
~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:29:22: error: type 'NSAttributedString.Key' has no member 'accessibilitySpeechLanguage'
.accessibilitySpeechLanguage: OEVoice.preferredLanguage
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:47:58: error: type 'NSAttributedString.Key' has no member 'accessibilitySpeechIPANotation'
let accessibilityIPAKey = NSAttributedString.Key.accessibilitySpeechIPANotation
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:48:68: error: 'AVSpeechSynthesisIPANotationAttribute' is only available in macOS 10.14 or newer
let pronunciationIPAKey = NSAttributedString.Key(rawValue: AVSpeechSynthesisIPANotationAttribute)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:48:68: note: add 'if #available' version check
let pronunciationIPAKey = NSAttributedString.Key(rawValue: AVSpeechSynthesisIPANotationAttribute)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:45:10: note: add @available attribute to enclosing instance method
func setSpeechIPAMatchingAccessibilityIPA() {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/NSAttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension NSMutableAttributedString {
^
[6/11] Compiling OEVoice AttributedString-extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:18: error: 'AttributedString' is only available in macOS 12 or newer
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:19:45: error: 'range(of:options:locale:)' is only available in macOS 12 or newer
if let range = attributedString.range(of: phrase.key) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:19:45: note: add 'if #available' version check
if let range = attributedString.range(of: phrase.key) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: error: 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: error: setter for 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: error: 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: error: cannot pass as inout because getter for 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: error: cannot pass as inout because setter for 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:22:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:15:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String]) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
<unknown>:0: error: 'subscript(dynamicMember:)' is only available in macOS 12.0 or newer
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:37:45: error: 'range(of:options:locale:)' is only available in macOS 12 or newer
if let range = attributedString.range(of: phrase.key) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:37:45: note: add 'if #available' version check
if let range = attributedString.range(of: phrase.key) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: error: 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: error: setter for 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: error: 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: error: cannot pass as inout because getter for 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: error: cannot pass as inout because setter for 'subscript(_:)' is only available in macOS 12 or newer
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:42:17: note: add 'if #available' version check
attributedString[range].accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:33:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
<unknown>:0: error: 'subscript(dynamicMember:)' is only available in macOS 12.0 or newer
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:64:13: error: 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString.accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:64:13: note: add 'if #available' version check
attributedString.accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:56:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ ipa: String?, voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:64:13: error: setter for 'subscript(dynamicMember:)' is only available in macOS 12 or newer
attributedString.accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:64:13: note: add 'if #available' version check
attributedString.accessibilitySpeechPhoneticNotation = phonetic
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:56:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ ipa: String?, voice: OEVoice = .default) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/AttributedString-extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension AttributedString {
^
<unknown>:0: error: 'subscript(dynamicMember:)' is only available in macOS 12.0 or newer
[7/11] Compiling OEVoice OEVoice.swift
[8/11] Compiling OEVoice AVAudioSession+setSpeechSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVAudioSession+setSpeechSession.swift:10:18: error: 'AVAudioSession' is unavailable in macOS
public extension AVAudioSession {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVAudioSession+setSpeechSession.swift:14:22: error: 'setCategory(_:options:)' is unavailable in macOS
try self.setCategory(.playback, options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers])
^~~~~~~~~~~
AVFAudio.AVAudioSession:10:15: note: 'setCategory(_:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVAudioSession+setSpeechSession.swift:14:35: error: 'playback' is unavailable in macOS
try self.setCategory(.playback, options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers])
^~~~~~~~
AVFAudio.AVAudioSession.Category:7:23: note: 'playback' has been explicitly marked unavailable here
public static let playback: AVAudioSession.Category
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVAudioSession+setSpeechSession.swift:14:56: error: 'interruptSpokenAudioAndMixWithOthers' is unavailable in macOS
try self.setCategory(.playback, options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:82:27: note: 'interruptSpokenAudioAndMixWithOthers' has been explicitly marked unavailable here
public static var interruptSpokenAudioAndMixWithOthers: AVAudioSession.CategoryOptions { get }
^
[9/11] Compiling OEVoice AVSpeechSynthesizerIPA+OE.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:17:36: error: 'init(identifier:)' is only available in macOS 10.14 or newer
speakIPA("waːθ", voice: .init(identifier: "com.apple.ttsbundle.siri_Nicky_en-US_compact")!)
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:17:36: note: add 'if #available' version check
speakIPA("waːθ", voice: .init(identifier: "com.apple.ttsbundle.siri_Nicky_en-US_compact")!)
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:15:10: note: add @available attribute to enclosing instance method
func speakOETest1() {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:10:8: note: add @available attribute to enclosing extension
public extension AVSpeechSynthesizerIPA {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:22:36: error: 'init(identifier:)' is only available in macOS 10.14 or newer
speakIPA("blɛnd", voice: .init(identifier: "com.apple.ttsbundle.siri_Nicky_en-US_compact")!)
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:22:36: note: add 'if #available' version check
speakIPA("blɛnd", voice: .init(identifier: "com.apple.ttsbundle.siri_Nicky_en-US_compact")!)
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:20:10: note: add @available attribute to enclosing instance method
func speakOETest2() {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA+OE.swift:10:8: note: add @available attribute to enclosing extension
public extension AVSpeechSynthesizerIPA {
^
[10/11] Compiling OEVoice AVSpeechSynthesizerIPA.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:54: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:43: error: 'AttributedString' is only available in macOS 12 or newer
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:17: note: add @available attribute to enclosing instance method
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:68: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:17: note: add @available attribute to enclosing instance method
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:84: error: 'AVSpeechSynthesisVoice' is only available in macOS 10.14 or newer
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:17: note: add @available attribute to enclosing instance method
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:38: error: 'AVSpeechSynthesizer' is only available in macOS 10.14 or newer
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:28:19: error: 'AVSpeechUtterance' is only available in macOS 10.14 or newer
speak(AVSpeechUtterance(string: ""))
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:28:19: note: add 'if #available' version check
speak(AVSpeechUtterance(string: ""))
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:14:12: note: add @available attribute to enclosing initializer
public init(language: String) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:50:65: error: 'AVSpeechSynthesisIPANotationAttribute' is only available in macOS 10.14 or newer
let pronunciationKey = NSAttributedString.Key(rawValue: AVSpeechSynthesisIPANotationAttribute)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:50:65: note: add 'if #available' version check
let pronunciationKey = NSAttributedString.Key(rawValue: AVSpeechSynthesisIPANotationAttribute)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:54:25: error: 'AVSpeechUtterance' is only available in macOS 10.14 or newer
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:54:25: note: add 'if #available' version check
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:54:25: error: 'init(attributedString:)' is only available in macOS 10.14 or newer
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:54:25: note: add 'if #available' version check
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:55:25: error: 'attributedSpeechString' is only available in macOS 10.14 or newer
print(utterance.attributedSpeechString.attributes(at: 0, longestEffectiveRange: nil, in: range))
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:55:25: note: add 'if #available' version check
print(utterance.attributedSpeechString.attributes(at: 0, longestEffectiveRange: nil, in: range))
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:64:55: error: 'identifier' is only available in macOS 10.14 or newer
print("speakIPA: \(ipaString), voice: \(voice.identifier), language: \(voice.language), AVLanguage: \(language), preferredLanguages: \(Locale.preferredLanguages)")
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:64:55: note: add 'if #available' version check
print("speakIPA: \(ipaString), voice: \(voice.identifier), language: \(voice.language), AVLanguage: \(language), preferredLanguages: \(Locale.preferredLanguages)")
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:46:17: note: add @available attribute to enclosing instance method
public func speakIPA(_ ipaString: String, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:70:15: error: 'init(_:)' is only available in macOS 12 or newer
speak(NSMutableAttributedString(attributedString), voice: voice, willSpeak: willSpeak)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:70:15: note: add 'if #available' version check
speak(NSMutableAttributedString(attributedString), voice: voice, willSpeak: willSpeak)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:69:17: note: add @available attribute to enclosing instance method
public func speak(_ attributedString: AttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:76:25: error: 'AVSpeechUtterance' is only available in macOS 10.14 or newer
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:76:25: note: add 'if #available' version check
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:17: note: add @available attribute to enclosing instance method
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:76:25: error: 'init(attributedString:)' is only available in macOS 10.14 or newer
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:76:25: note: add 'if #available' version check
let utterance = AVSpeechUtterance(attributedString: mutableAttributedString)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:73:17: note: add @available attribute to enclosing instance method
public func speak(_ mutableAttributedString: NSMutableAttributedString, voice: AVSpeechSynthesisVoice, willSpeak: ((String) -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/AVSpeechSynthesizerIPA.swift:11:14: note: add @available attribute to enclosing class
public class AVSpeechSynthesizerIPA: AVSpeechSynthesizer {
^
[11/11] Compiling OEVoice String-extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:93: error: 'AttributedString' is only available in macOS 12 or newer
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:80: error: 'AttributedString' is only available in macOS 12 or newer
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:86: error: 'AttributedString' is only available in macOS 12 or newer
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:96: error: 'AttributedString' is only available in macOS 12 or newer
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:40:9: error: 'AttributedString' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:40:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:40:9: error: 'init(_:attributes:)' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:40:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:39:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:49:9: error: 'AttributedString' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(ipa, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:49:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(ipa, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:49:9: error: 'init(_:attributes:)' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(ipa, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:49:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(ipa, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:48:10: note: add @available attribute to enclosing instance method
func oldEnglishIPAAttributed(_ ipa: String?, voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:33:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:69:9: error: 'AttributedString' is only available in macOS 12 or newer
AttributedString(self).accessibilityIPA(phrases)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:69:9: note: add 'if #available' version check
AttributedString(self).accessibilityIPA(phrases)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:69:9: error: 'init(_:attributes:)' is only available in macOS 12 or newer
AttributedString(self).accessibilityIPA(phrases)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:69:9: note: add 'if #available' version check
AttributedString(self).accessibilityIPA(phrases)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:68:10: note: add @available attribute to enclosing instance method
func accessibilityIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:78:9: error: 'AttributedString' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:78:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:78:9: error: 'init(_:attributes:)' is only available in macOS 12 or newer
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:78:9: note: add 'if #available' version check
AttributedString(self).accessibilityOldEnglishIPA(phrases, voice: voice)
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:77:10: note: add @available attribute to enclosing instance method
func accessibilityOldEnglishIPA(_ phrases: [String: String], voice: OEVoice = .default) -> AttributedString {
^
/Users/admin/builder/spi-builder-workspace/Sources/OEVoice/extensions/String-extensions.swift:64:8: note: add @available attribute to enclosing extension
public extension String {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm