The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build telnyx-webrtc-ios, reference 2.0.1 (e422ae), with Swift 6.1 for macOS (SPM) on 2 Jun 2025 18:29:48 UTC.

Build Command

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

Build Log

 439 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 440 |         self.answerCallAction = answerAction
 441 |         ///answer call if currentPushCall is not nil
/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:462:46: error: 'CXEndCallAction' is unavailable in macOS
 460 |
 461 |     /// To end and control callKit active and conn
 462 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 463 |         self.endCallAction = endAction
 464 |         // Place the code you want to delay here
/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:187:20: error: cannot find 'RTCAudioSession' in scope
 185 |     public var isAudioDeviceEnabled : Bool {
 186 |         get {
 187 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 188 |         }
 189 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:191:17: error: cannot find 'RTCAudioSession' in scope
 189 |         set {
 190 |             if newValue {
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:13: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 196 |         }
 197 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:295:19: error: 'AVAudioSession' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:295:34: error: 'routeChangeNotification' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:318:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 316 |     @objc private func handleAudioRouteChange(notification: Notification) {
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 320 |             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:319:28: error: 'AVAudioSession' is unavailable in macOS
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 320 |             return
 321 |         }
/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:323:23: error: 'AVAudioSession' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
/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:323:38: error: 'sharedInstance()' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
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:324:36: error: 'currentRoute' is unavailable in macOS
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
 324 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 325 |
 326 |         // 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:327:41: error: 'outputs' is unavailable in macOS
 325 |
 326 |         // Ensure we have at least one output port
 327 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 328 |             return
 329 |         }
/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:331:62: error: 'portType' is unavailable in macOS
 329 |         }
 330 |
 331 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 332 |
 333 |         switch reason {
/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:336:40: error: 'portType' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:336:53: error: 'builtInSpeaker' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:345:50: error: 'portType' is unavailable in macOS
 343 |                     userInfo: [
 344 |                         "isSpeakerEnabled": isSpeaker,
 345 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 346 |                     ]
 347 |                 )
