The Swift Package Index logo.Swift Package Index

Build Information

Failed to build telnyx-webrtc-ios, reference 4.2.4 (a9f025), with Swift 6.1 for macOS (SPM) on 13 Nov 2026 20:56:53 UTC.

Build Command

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

Build Log

11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:307:20: error: cannot find 'RTCAudioSession' in scope
 305 |     public var isAudioDeviceEnabled : Bool {
 306 |         get {
 307 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 308 |         }
 309 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:311:17: error: cannot find 'RTCAudioSession' in scope
 309 |         set {
 310 |             if newValue {
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:313:17: error: cannot find 'RTCAudioSession' in scope
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:13: error: cannot find 'RTCAudioSession' in scope
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 316 |         }
 317 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:334:31: error: cannot find 'RTCAudioSession' in scope
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 336 |         Logger.log.i(message: "TxClient:: enabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:360:31: error: cannot find 'RTCAudioSession' in scope
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 362 |         Logger.log.i(message: "TxClient:: disabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:63: error: 'AVAudioSession' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:78: error: 'routeChangeNotification' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:19: error: 'AVAudioSession' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:34: error: 'routeChangeNotification' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:497:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 495 |     @objc private func handleAudioRouteChange(notification: Notification) {
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 499 |             return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:709:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
707 | /// keys for AVAudioSessionRouteChangeNotification
708 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
709 | OS_EXPORT NSString *const AVAudioSessionRouteChangeReasonKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                           `- note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
710 | /// value is AVAudioSessionRouteDescription *
711 | OS_EXPORT NSString *const AVAudioSessionRouteChangePreviousRouteKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:498:28: error: 'AVAudioSession' is unavailable in macOS
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 499 |             return
 500 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:23: error: 'AVAudioSession' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:38: error: 'sharedInstance()' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:503:36: error: 'currentRoute' is unavailable in macOS
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
 503 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:506:41: error: 'outputs' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
 506 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 507 |             return
 508 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:510:85: error: 'portType' is unavailable in macOS
 508 |         }
 509 |
 510 |         Logger.log.i(message: "[ACM_RESET] TxClient:: Audio route changed: \(output.portType), reason: \(reason), isACMResetInProgress: \(isACMResetInProgress)")
     |                                                                                     `- error: 'portType' is unavailable in macOS
 511 |
 512 |         // Ignore audio route changes during ACM reset to prevent state desynchronization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:40: error: 'portType' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:53: error: 'builtInSpeaker' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:530:50: error: 'portType' is unavailable in macOS
 528 |                     userInfo: [
 529 |                         "isSpeakerEnabled": isSpeaker,
 530 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 531 |                     ]
 532 |                 )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:32: error: 'AVAudioSession' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:47: error: 'sharedInstance()' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:64: error: 'currentRoute' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                                `- error: 'currentRoute' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:48: error: 'outputs' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                `- error: 'outputs' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:70: error: 'portType' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                      `- error: 'portType' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:83: error: 'builtInSpeaker' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                                   `- error: 'builtInSpeaker' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:32: error: 'AVAudioSession' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:47: error: 'sharedInstance()' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1940:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
1940 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1941 |             _isSpeakerEnabled = false
1942 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Earpiece set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:32: error: 'AVAudioSession' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:47: error: 'sharedInstance()' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:55: error: 'speaker' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.PortOverride.speaker:4:10: note: 'speaker' has been explicitly marked unavailable here
2 |   enum PortOverride {
3 | @available(macOS, unavailable)
4 |     case speaker  }
  |          `- note: 'speaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:28: error: 'AVAudioSession' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:43: error: 'sharedInstance()' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2611:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
2609 |         let audioSession = AVAudioSession.sharedInstance()
2610 |         do {
2611 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
2612 |                 .playback,
2613 |                 mode: .default,
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2612:18: error: 'playback' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
2612 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
2613 |                 mode: .default,
2614 |                 options: [.mixWithOthers]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:100:40: note: 'playback' has been explicitly marked unavailable here
 98 |
 99 | /*! Use this category for music tracks.*/
100 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayback			API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playback' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2613:24: error: 'default' is unavailable in macOS
2611 |             try audioSession.setCategory(
2612 |                 .playback,
2613 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
2614 |                 options: [.mixWithOthers]
2615 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2624:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2622 |     /// WebRTC would replace the call options on a session CallKit has already activated.
2623 |     internal static func setDefaultCallAudioConfiguration() {
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2626:9: error: cannot find 'RTCAudioSessionConfiguration' in scope
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
     |         `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2627 |     }
2628 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2630:31: error: cannot find 'RTCAudioSession' in scope
2628 |
2629 |     internal func setupCorrectAudioConfiguration() {
2630 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2633:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
2633 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2634 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2635 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2647:31: error: cannot find 'RTCAudioSession' in scope
2645 |     @discardableResult
2646 |     internal func setAudioSessionActive(_ active: Bool) -> Bool {
2647 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2648 |         var succeeded = false
2649 |         rtcAudioSession.lockForConfiguration()
[85/102] Compiling TelnyxRTC TxClientDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:190:26: warning: immutable value 'data' was never used; consider replacing with '_' or removing it
188 |             break;
189 |
190 |         case .binary(let data):
    |                          `- warning: immutable value 'data' was never used; consider replacing with '_' or removing it
191 |             break
192 |         case .ping(_):
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:146:21: error: 'CXAnswerCallAction' is unavailable in macOS
 144 |     /// call while signaling catches up.
 145 |     private struct PendingCallKitAnswer {
 146 |         let action: CXAnswerCallAction
     |                     `- error: 'CXAnswerCallAction' is unavailable in macOS
 147 |         let headers: [String: String]
 148 |         let debug: Bool
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:32: error: 'CXEndCallAction' is unavailable in macOS
 168 |     private var pendingCallKitAnswers: [UUID: PendingCallKitAnswer] = [:]
 169 |     private let pendingCallKitAnswersLock = NSLock()
 170 |     private var endCallAction: CXEndCallAction? = nil
     |                                `- error: 'CXEndCallAction' is unavailable in macOS
 171 |     private var sessionId : String?
 172 |     internal var txConfig: TxConfig?
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:333:50: error: 'AVAudioSession' is unavailable in macOS
 331 |     /// }
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:359:51: error: 'AVAudioSession' is unavailable in macOS
 357 |     /// }
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:24: error: 'AVAudioSession' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:39: error: 'sharedInstance()' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:56: error: 'currentRoute' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:864:49: error: 'CXAnswerCallAction' is unavailable in macOS
 862 |     ///   - debug: (optional) Enable debug mode for call quality metrics and WebRTC statistics.
 863 |     ///     When enabled, real-time call quality metrics will be available through the call's `onCallQualityChange` callback.
 864 |     public func answerFromCallkit(answerAction: CXAnswerCallAction,
     |                                                 `- error: 'CXAnswerCallAction' is unavailable in macOS
 865 |                                   customHeaders: [String:String] = [:],
 866 |                                   debug: Bool = false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1053:49: error: 'CXEndCallAction' is unavailable in macOS
1051 |     }
1052 |
1053 |     private func failEndCallAction(_ endAction: CXEndCallAction) {
     |                                                 `- error: 'CXEndCallAction' is unavailable in macOS
1054 |         resetPushVariables()
1055 |         endAction.fail()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1124:47: error: 'CXEndCallAction' is unavailable in macOS
1122 |
1123 |     /// To end and control callKit active and conn
1124 |     public func endCallFromCallkit(endAction: CXEndCallAction,
     |                                               `- error: 'CXEndCallAction' is unavailable in macOS
1125 |                                    callId: UUID? = nil) {
1126 |         Logger.log.i(message: "TxClient:: endCallFromCallkit - started for callID \(String(describing: endAction.callUUID))")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:307:20: error: cannot find 'RTCAudioSession' in scope
 305 |     public var isAudioDeviceEnabled : Bool {
 306 |         get {
 307 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 308 |         }
 309 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:311:17: error: cannot find 'RTCAudioSession' in scope
 309 |         set {
 310 |             if newValue {
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:313:17: error: cannot find 'RTCAudioSession' in scope
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:13: error: cannot find 'RTCAudioSession' in scope
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 316 |         }
 317 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:334:31: error: cannot find 'RTCAudioSession' in scope
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 336 |         Logger.log.i(message: "TxClient:: enabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:360:31: error: cannot find 'RTCAudioSession' in scope
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 362 |         Logger.log.i(message: "TxClient:: disabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:63: error: 'AVAudioSession' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:78: error: 'routeChangeNotification' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:19: error: 'AVAudioSession' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:34: error: 'routeChangeNotification' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:497:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 495 |     @objc private func handleAudioRouteChange(notification: Notification) {
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 499 |             return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:709:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
707 | /// keys for AVAudioSessionRouteChangeNotification
708 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
709 | OS_EXPORT NSString *const AVAudioSessionRouteChangeReasonKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                           `- note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
710 | /// value is AVAudioSessionRouteDescription *
711 | OS_EXPORT NSString *const AVAudioSessionRouteChangePreviousRouteKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:498:28: error: 'AVAudioSession' is unavailable in macOS
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 499 |             return
 500 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:23: error: 'AVAudioSession' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:38: error: 'sharedInstance()' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:503:36: error: 'currentRoute' is unavailable in macOS
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
 503 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:506:41: error: 'outputs' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
 506 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 507 |             return
 508 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:510:85: error: 'portType' is unavailable in macOS
 508 |         }
 509 |
 510 |         Logger.log.i(message: "[ACM_RESET] TxClient:: Audio route changed: \(output.portType), reason: \(reason), isACMResetInProgress: \(isACMResetInProgress)")
     |                                                                                     `- error: 'portType' is unavailable in macOS
 511 |
 512 |         // Ignore audio route changes during ACM reset to prevent state desynchronization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:40: error: 'portType' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:53: error: 'builtInSpeaker' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:530:50: error: 'portType' is unavailable in macOS
 528 |                     userInfo: [
 529 |                         "isSpeakerEnabled": isSpeaker,
 530 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 531 |                     ]
 532 |                 )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:32: error: 'AVAudioSession' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:47: error: 'sharedInstance()' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:64: error: 'currentRoute' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                                `- error: 'currentRoute' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:48: error: 'outputs' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                `- error: 'outputs' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:70: error: 'portType' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                      `- error: 'portType' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:83: error: 'builtInSpeaker' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                                   `- error: 'builtInSpeaker' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:32: error: 'AVAudioSession' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:47: error: 'sharedInstance()' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1940:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
1940 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1941 |             _isSpeakerEnabled = false
1942 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Earpiece set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:32: error: 'AVAudioSession' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:47: error: 'sharedInstance()' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:55: error: 'speaker' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.PortOverride.speaker:4:10: note: 'speaker' has been explicitly marked unavailable here
2 |   enum PortOverride {
3 | @available(macOS, unavailable)
4 |     case speaker  }
  |          `- note: 'speaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:28: error: 'AVAudioSession' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:43: error: 'sharedInstance()' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2611:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
2609 |         let audioSession = AVAudioSession.sharedInstance()
2610 |         do {
2611 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
2612 |                 .playback,
2613 |                 mode: .default,
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2612:18: error: 'playback' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
2612 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
2613 |                 mode: .default,
2614 |                 options: [.mixWithOthers]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:100:40: note: 'playback' has been explicitly marked unavailable here
 98 |
 99 | /*! Use this category for music tracks.*/
100 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayback			API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playback' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2613:24: error: 'default' is unavailable in macOS
2611 |             try audioSession.setCategory(
2612 |                 .playback,
2613 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
2614 |                 options: [.mixWithOthers]
2615 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2624:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2622 |     /// WebRTC would replace the call options on a session CallKit has already activated.
2623 |     internal static func setDefaultCallAudioConfiguration() {
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2626:9: error: cannot find 'RTCAudioSessionConfiguration' in scope
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
     |         `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2627 |     }
2628 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2630:31: error: cannot find 'RTCAudioSession' in scope
2628 |
2629 |     internal func setupCorrectAudioConfiguration() {
2630 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2633:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
2633 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2634 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2635 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2647:31: error: cannot find 'RTCAudioSession' in scope
2645 |     @discardableResult
2646 |     internal func setAudioSessionActive(_ active: Bool) -> Bool {
2647 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2648 |         var succeeded = false
2649 |         rtcAudioSession.lockForConfiguration()
[86/102] Compiling TelnyxRTC TxClientSocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:190:26: warning: immutable value 'data' was never used; consider replacing with '_' or removing it
188 |             break;
189 |
190 |         case .binary(let data):
    |                          `- warning: immutable value 'data' was never used; consider replacing with '_' or removing it
191 |             break
192 |         case .ping(_):
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:146:21: error: 'CXAnswerCallAction' is unavailable in macOS
 144 |     /// call while signaling catches up.
 145 |     private struct PendingCallKitAnswer {
 146 |         let action: CXAnswerCallAction
     |                     `- error: 'CXAnswerCallAction' is unavailable in macOS
 147 |         let headers: [String: String]
 148 |         let debug: Bool
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:32: error: 'CXEndCallAction' is unavailable in macOS
 168 |     private var pendingCallKitAnswers: [UUID: PendingCallKitAnswer] = [:]
 169 |     private let pendingCallKitAnswersLock = NSLock()
 170 |     private var endCallAction: CXEndCallAction? = nil
     |                                `- error: 'CXEndCallAction' is unavailable in macOS
 171 |     private var sessionId : String?
 172 |     internal var txConfig: TxConfig?
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:333:50: error: 'AVAudioSession' is unavailable in macOS
 331 |     /// }
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:359:51: error: 'AVAudioSession' is unavailable in macOS
 357 |     /// }
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:24: error: 'AVAudioSession' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:39: error: 'sharedInstance()' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:56: error: 'currentRoute' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:864:49: error: 'CXAnswerCallAction' is unavailable in macOS
 862 |     ///   - debug: (optional) Enable debug mode for call quality metrics and WebRTC statistics.
 863 |     ///     When enabled, real-time call quality metrics will be available through the call's `onCallQualityChange` callback.
 864 |     public func answerFromCallkit(answerAction: CXAnswerCallAction,
     |                                                 `- error: 'CXAnswerCallAction' is unavailable in macOS
 865 |                                   customHeaders: [String:String] = [:],
 866 |                                   debug: Bool = false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1053:49: error: 'CXEndCallAction' is unavailable in macOS
1051 |     }
1052 |
1053 |     private func failEndCallAction(_ endAction: CXEndCallAction) {
     |                                                 `- error: 'CXEndCallAction' is unavailable in macOS
1054 |         resetPushVariables()
1055 |         endAction.fail()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1124:47: error: 'CXEndCallAction' is unavailable in macOS
1122 |
1123 |     /// To end and control callKit active and conn
1124 |     public func endCallFromCallkit(endAction: CXEndCallAction,
     |                                               `- error: 'CXEndCallAction' is unavailable in macOS
1125 |                                    callId: UUID? = nil) {
1126 |         Logger.log.i(message: "TxClient:: endCallFromCallkit - started for callID \(String(describing: endAction.callUUID))")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:307:20: error: cannot find 'RTCAudioSession' in scope
 305 |     public var isAudioDeviceEnabled : Bool {
 306 |         get {
 307 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 308 |         }
 309 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:311:17: error: cannot find 'RTCAudioSession' in scope
 309 |         set {
 310 |             if newValue {
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:313:17: error: cannot find 'RTCAudioSession' in scope
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:13: error: cannot find 'RTCAudioSession' in scope
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 316 |         }
 317 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:334:31: error: cannot find 'RTCAudioSession' in scope
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 336 |         Logger.log.i(message: "TxClient:: enabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:360:31: error: cannot find 'RTCAudioSession' in scope
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 362 |         Logger.log.i(message: "TxClient:: disabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:63: error: 'AVAudioSession' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:78: error: 'routeChangeNotification' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:19: error: 'AVAudioSession' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:34: error: 'routeChangeNotification' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:497:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 495 |     @objc private func handleAudioRouteChange(notification: Notification) {
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 499 |             return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:709:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
707 | /// keys for AVAudioSessionRouteChangeNotification
708 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
709 | OS_EXPORT NSString *const AVAudioSessionRouteChangeReasonKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                           `- note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
710 | /// value is AVAudioSessionRouteDescription *
711 | OS_EXPORT NSString *const AVAudioSessionRouteChangePreviousRouteKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:498:28: error: 'AVAudioSession' is unavailable in macOS
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 499 |             return
 500 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:23: error: 'AVAudioSession' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:38: error: 'sharedInstance()' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:503:36: error: 'currentRoute' is unavailable in macOS
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
 503 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:506:41: error: 'outputs' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
 506 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 507 |             return
 508 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:510:85: error: 'portType' is unavailable in macOS
 508 |         }
 509 |
 510 |         Logger.log.i(message: "[ACM_RESET] TxClient:: Audio route changed: \(output.portType), reason: \(reason), isACMResetInProgress: \(isACMResetInProgress)")
     |                                                                                     `- error: 'portType' is unavailable in macOS
 511 |
 512 |         // Ignore audio route changes during ACM reset to prevent state desynchronization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:40: error: 'portType' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:53: error: 'builtInSpeaker' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:530:50: error: 'portType' is unavailable in macOS
 528 |                     userInfo: [
 529 |                         "isSpeakerEnabled": isSpeaker,
 530 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 531 |                     ]
 532 |                 )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:32: error: 'AVAudioSession' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:47: error: 'sharedInstance()' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:64: error: 'currentRoute' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                                `- error: 'currentRoute' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:48: error: 'outputs' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                `- error: 'outputs' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:70: error: 'portType' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                      `- error: 'portType' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:83: error: 'builtInSpeaker' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                                   `- error: 'builtInSpeaker' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:32: error: 'AVAudioSession' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:47: error: 'sharedInstance()' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1940:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
1940 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1941 |             _isSpeakerEnabled = false
1942 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Earpiece set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:32: error: 'AVAudioSession' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:47: error: 'sharedInstance()' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:55: error: 'speaker' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.PortOverride.speaker:4:10: note: 'speaker' has been explicitly marked unavailable here
2 |   enum PortOverride {
3 | @available(macOS, unavailable)
4 |     case speaker  }
  |          `- note: 'speaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:28: error: 'AVAudioSession' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:43: error: 'sharedInstance()' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2611:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
2609 |         let audioSession = AVAudioSession.sharedInstance()
2610 |         do {
2611 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
2612 |                 .playback,
2613 |                 mode: .default,
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2612:18: error: 'playback' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
2612 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
2613 |                 mode: .default,
2614 |                 options: [.mixWithOthers]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:100:40: note: 'playback' has been explicitly marked unavailable here
 98 |
 99 | /*! Use this category for music tracks.*/
100 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayback			API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playback' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2613:24: error: 'default' is unavailable in macOS
2611 |             try audioSession.setCategory(
2612 |                 .playback,
2613 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
2614 |                 options: [.mixWithOthers]
2615 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2624:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2622 |     /// WebRTC would replace the call options on a session CallKit has already activated.
2623 |     internal static func setDefaultCallAudioConfiguration() {
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2626:9: error: cannot find 'RTCAudioSessionConfiguration' in scope
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
     |         `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2627 |     }
2628 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2630:31: error: cannot find 'RTCAudioSession' in scope
2628 |
2629 |     internal func setupCorrectAudioConfiguration() {
2630 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2633:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
2633 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2634 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2635 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2647:31: error: cannot find 'RTCAudioSession' in scope
2645 |     @discardableResult
2646 |     internal func setAudioSessionActive(_ active: Bool) -> Bool {
2647 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2648 |         var succeeded = false
2649 |         rtcAudioSession.lockForConfiguration()
[87/102] Compiling TelnyxRTC CallTimingBenchmark.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:190:26: warning: immutable value 'data' was never used; consider replacing with '_' or removing it
188 |             break;
189 |
190 |         case .binary(let data):
    |                          `- warning: immutable value 'data' was never used; consider replacing with '_' or removing it
191 |             break
192 |         case .ping(_):
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:146:21: error: 'CXAnswerCallAction' is unavailable in macOS
 144 |     /// call while signaling catches up.
 145 |     private struct PendingCallKitAnswer {
 146 |         let action: CXAnswerCallAction
     |                     `- error: 'CXAnswerCallAction' is unavailable in macOS
 147 |         let headers: [String: String]
 148 |         let debug: Bool
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:32: error: 'CXEndCallAction' is unavailable in macOS
 168 |     private var pendingCallKitAnswers: [UUID: PendingCallKitAnswer] = [:]
 169 |     private let pendingCallKitAnswersLock = NSLock()
 170 |     private var endCallAction: CXEndCallAction? = nil
     |                                `- error: 'CXEndCallAction' is unavailable in macOS
 171 |     private var sessionId : String?
 172 |     internal var txConfig: TxConfig?
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:333:50: error: 'AVAudioSession' is unavailable in macOS
 331 |     /// }
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:359:51: error: 'AVAudioSession' is unavailable in macOS
 357 |     /// }
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:24: error: 'AVAudioSession' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:39: error: 'sharedInstance()' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:373:56: error: 'currentRoute' is unavailable in macOS
 371 |     /// The current audio route configuration.
 372 |     /// This provides information about the active input and output ports.
 373 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 374 |
 375 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:864:49: error: 'CXAnswerCallAction' is unavailable in macOS
 862 |     ///   - debug: (optional) Enable debug mode for call quality metrics and WebRTC statistics.
 863 |     ///     When enabled, real-time call quality metrics will be available through the call's `onCallQualityChange` callback.
 864 |     public func answerFromCallkit(answerAction: CXAnswerCallAction,
     |                                                 `- error: 'CXAnswerCallAction' is unavailable in macOS
 865 |                                   customHeaders: [String:String] = [:],
 866 |                                   debug: Bool = false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h:13:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXAnswerCallAction : CXCallAction
   |            `- note: 'CXAnswerCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1053:49: error: 'CXEndCallAction' is unavailable in macOS
1051 |     }
1052 |
1053 |     private func failEndCallAction(_ endAction: CXEndCallAction) {
     |                                                 `- error: 'CXEndCallAction' is unavailable in macOS
1054 |         resetPushVariables()
1055 |         endAction.fail()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1124:47: error: 'CXEndCallAction' is unavailable in macOS
1122 |
1123 |     /// To end and control callKit active and conn
1124 |     public func endCallFromCallkit(endAction: CXEndCallAction,
     |                                               `- error: 'CXEndCallAction' is unavailable in macOS
1125 |                                    callId: UUID? = nil) {
1126 |         Logger.log.i(message: "TxClient:: endCallFromCallkit - started for callID \(String(describing: endAction.callUUID))")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h:13:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
11 |
12 | CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0))  API_UNAVAILABLE(macos, tvos)
13 | @interface CXEndCallAction : CXCallAction
   |            `- note: 'CXEndCallAction' has been explicitly marked unavailable here
14 |
15 | /// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call ended.
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:307:20: error: cannot find 'RTCAudioSession' in scope
 305 |     public var isAudioDeviceEnabled : Bool {
 306 |         get {
 307 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 308 |         }
 309 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:311:17: error: cannot find 'RTCAudioSession' in scope
 309 |         set {
 310 |             if newValue {
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:313:17: error: cannot find 'RTCAudioSession' in scope
 311 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 312 |             } else {
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:13: error: cannot find 'RTCAudioSession' in scope
 313 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 314 |             }
 315 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 316 |         }
 317 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:334:31: error: cannot find 'RTCAudioSession' in scope
 332 |     /// ```
 333 |     public func enableAudioSession(audioSession: AVAudioSession) {
 334 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 335 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 336 |         Logger.log.i(message: "TxClient:: enabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:360:31: error: cannot find 'RTCAudioSession' in scope
 358 |     /// ```
 359 |     public func disableAudioSession(audioSession: AVAudioSession) {
 360 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
 361 |         let wasAudioEnabled = rtcAudioSession.isAudioEnabled
 362 |         Logger.log.i(message: "TxClient:: disabling CallKit audio session; currentlyEnabled=\(rtcAudioSession.isAudioEnabled)")
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:63: error: 'AVAudioSession' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:440:78: error: 'routeChangeNotification' is unavailable in macOS
 438 |
 439 |         // Remove audio route change observer
 440 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 441 |
 442 |         // Remove ACM reset observers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:19: error: 'AVAudioSession' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:460:34: error: 'routeChangeNotification' is unavailable in macOS
 458 |             self,
 459 |             selector: #selector(handleAudioRouteChange),
 460 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 461 |             object: nil)
 462 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:617:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
615 | 	of the previous audio route.
616 | */
617 | OS_EXPORT NSNotificationName const  AVAudioSessionRouteChangeNotification API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                     `- note: 'routeChangeNotification' has been explicitly marked unavailable here
618 |
619 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:497:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 495 |     @objc private func handleAudioRouteChange(notification: Notification) {
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 499 |             return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:709:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
707 | /// keys for AVAudioSessionRouteChangeNotification
708 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
709 | OS_EXPORT NSString *const AVAudioSessionRouteChangeReasonKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                           `- note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
710 | /// value is AVAudioSessionRouteDescription *
711 | OS_EXPORT NSString *const AVAudioSessionRouteChangePreviousRouteKey API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:498:28: error: 'AVAudioSession' is unavailable in macOS
 496 |         guard let userInfo = notification.userInfo,
 497 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 498 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 499 |             return
 500 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:23: error: 'AVAudioSession' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:502:38: error: 'sharedInstance()' is unavailable in macOS
 500 |         }
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 503 |         let currentRoute = session.currentRoute
 504 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:503:36: error: 'currentRoute' is unavailable in macOS
 501 |
 502 |         let session = AVAudioSession.sharedInstance()
 503 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:506:41: error: 'outputs' is unavailable in macOS
 504 |
 505 |         // Ensure we have at least one output port
 506 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 507 |             return
 508 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:510:85: error: 'portType' is unavailable in macOS
 508 |         }
 509 |
 510 |         Logger.log.i(message: "[ACM_RESET] TxClient:: Audio route changed: \(output.portType), reason: \(reason), isACMResetInProgress: \(isACMResetInProgress)")
     |                                                                                     `- error: 'portType' is unavailable in macOS
 511 |
 512 |         // Ignore audio route changes during ACM reset to prevent state desynchronization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:40: error: 'portType' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:521:53: error: 'builtInSpeaker' is unavailable in macOS
 519 |             case .categoryChange, .override, .routeConfigurationChange:
 520 |                 // Update internal speaker state based on current output
 521 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 522 |                 _isSpeakerEnabled = isSpeaker
 523 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:530:50: error: 'portType' is unavailable in macOS
 528 |                     userInfo: [
 529 |                         "isSpeakerEnabled": isSpeaker,
 530 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 531 |                     ]
 532 |                 )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:32: error: 'AVAudioSession' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:47: error: 'sharedInstance()' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:596:64: error: 'currentRoute' is unavailable in macOS
 594 |
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                                `- error: 'currentRoute' is unavailable in macOS
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
 598 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:440:54: note: 'currentRoute' has been explicitly marked unavailable here
438 | /// A description of the current route, consisting of zero or more input ports and zero or more
439 | /// output ports
440 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
441 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
442 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:48: error: 'outputs' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                `- error: 'outputs' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:212:75: note: 'outputs' has been explicitly marked unavailable here
210 |
211 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
212 | @property (readonly, nonatomic) NSArray<AVAudioSessionPortDescription *> *outputs API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                                           `- note: 'outputs' has been explicitly marked unavailable here
213 |
214 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:70: error: 'portType' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                      `- error: 'portType' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:136:52: note: 'portType' has been explicitly marked unavailable here
134 | }
135 |
136 | @property (readonly, nonatomic) AVAudioSessionPort portType API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                                    `- note: 'portType' has been explicitly marked unavailable here
137 |
138 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:597:83: error: 'builtInSpeaker' is unavailable in macOS
 595 |             // Verify if speaker is actually active
 596 |             let currentRoute = AVAudioSession.sharedInstance().currentRoute
 597 |             let isSpeakerActive = currentRoute.outputs.contains { $0.portType == .builtInSpeaker }
     |                                                                                   `- error: 'builtInSpeaker' is unavailable in macOS
 598 |
 599 |             if isSpeakerActive {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:47:36: note: 'builtInSpeaker' has been explicitly marked unavailable here
 45 |
 46 | /// Built-in speaker on an iOS device
 47 | OS_EXPORT AVAudioSessionPort const AVAudioSessionPortBuiltInSpeaker   	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'builtInSpeaker' has been explicitly marked unavailable here
 48 |
 49 | /// Output via High-Definition Multimedia Interface
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:32: error: 'AVAudioSession' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1939:47: error: 'sharedInstance()' is unavailable in macOS
1937 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setEarpiece() called")
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1940 |             try audioSession.overrideOutputAudioPort(.none)
1941 |             _isSpeakerEnabled = false
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1940:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1938 |         do {
1939 |             let audioSession = AVAudioSession.sharedInstance()
1940 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1941 |             _isSpeakerEnabled = false
1942 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Earpiece set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:32: error: 'AVAudioSession' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1952:47: error: 'sharedInstance()' is unavailable in macOS
1950 |         Logger.log.i(message: "[ACM_RESET] TxClient:: setSpeaker() called")
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
1954 |             _isSpeakerEnabled = true
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:30: error: 'overrideOutputAudioPort' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.overrideOutputAudioPort:3:13: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws}
  |             `- note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1953:55: error: 'speaker' is unavailable in macOS
1951 |         do {
1952 |             let audioSession = AVAudioSession.sharedInstance()
1953 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
1954 |             _isSpeakerEnabled = true
1955 |             Logger.log.i(message: "[ACM_RESET] TxClient:: Speaker set successfully, _isSpeakerEnabled: \(_isSpeakerEnabled)")
AVFAudio.AVAudioSession.PortOverride.speaker:4:10: note: 'speaker' has been explicitly marked unavailable here
2 |   enum PortOverride {
3 | @available(macOS, unavailable)
4 |     case speaker  }
  |          `- note: 'speaker' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:28: error: 'AVAudioSession' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:29:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 27 | NS_SWIFT_SENDABLE
 28 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 29 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 30 | @private
 31 | 	void *_impl;
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2609:43: error: 'sharedInstance()' is unavailable in macOS
2607 | extension TxClient {
2608 |     internal func resetAudioConfiguration() {
2609 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
AVFAudio.AVAudioSession.sharedInstance:3:19: note: 'sharedInstance()' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open class func sharedInstance() -> AVAudioSession}
  |                   `- note: 'sharedInstance()' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2611:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
2609 |         let audioSession = AVAudioSession.sharedInstance()
2610 |         do {
2611 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
2612 |                 .playback,
2613 |                 mode: .default,
AVFAudio.AVAudioSession.setCategory:3:13: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
1 | class AVAudioSession {
2 | @available(macOS, unavailable)
3 |   open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws}
  |             `- note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2612:18: error: 'playback' is unavailable in macOS
2610 |         do {
2611 |             try audioSession.setCategory(
2612 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
2613 |                 mode: .default,
2614 |                 options: [.mixWithOthers]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:100:40: note: 'playback' has been explicitly marked unavailable here
 98 |
 99 | /*! Use this category for music tracks.*/
100 | OS_EXPORT AVAudioSessionCategory const AVAudioSessionCategoryPlayback			API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                        `- note: 'playback' has been explicitly marked unavailable here
101 |
102 | /*! Use this category when recording audio. */
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2613:24: error: 'default' is unavailable in macOS
2611 |             try audioSession.setCategory(
2612 |                 .playback,
2613 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
2614 |                 options: [.mixWithOthers]
2615 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:136:36: note: 'default' has been explicitly marked unavailable here
134 |
135 | /*! The default mode */
136 | OS_EXPORT AVAudioSessionMode const AVAudioSessionModeDefault API_AVAILABLE(ios(5.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
    |                                    `- note: 'default' has been explicitly marked unavailable here
137 |
138 | /*! Only valid with AVAudioSessionCategoryPlayAndRecord.  Appropriate for Voice over IP
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2624:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2622 |     /// WebRTC would replace the call options on a session CallKit has already activated.
2623 |     internal static func setDefaultCallAudioConfiguration() {
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2626:9: error: cannot find 'RTCAudioSessionConfiguration' in scope
2624 |         let configuration = RTCAudioSessionConfiguration.webRTC()
2625 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2626 |         RTCAudioSessionConfiguration.setWebRTC(configuration)
     |         `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2627 |     }
2628 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2630:31: error: cannot find 'RTCAudioSession' in scope
2628 |
2629 |     internal func setupCorrectAudioConfiguration() {
2630 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2633:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
2631 |         rtcAudioSession.lockForConfiguration()
2632 |
2633 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
2634 |         configuration.categoryOptions = Peer.callAudioCategoryOptions
2635 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:2647:31: error: cannot find 'RTCAudioSession' in scope
2645 |     @discardableResult
2646 |     internal func setAudioSessionActive(_ active: Bool) -> Bool {
2647 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
2648 |         var succeeded = false
2649 |         rtcAudioSession.lockForConfiguration()
[88/102] Compiling TelnyxRTC FileLoger.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[89/102] Compiling TelnyxRTC Logger.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[90/102] Compiling TelnyxRTC MOSCalculator.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[91/102] Compiling TelnyxRTC NetworkMonitor.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[92/102] Compiling TelnyxRTC SdpUtils.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[93/102] Compiling TelnyxRTC TelnyxLogCollector.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[94/102] Compiling TelnyxRTC TxLogger.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[95/102] Compiling TelnyxRTC AIConversationMessage.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:96:19: warning: value 'logData' was defined but never used; consider replacing with boolean test
 94 |
 95 |         let logFileURL = FileLogger.shared.logFileURL
 96 |         guard let logData = try? Data(contentsOf: logFileURL) else {
    |                   `- warning: value 'logData' was defined but never used; consider replacing with boolean test
 97 |             Logger.log.e(message: "Failed to read log file")
 98 |             return
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/NetworkMonitor.swift:6:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 3 | import SystemConfiguration
 4 |
 5 | class NetworkMonitor {
   |       `- note: add @available attribute to enclosing class
 6 |     private let monitor = NWPathMonitor()
   |                           `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 7 |     private let queue = DispatchQueue(label: "NetworkMonitorQueue")
 8 |
[96/102] Compiling TelnyxRTC TelnyxCallReportCollector.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[97/102] Compiling TelnyxRTC TelnyxCallTimingRecorder.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[98/102] Compiling TelnyxRTC WebRTCEventHandler.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[99/102] Compiling TelnyxRTC WebRTCStatsEvent.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[100/102] Compiling TelnyxRTC WebRTCStatsReporter.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[101/102] Compiling TelnyxRTC WebRTCStatsTag.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
[102/102] Compiling TelnyxRTC resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:92:36: error: cannot find 'RTCAudioSession' in scope
  90 |     //Audio
  91 |     private var localAudioTrack: RTCAudioTrack?
  92 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
     |                                    `- error: cannot find 'RTCAudioSession' in scope
  93 |
  94 |     //Video
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/TelnyxRTC/Info.plist
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
BUILD FAILURE 6.1 macosSpm