/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:412:57: error: 'AVAudioSession' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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:412:72: error: 'routeChangeNotification' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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: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:798:32: error: 'AVAudioSession' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:798:47: error: 'sharedInstance()' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:799:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
 799 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 800 |             _isSpeakerEnabled = false
 801 |         } catch let error {
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:809:32: error: 'AVAudioSession' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:809:47: error: 'sharedInstance()' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:810:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:810:55: error: 'speaker' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:1177:28: error: 'AVAudioSession' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1178 |         do {
1179 |             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:1177:43: error: 'sharedInstance()' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1178 |         do {
1179 |             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:1179:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1177 |         let audioSession = AVAudioSession.sharedInstance()
1178 |         do {
1179 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1180 |                 .playback,
1181 |                 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:1180:18: error: 'playback' is unavailable in macOS
1178 |         do {
1179 |             try audioSession.setCategory(
1180 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1181 |                 mode: .default,
1182 |                 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:1181:24: error: 'default' is unavailable in macOS
1179 |             try audioSession.setCategory(
1180 |                 .playback,
1181 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1182 |                 options: [.mixWithOthers]
1183 |             )
/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:1190:31: error: cannot find 'RTCAudioSession' in scope
1188 |
1189 |     internal func setupCorrectAudioConfiguration() {
1190 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1193:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1195:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1196:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1197:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
1197 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1198 |             .mixWithOthers
1199 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1198:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1199 |         ]
1200 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1211:31: error: cannot find 'RTCAudioSession' in scope
1209 |
1210 |     internal func setAudioSessionActive(_ active: Bool) {
1211 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1212 |
1213 |         rtcAudioSession.lockForConfiguration()
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:104:13: warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
102 |
103 |
104 |         let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
    |             `- warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[72/80] Compiling TelnyxRTC TxClientDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:135:34: error: 'CXAnswerCallAction' is unavailable in macOS
 133 |     private var socket : Socket?
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
     |                                  `- error: 'CXAnswerCallAction' is unavailable in macOS
 136 |     private var endCallAction:CXEndCallAction? = nil
 137 |     private var sessionId : String?
/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:136:31: error: 'CXEndCallAction' is unavailable in macOS
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
 136 |     private var endCallAction:CXEndCallAction? = nil
     |                               `- error: 'CXEndCallAction' is unavailable in macOS
 137 |     private var sessionId : String?
 138 |     private 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:213:50: error: 'AVAudioSession' is unavailable in macOS
 211 |     /// }
 212 |     /// ```
 213 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 214 |         setupCorrectAudioConfiguration()
 215 |         setAudioSessionActive(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:232:51: error: 'AVAudioSession' is unavailable in macOS
 230 |     /// }
 231 |     /// ```
 232 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 233 |         resetAudioConfiguration()
 234 |         setAudioSessionActive(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:239:24: error: 'AVAudioSession' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 240 |
 241 |     /// 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:239:39: error: 'sharedInstance()' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 240 |
 241 |     /// 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:239:56: error: 'currentRoute' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 240 |
 241 |     /// 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:439:48: error: 'CXAnswerCallAction' is unavailable in macOS
 437 |     ///     - customHeaders: (Optional)
 438 |     ///     - debug:  (Optional) to enable quality metrics for call
 439 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 440 |         self.answerCallAction = answerAction
 441 |         ///answer call if currentPushCall is not nil
/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:462:46: error: 'CXEndCallAction' is unavailable in macOS
 460 |
 461 |     /// To end and control callKit active and conn
 462 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 463 |         self.endCallAction = endAction
 464 |         // Place the code you want to delay here
/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:187:20: error: cannot find 'RTCAudioSession' in scope
 185 |     public var isAudioDeviceEnabled : Bool {
 186 |         get {
 187 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 188 |         }
 189 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:191:17: error: cannot find 'RTCAudioSession' in scope
 189 |         set {
 190 |             if newValue {
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:13: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 196 |         }
 197 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:295:19: error: 'AVAudioSession' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:295:34: error: 'routeChangeNotification' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:318:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 316 |     @objc private func handleAudioRouteChange(notification: Notification) {
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 320 |             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:319:28: error: 'AVAudioSession' is unavailable in macOS
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 320 |             return
 321 |         }
/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:323:23: error: 'AVAudioSession' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
/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:323:38: error: 'sharedInstance()' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
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:324:36: error: 'currentRoute' is unavailable in macOS
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
 324 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 325 |
 326 |         // 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:327:41: error: 'outputs' is unavailable in macOS
 325 |
 326 |         // Ensure we have at least one output port
 327 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 328 |             return
 329 |         }
/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:331:62: error: 'portType' is unavailable in macOS
 329 |         }
 330 |
 331 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 332 |
 333 |         switch reason {
/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:336:40: error: 'portType' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:336:53: error: 'builtInSpeaker' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:345:50: error: 'portType' is unavailable in macOS
 343 |                     userInfo: [
 344 |                         "isSpeakerEnabled": isSpeaker,
 345 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 346 |                     ]
 347 |                 )
/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:412:57: error: 'AVAudioSession' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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:412:72: error: 'routeChangeNotification' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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: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:798:32: error: 'AVAudioSession' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:798:47: error: 'sharedInstance()' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:799:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
 799 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 800 |             _isSpeakerEnabled = false
 801 |         } catch let error {
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:809:32: error: 'AVAudioSession' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:809:47: error: 'sharedInstance()' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:810:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:810:55: error: 'speaker' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:1177:28: error: 'AVAudioSession' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1178 |         do {
1179 |             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:1177:43: error: 'sharedInstance()' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1178 |         do {
1179 |             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:1179:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1177 |         let audioSession = AVAudioSession.sharedInstance()
1178 |         do {
1179 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1180 |                 .playback,
1181 |                 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:1180:18: error: 'playback' is unavailable in macOS
1178 |         do {
1179 |             try audioSession.setCategory(
1180 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1181 |                 mode: .default,
1182 |                 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:1181:24: error: 'default' is unavailable in macOS
1179 |             try audioSession.setCategory(
1180 |                 .playback,
1181 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1182 |                 options: [.mixWithOthers]
1183 |             )
/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:1190:31: error: cannot find 'RTCAudioSession' in scope
1188 |
1189 |     internal func setupCorrectAudioConfiguration() {
1190 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1193:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1195:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1196:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1197:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
1197 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1198 |             .mixWithOthers
1199 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1198:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1199 |         ]
1200 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1211:31: error: cannot find 'RTCAudioSession' in scope
1209 |
1210 |     internal func setAudioSessionActive(_ active: Bool) {
1211 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1212 |
1213 |         rtcAudioSession.lockForConfiguration()
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:104:13: warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
102 |
103 |
104 |         let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
    |             `- warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[73/80] Compiling TelnyxRTC TxClientSocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:135:34: error: 'CXAnswerCallAction' is unavailable in macOS
 133 |     private var socket : Socket?
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
     |                                  `- error: 'CXAnswerCallAction' is unavailable in macOS
 136 |     private var endCallAction:CXEndCallAction? = nil
 137 |     private var sessionId : String?
/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:136:31: error: 'CXEndCallAction' is unavailable in macOS
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
 136 |     private var endCallAction:CXEndCallAction? = nil
     |                               `- error: 'CXEndCallAction' is unavailable in macOS
 137 |     private var sessionId : String?
 138 |     private 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:213:50: error: 'AVAudioSession' is unavailable in macOS
 211 |     /// }
 212 |     /// ```
 213 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 214 |         setupCorrectAudioConfiguration()
 215 |         setAudioSessionActive(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:232:51: error: 'AVAudioSession' is unavailable in macOS
 230 |     /// }
 231 |     /// ```
 232 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 233 |         resetAudioConfiguration()
 234 |         setAudioSessionActive(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:239:24: error: 'AVAudioSession' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 240 |
 241 |     /// 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:239:39: error: 'sharedInstance()' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 240 |
 241 |     /// 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:239:56: error: 'currentRoute' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 240 |
 241 |     /// 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:439:48: error: 'CXAnswerCallAction' is unavailable in macOS
 437 |     ///     - customHeaders: (Optional)
 438 |     ///     - debug:  (Optional) to enable quality metrics for call
 439 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 440 |         self.answerCallAction = answerAction
 441 |         ///answer call if currentPushCall is not nil
/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:462:46: error: 'CXEndCallAction' is unavailable in macOS
 460 |
 461 |     /// To end and control callKit active and conn
 462 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 463 |         self.endCallAction = endAction
 464 |         // Place the code you want to delay here
/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:187:20: error: cannot find 'RTCAudioSession' in scope
 185 |     public var isAudioDeviceEnabled : Bool {
 186 |         get {
 187 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 188 |         }
 189 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:191:17: error: cannot find 'RTCAudioSession' in scope
 189 |         set {
 190 |             if newValue {
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:13: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 196 |         }
 197 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:295:19: error: 'AVAudioSession' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:295:34: error: 'routeChangeNotification' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:318:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 316 |     @objc private func handleAudioRouteChange(notification: Notification) {
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 320 |             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:319:28: error: 'AVAudioSession' is unavailable in macOS
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 320 |             return
 321 |         }
/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:323:23: error: 'AVAudioSession' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
/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:323:38: error: 'sharedInstance()' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
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:324:36: error: 'currentRoute' is unavailable in macOS
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
 324 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 325 |
 326 |         // 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:327:41: error: 'outputs' is unavailable in macOS
 325 |
 326 |         // Ensure we have at least one output port
 327 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 328 |             return
 329 |         }
/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:331:62: error: 'portType' is unavailable in macOS
 329 |         }
 330 |
 331 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 332 |
 333 |         switch reason {
/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:336:40: error: 'portType' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:336:53: error: 'builtInSpeaker' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:345:50: error: 'portType' is unavailable in macOS
 343 |                     userInfo: [
 344 |                         "isSpeakerEnabled": isSpeaker,
 345 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 346 |                     ]
 347 |                 )
/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:412:57: error: 'AVAudioSession' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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:412:72: error: 'routeChangeNotification' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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: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:798:32: error: 'AVAudioSession' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:798:47: error: 'sharedInstance()' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:799:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
 799 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 800 |             _isSpeakerEnabled = false
 801 |         } catch let error {
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:809:32: error: 'AVAudioSession' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:809:47: error: 'sharedInstance()' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:810:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:810:55: error: 'speaker' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:1177:28: error: 'AVAudioSession' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1178 |         do {
1179 |             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:1177:43: error: 'sharedInstance()' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1178 |         do {
1179 |             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:1179:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1177 |         let audioSession = AVAudioSession.sharedInstance()
1178 |         do {
1179 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1180 |                 .playback,
1181 |                 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:1180:18: error: 'playback' is unavailable in macOS
1178 |         do {
1179 |             try audioSession.setCategory(
1180 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1181 |                 mode: .default,
1182 |                 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:1181:24: error: 'default' is unavailable in macOS
1179 |             try audioSession.setCategory(
1180 |                 .playback,
1181 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1182 |                 options: [.mixWithOthers]
1183 |             )
/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:1190:31: error: cannot find 'RTCAudioSession' in scope
1188 |
1189 |     internal func setupCorrectAudioConfiguration() {
1190 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1193:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1195:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1196:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1197:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
1197 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1198 |             .mixWithOthers
1199 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1198:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1199 |         ]
1200 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1211:31: error: cannot find 'RTCAudioSession' in scope
1209 |
1210 |     internal func setAudioSessionActive(_ active: Bool) {
1211 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1212 |
1213 |         rtcAudioSession.lockForConfiguration()
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:104:13: warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
102 |
103 |
104 |         let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
    |             `- warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[74/80] Compiling TelnyxRTC FileLoger.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:135:34: error: 'CXAnswerCallAction' is unavailable in macOS
 133 |     private var socket : Socket?
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
     |                                  `- error: 'CXAnswerCallAction' is unavailable in macOS
 136 |     private var endCallAction:CXEndCallAction? = nil
 137 |     private var sessionId : String?
/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:136:31: error: 'CXEndCallAction' is unavailable in macOS
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
 136 |     private var endCallAction:CXEndCallAction? = nil
     |                               `- error: 'CXEndCallAction' is unavailable in macOS
 137 |     private var sessionId : String?
 138 |     private 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:213:50: error: 'AVAudioSession' is unavailable in macOS
 211 |     /// }
 212 |     /// ```
 213 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 214 |         setupCorrectAudioConfiguration()
 215 |         setAudioSessionActive(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:232:51: error: 'AVAudioSession' is unavailable in macOS
 230 |     /// }
 231 |     /// ```
 232 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 233 |         resetAudioConfiguration()
 234 |         setAudioSessionActive(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:239:24: error: 'AVAudioSession' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 240 |
 241 |     /// 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:239:39: error: 'sharedInstance()' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 240 |
 241 |     /// 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:239:56: error: 'currentRoute' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 240 |
 241 |     /// 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:439:48: error: 'CXAnswerCallAction' is unavailable in macOS
 437 |     ///     - customHeaders: (Optional)
 438 |     ///     - debug:  (Optional) to enable quality metrics for call
 439 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 440 |         self.answerCallAction = answerAction
 441 |         ///answer call if currentPushCall is not nil
/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:462:46: error: 'CXEndCallAction' is unavailable in macOS
 460 |
 461 |     /// To end and control callKit active and conn
 462 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 463 |         self.endCallAction = endAction
 464 |         // Place the code you want to delay here
/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:187:20: error: cannot find 'RTCAudioSession' in scope
 185 |     public var isAudioDeviceEnabled : Bool {
 186 |         get {
 187 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 188 |         }
 189 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:191:17: error: cannot find 'RTCAudioSession' in scope
 189 |         set {
 190 |             if newValue {
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:13: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 196 |         }
 197 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:295:19: error: 'AVAudioSession' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:295:34: error: 'routeChangeNotification' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:318:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 316 |     @objc private func handleAudioRouteChange(notification: Notification) {
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 320 |             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:319:28: error: 'AVAudioSession' is unavailable in macOS
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 320 |             return
 321 |         }
/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:323:23: error: 'AVAudioSession' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
/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:323:38: error: 'sharedInstance()' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
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:324:36: error: 'currentRoute' is unavailable in macOS
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
 324 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 325 |
 326 |         // 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:327:41: error: 'outputs' is unavailable in macOS
 325 |
 326 |         // Ensure we have at least one output port
 327 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 328 |             return
 329 |         }
/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:331:62: error: 'portType' is unavailable in macOS
 329 |         }
 330 |
 331 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 332 |
 333 |         switch reason {
/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:336:40: error: 'portType' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:336:53: error: 'builtInSpeaker' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:345:50: error: 'portType' is unavailable in macOS
 343 |                     userInfo: [
 344 |                         "isSpeakerEnabled": isSpeaker,
 345 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 346 |                     ]
 347 |                 )
/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:412:57: error: 'AVAudioSession' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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:412:72: error: 'routeChangeNotification' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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: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:798:32: error: 'AVAudioSession' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:798:47: error: 'sharedInstance()' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:799:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
 799 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 800 |             _isSpeakerEnabled = false
 801 |         } catch let error {
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:809:32: error: 'AVAudioSession' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:809:47: error: 'sharedInstance()' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:810:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:810:55: error: 'speaker' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:1177:28: error: 'AVAudioSession' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1178 |         do {
1179 |             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:1177:43: error: 'sharedInstance()' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1178 |         do {
1179 |             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:1179:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1177 |         let audioSession = AVAudioSession.sharedInstance()
1178 |         do {
1179 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1180 |                 .playback,
1181 |                 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:1180:18: error: 'playback' is unavailable in macOS
1178 |         do {
1179 |             try audioSession.setCategory(
1180 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1181 |                 mode: .default,
1182 |                 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:1181:24: error: 'default' is unavailable in macOS
1179 |             try audioSession.setCategory(
1180 |                 .playback,
1181 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1182 |                 options: [.mixWithOthers]
1183 |             )
/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:1190:31: error: cannot find 'RTCAudioSession' in scope
1188 |
1189 |     internal func setupCorrectAudioConfiguration() {
1190 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1193:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1195:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1196:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1197:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
1197 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1198 |             .mixWithOthers
1199 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1198:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1199 |         ]
1200 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1211:31: error: cannot find 'RTCAudioSession' in scope
1209 |
1210 |     internal func setAudioSessionActive(_ active: Bool) {
1211 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1212 |
1213 |         rtcAudioSession.lockForConfiguration()
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:104:13: warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
102 |
103 |
104 |         let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
    |             `- warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[75/80] Compiling TelnyxRTC Logger.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:135:34: error: 'CXAnswerCallAction' is unavailable in macOS
 133 |     private var socket : Socket?
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
     |                                  `- error: 'CXAnswerCallAction' is unavailable in macOS
 136 |     private var endCallAction:CXEndCallAction? = nil
 137 |     private var sessionId : String?
/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:136:31: error: 'CXEndCallAction' is unavailable in macOS
 134 |
 135 |     private var answerCallAction:CXAnswerCallAction? = nil
 136 |     private var endCallAction:CXEndCallAction? = nil
     |                               `- error: 'CXEndCallAction' is unavailable in macOS
 137 |     private var sessionId : String?
 138 |     private 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:213:50: error: 'AVAudioSession' is unavailable in macOS
 211 |     /// }
 212 |     /// ```
 213 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 214 |         setupCorrectAudioConfiguration()
 215 |         setAudioSessionActive(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:232:51: error: 'AVAudioSession' is unavailable in macOS
 230 |     /// }
 231 |     /// ```
 232 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 233 |         resetAudioConfiguration()
 234 |         setAudioSessionActive(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:239:24: error: 'AVAudioSession' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 240 |
 241 |     /// 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:239:39: error: 'sharedInstance()' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 240 |
 241 |     /// 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:239:56: error: 'currentRoute' is unavailable in macOS
 237 |     /// The current audio route configuration.
 238 |     /// This provides information about the active input and output ports.
 239 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 240 |
 241 |     /// 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:439:48: error: 'CXAnswerCallAction' is unavailable in macOS
 437 |     ///     - customHeaders: (Optional)
 438 |     ///     - debug:  (Optional) to enable quality metrics for call
 439 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 440 |         self.answerCallAction = answerAction
 441 |         ///answer call if currentPushCall is not nil
/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:462:46: error: 'CXEndCallAction' is unavailable in macOS
 460 |
 461 |     /// To end and control callKit active and conn
 462 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 463 |         self.endCallAction = endAction
 464 |         // Place the code you want to delay here
/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:187:20: error: cannot find 'RTCAudioSession' in scope
 185 |     public var isAudioDeviceEnabled : Bool {
 186 |         get {
 187 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 188 |         }
 189 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:191:17: error: cannot find 'RTCAudioSession' in scope
 189 |         set {
 190 |             if newValue {
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 192 |             } else {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:13: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 194 |             }
 195 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 196 |         }
 197 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:295:19: error: 'AVAudioSession' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:295:34: error: 'routeChangeNotification' is unavailable in macOS
 293 |             self,
 294 |             selector: #selector(handleAudioRouteChange),
 295 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 296 |             object: nil)
 297 |     }
/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:318:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 316 |     @objc private func handleAudioRouteChange(notification: Notification) {
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 320 |             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:319:28: error: 'AVAudioSession' is unavailable in macOS
 317 |         guard let userInfo = notification.userInfo,
 318 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 319 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 320 |             return
 321 |         }
/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:323:23: error: 'AVAudioSession' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
/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:323:38: error: 'sharedInstance()' is unavailable in macOS
 321 |         }
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 324 |         let currentRoute = session.currentRoute
 325 |
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:324:36: error: 'currentRoute' is unavailable in macOS
 322 |
 323 |         let session = AVAudioSession.sharedInstance()
 324 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 325 |
 326 |         // 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:327:41: error: 'outputs' is unavailable in macOS
 325 |
 326 |         // Ensure we have at least one output port
 327 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 328 |             return
 329 |         }
/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:331:62: error: 'portType' is unavailable in macOS
 329 |         }
 330 |
 331 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 332 |
 333 |         switch reason {
/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:336:40: error: 'portType' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:336:53: error: 'builtInSpeaker' is unavailable in macOS
 334 |             case .categoryChange, .override, .routeConfigurationChange:
 335 |                 // Update internal speaker state based on current output
 336 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 337 |                 _isSpeakerEnabled = isSpeaker
 338 |
/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:345:50: error: 'portType' is unavailable in macOS
 343 |                     userInfo: [
 344 |                         "isSpeakerEnabled": isSpeaker,
 345 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 346 |                     ]
 347 |                 )
/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:412:57: error: 'AVAudioSession' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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:412:72: error: 'routeChangeNotification' is unavailable in macOS
 410 |         // Remove audio route change observer
 411 |         NotificationCenter.default.removeObserver(self,
 412 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 413 |                                                   object: nil)
 414 |         socket?.disconnect(reconnect: 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: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:798:32: error: 'AVAudioSession' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:798:47: error: 'sharedInstance()' is unavailable in macOS
 796 |     public func setEarpiece() {
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 799 |             try audioSession.overrideOutputAudioPort(.none)
 800 |             _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:799:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 797 |         do {
 798 |             let audioSession = AVAudioSession.sharedInstance()
 799 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 800 |             _isSpeakerEnabled = false
 801 |         } catch let error {
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:809:32: error: 'AVAudioSession' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:809:47: error: 'sharedInstance()' is unavailable in macOS
 807 |     public func setSpeaker() {
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
 811 |             _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:810:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:810:55: error: 'speaker' is unavailable in macOS
 808 |         do {
 809 |             let audioSession = AVAudioSession.sharedInstance()
 810 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 811 |             _isSpeakerEnabled = true
 812 |         } catch let error {
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:1177:28: error: 'AVAudioSession' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1178 |         do {
1179 |             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:1177:43: error: 'sharedInstance()' is unavailable in macOS
1175 | extension TxClient {
1176 |     internal func resetAudioConfiguration() {
1177 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1178 |         do {
1179 |             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:1179:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1177 |         let audioSession = AVAudioSession.sharedInstance()
1178 |         do {
1179 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1180 |                 .playback,
1181 |                 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:1180:18: error: 'playback' is unavailable in macOS
1178 |         do {
1179 |             try audioSession.setCategory(
1180 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1181 |                 mode: .default,
1182 |                 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:1181:24: error: 'default' is unavailable in macOS
1179 |             try audioSession.setCategory(
1180 |                 .playback,
1181 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1182 |                 options: [.mixWithOthers]
1183 |             )
/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:1190:31: error: cannot find 'RTCAudioSession' in scope
1188 |
1189 |     internal func setupCorrectAudioConfiguration() {
1190 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1193:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1191 |         rtcAudioSession.lockForConfiguration()
1192 |
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1195:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1193 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1196:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1194 |         configuration.categoryOptions = [
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1197:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1195 |             .allowBluetoothA2DP,
1196 |             .duckOthers,
1197 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1198 |             .mixWithOthers
1199 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1198:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1196 |             .duckOthers,
1197 |             .allowBluetooth,
1198 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1199 |         ]
1200 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1211:31: error: cannot find 'RTCAudioSession' in scope
1209 |
1210 |     internal func setAudioSessionActive(_ active: Bool) {
1211 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1212 |
1213 |         rtcAudioSession.lockForConfiguration()
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Utils/FileLoger.swift:104:13: warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
102 |
103 |
104 |         let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
    |             `- warning: initialization of immutable value 'timestamp' was never used; consider replacing with assignment to '_' or removing it
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[76/80] Compiling TelnyxRTC WebRTCEventHandler.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:55:36: error: cannot find 'RTCAudioSession' in scope
 53 |     //Audio
 54 |     private var localAudioTrack: RTCAudioTrack?
 55 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
    |                                    `- error: cannot find 'RTCAudioSession' in scope
 56 |
 57 |     //Video
[77/80] Compiling TelnyxRTC WebRTCStatsEvent.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:55:36: error: cannot find 'RTCAudioSession' in scope
 53 |     //Audio
 54 |     private var localAudioTrack: RTCAudioTrack?
 55 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
    |                                    `- error: cannot find 'RTCAudioSession' in scope
 56 |
 57 |     //Video
[78/80] Compiling TelnyxRTC WebRTCStatsReporter.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:55:36: error: cannot find 'RTCAudioSession' in scope
 53 |     //Audio
 54 |     private var localAudioTrack: RTCAudioTrack?
 55 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
    |                                    `- error: cannot find 'RTCAudioSession' in scope
 56 |
 57 |     //Video
[79/80] Compiling TelnyxRTC WebRTCStatsTag.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:55:36: error: cannot find 'RTCAudioSession' in scope
 53 |     //Audio
 54 |     private var localAudioTrack: RTCAudioTrack?
 55 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
    |                                    `- error: cannot find 'RTCAudioSession' in scope
 56 |
 57 |     //Video
[80/80] Compiling TelnyxRTC resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:55:36: error: cannot find 'RTCAudioSession' in scope
 53 |     //Audio
 54 |     private var localAudioTrack: RTCAudioTrack?
 55 |     private let rtcAudioSession =  RTCAudioSession.sharedInstance()
    |                                    `- error: cannot find 'RTCAudioSession' in scope
 56 |
 57 |     //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
BUILD FAILURE 6.1 macosSpm