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 main (b38bef), with Swift 6.2 (beta) for macOS (SPM) on 4 Sep 2025 19:21:25 UTC.

Build Command

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

Build Log

4 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:344:36: error: 'currentRoute' is unavailable in macOS
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
 344 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:347:41: error: 'outputs' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
 347 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 348 |             return
 349 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:244:75: note: 'outputs' has been explicitly marked unavailable here
242 |
243 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
244 | @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
245 |
246 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:351:62: error: 'portType' is unavailable in macOS
 349 |         }
 350 |
 351 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 352 |
 353 |         switch reason {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:40: error: 'portType' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:53: error: 'builtInSpeaker' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:365:50: error: 'portType' is unavailable in macOS
 363 |                     userInfo: [
 364 |                         "isSpeakerEnabled": isSpeaker,
 365 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 366 |                     ]
 367 |                 )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:57: error: 'AVAudioSession' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:72: error: 'routeChangeNotification' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:32: error: 'AVAudioSession' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _isSpeakerEnabled = false
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:47: error: 'sharedInstance()' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _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:819:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
 819 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 820 |             _isSpeakerEnabled = false
 821 |         } 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:829:32: error: 'AVAudioSession' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _isSpeakerEnabled = true
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:829:47: error: 'sharedInstance()' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _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:830:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:830:55: error: 'speaker' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:1253:28: error: 'AVAudioSession' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1253:43: error: 'sharedInstance()' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1254 |         do {
1255 |             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:1255:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1253 |         let audioSession = AVAudioSession.sharedInstance()
1254 |         do {
1255 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1256 |                 .playback,
1257 |                 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:1256:18: error: 'playback' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
1256 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1257 |                 mode: .default,
1258 |                 options: [.mixWithOthers]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1257:24: error: 'default' is unavailable in macOS
1255 |             try audioSession.setCategory(
1256 |                 .playback,
1257 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1258 |                 options: [.mixWithOthers]
1259 |             )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1266:31: error: cannot find 'RTCAudioSession' in scope
1264 |
1265 |     internal func setupCorrectAudioConfiguration() {
1266 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1269:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1271:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1272:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1273:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
1273 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1274 |             .mixWithOthers
1275 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1274:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1275 |         ]
1276 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1287:31: error: cannot find 'RTCAudioSession' in scope
1285 |
1286 |     internal func setAudioSessionActive(_ active: Bool) {
1287 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1288 |
1289 |         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 [#no-usage]
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 [#no-usage]
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[84/87] Compiling TelnyxRTC TxClient.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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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 |     internal var txConfig: TxConfig?
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:215:50: error: 'AVAudioSession' is unavailable in macOS
 213 |     /// }
 214 |     /// ```
 215 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 216 |         setupCorrectAudioConfiguration()
 217 |         setAudioSessionActive(true)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:234:51: error: 'AVAudioSession' is unavailable in macOS
 232 |     /// }
 233 |     /// ```
 234 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 235 |         resetAudioConfiguration()
 236 |         setAudioSessionActive(false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:24: error: 'AVAudioSession' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:39: error: 'sharedInstance()' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 242 |
 243 |     /// 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:241:56: error: 'currentRoute' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:459:48: error: 'CXAnswerCallAction' is unavailable in macOS
 457 |     ///     - customHeaders: (Optional)
 458 |     ///     - debug:  (Optional) to enable quality metrics for call
 459 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 460 |         self.answerCallAction = answerAction
 461 |         ///answer call if currentPushCall is not nil
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:482:46: error: 'CXEndCallAction' is unavailable in macOS
 480 |
 481 |     /// To end and control callKit active and conn
 482 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 483 |         self.endCallAction = endAction
 484 |         // Place the code you want to delay here
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:189:20: error: cannot find 'RTCAudioSession' in scope
 187 |     public var isAudioDeviceEnabled : Bool {
 188 |         get {
 189 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 190 |         }
 191 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |         set {
 192 |             if newValue {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:17: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:197:13: error: cannot find 'RTCAudioSession' in scope
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 198 |         }
 199 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:63: error: 'AVAudioSession' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:78: error: 'routeChangeNotification' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:19: error: 'AVAudioSession' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:34: error: 'routeChangeNotification' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:338:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 336 |     @objc private func handleAudioRouteChange(notification: Notification) {
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 340 |             return
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:325:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
323 | /// keys for AVAudioSessionRouteChangeNotification
324 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
325 | 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
326 | /// value is AVAudioSessionRouteDescription *
327 | 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:339:28: error: 'AVAudioSession' is unavailable in macOS
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 340 |             return
 341 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:23: error: 'AVAudioSession' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:38: error: 'sharedInstance()' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
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:344:36: error: 'currentRoute' is unavailable in macOS
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
 344 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:347:41: error: 'outputs' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
 347 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 348 |             return
 349 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:244:75: note: 'outputs' has been explicitly marked unavailable here
242 |
243 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
244 | @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
245 |
246 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:351:62: error: 'portType' is unavailable in macOS
 349 |         }
 350 |
 351 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 352 |
 353 |         switch reason {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:40: error: 'portType' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:53: error: 'builtInSpeaker' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:365:50: error: 'portType' is unavailable in macOS
 363 |                     userInfo: [
 364 |                         "isSpeakerEnabled": isSpeaker,
 365 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 366 |                     ]
 367 |                 )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:57: error: 'AVAudioSession' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:72: error: 'routeChangeNotification' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:32: error: 'AVAudioSession' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _isSpeakerEnabled = false
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:47: error: 'sharedInstance()' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _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:819:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
 819 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 820 |             _isSpeakerEnabled = false
 821 |         } 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:829:32: error: 'AVAudioSession' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _isSpeakerEnabled = true
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:829:47: error: 'sharedInstance()' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _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:830:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:830:55: error: 'speaker' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:1253:28: error: 'AVAudioSession' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1253:43: error: 'sharedInstance()' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1254 |         do {
1255 |             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:1255:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1253 |         let audioSession = AVAudioSession.sharedInstance()
1254 |         do {
1255 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1256 |                 .playback,
1257 |                 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:1256:18: error: 'playback' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
1256 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1257 |                 mode: .default,
1258 |                 options: [.mixWithOthers]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1257:24: error: 'default' is unavailable in macOS
1255 |             try audioSession.setCategory(
1256 |                 .playback,
1257 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1258 |                 options: [.mixWithOthers]
1259 |             )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1266:31: error: cannot find 'RTCAudioSession' in scope
1264 |
1265 |     internal func setupCorrectAudioConfiguration() {
1266 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1269:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1271:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1272:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1273:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
1273 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1274 |             .mixWithOthers
1275 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1274:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1275 |         ]
1276 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1287:31: error: cannot find 'RTCAudioSession' in scope
1285 |
1286 |     internal func setAudioSessionActive(_ active: Bool) {
1287 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1288 |
1289 |         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 [#no-usage]
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 [#no-usage]
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[85/87] 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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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 |     internal var txConfig: TxConfig?
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:215:50: error: 'AVAudioSession' is unavailable in macOS
 213 |     /// }
 214 |     /// ```
 215 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 216 |         setupCorrectAudioConfiguration()
 217 |         setAudioSessionActive(true)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:234:51: error: 'AVAudioSession' is unavailable in macOS
 232 |     /// }
 233 |     /// ```
 234 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 235 |         resetAudioConfiguration()
 236 |         setAudioSessionActive(false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:24: error: 'AVAudioSession' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:39: error: 'sharedInstance()' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 242 |
 243 |     /// 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:241:56: error: 'currentRoute' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:459:48: error: 'CXAnswerCallAction' is unavailable in macOS
 457 |     ///     - customHeaders: (Optional)
 458 |     ///     - debug:  (Optional) to enable quality metrics for call
 459 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 460 |         self.answerCallAction = answerAction
 461 |         ///answer call if currentPushCall is not nil
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:482:46: error: 'CXEndCallAction' is unavailable in macOS
 480 |
 481 |     /// To end and control callKit active and conn
 482 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 483 |         self.endCallAction = endAction
 484 |         // Place the code you want to delay here
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:189:20: error: cannot find 'RTCAudioSession' in scope
 187 |     public var isAudioDeviceEnabled : Bool {
 188 |         get {
 189 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 190 |         }
 191 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |         set {
 192 |             if newValue {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:17: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:197:13: error: cannot find 'RTCAudioSession' in scope
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 198 |         }
 199 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:63: error: 'AVAudioSession' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:78: error: 'routeChangeNotification' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:19: error: 'AVAudioSession' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:34: error: 'routeChangeNotification' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:338:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 336 |     @objc private func handleAudioRouteChange(notification: Notification) {
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 340 |             return
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:325:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
323 | /// keys for AVAudioSessionRouteChangeNotification
324 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
325 | 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
326 | /// value is AVAudioSessionRouteDescription *
327 | 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:339:28: error: 'AVAudioSession' is unavailable in macOS
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 340 |             return
 341 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:23: error: 'AVAudioSession' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:38: error: 'sharedInstance()' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
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:344:36: error: 'currentRoute' is unavailable in macOS
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
 344 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:347:41: error: 'outputs' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
 347 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 348 |             return
 349 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:244:75: note: 'outputs' has been explicitly marked unavailable here
242 |
243 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
244 | @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
245 |
246 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:351:62: error: 'portType' is unavailable in macOS
 349 |         }
 350 |
 351 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 352 |
 353 |         switch reason {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:40: error: 'portType' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:53: error: 'builtInSpeaker' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:365:50: error: 'portType' is unavailable in macOS
 363 |                     userInfo: [
 364 |                         "isSpeakerEnabled": isSpeaker,
 365 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 366 |                     ]
 367 |                 )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:57: error: 'AVAudioSession' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:72: error: 'routeChangeNotification' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:32: error: 'AVAudioSession' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _isSpeakerEnabled = false
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:47: error: 'sharedInstance()' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _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:819:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
 819 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 820 |             _isSpeakerEnabled = false
 821 |         } 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:829:32: error: 'AVAudioSession' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _isSpeakerEnabled = true
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:829:47: error: 'sharedInstance()' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _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:830:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:830:55: error: 'speaker' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:1253:28: error: 'AVAudioSession' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1253:43: error: 'sharedInstance()' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1254 |         do {
1255 |             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:1255:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1253 |         let audioSession = AVAudioSession.sharedInstance()
1254 |         do {
1255 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1256 |                 .playback,
1257 |                 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:1256:18: error: 'playback' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
1256 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1257 |                 mode: .default,
1258 |                 options: [.mixWithOthers]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1257:24: error: 'default' is unavailable in macOS
1255 |             try audioSession.setCategory(
1256 |                 .playback,
1257 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1258 |                 options: [.mixWithOthers]
1259 |             )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1266:31: error: cannot find 'RTCAudioSession' in scope
1264 |
1265 |     internal func setupCorrectAudioConfiguration() {
1266 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1269:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1271:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1272:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1273:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
1273 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1274 |             .mixWithOthers
1275 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1274:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1275 |         ]
1276 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1287:31: error: cannot find 'RTCAudioSession' in scope
1285 |
1286 |     internal func setAudioSessionActive(_ active: Bool) {
1287 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1288 |
1289 |         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 [#no-usage]
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 [#no-usage]
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[86/87] 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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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 |     internal var txConfig: TxConfig?
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:215:50: error: 'AVAudioSession' is unavailable in macOS
 213 |     /// }
 214 |     /// ```
 215 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 216 |         setupCorrectAudioConfiguration()
 217 |         setAudioSessionActive(true)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:234:51: error: 'AVAudioSession' is unavailable in macOS
 232 |     /// }
 233 |     /// ```
 234 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 235 |         resetAudioConfiguration()
 236 |         setAudioSessionActive(false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:24: error: 'AVAudioSession' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:39: error: 'sharedInstance()' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 242 |
 243 |     /// 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:241:56: error: 'currentRoute' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:459:48: error: 'CXAnswerCallAction' is unavailable in macOS
 457 |     ///     - customHeaders: (Optional)
 458 |     ///     - debug:  (Optional) to enable quality metrics for call
 459 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 460 |         self.answerCallAction = answerAction
 461 |         ///answer call if currentPushCall is not nil
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:482:46: error: 'CXEndCallAction' is unavailable in macOS
 480 |
 481 |     /// To end and control callKit active and conn
 482 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 483 |         self.endCallAction = endAction
 484 |         // Place the code you want to delay here
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:189:20: error: cannot find 'RTCAudioSession' in scope
 187 |     public var isAudioDeviceEnabled : Bool {
 188 |         get {
 189 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 190 |         }
 191 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |         set {
 192 |             if newValue {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:17: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:197:13: error: cannot find 'RTCAudioSession' in scope
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 198 |         }
 199 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:63: error: 'AVAudioSession' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:78: error: 'routeChangeNotification' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:19: error: 'AVAudioSession' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:34: error: 'routeChangeNotification' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:338:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 336 |     @objc private func handleAudioRouteChange(notification: Notification) {
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 340 |             return
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:325:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
323 | /// keys for AVAudioSessionRouteChangeNotification
324 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
325 | 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
326 | /// value is AVAudioSessionRouteDescription *
327 | 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:339:28: error: 'AVAudioSession' is unavailable in macOS
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 340 |             return
 341 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:23: error: 'AVAudioSession' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:38: error: 'sharedInstance()' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
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:344:36: error: 'currentRoute' is unavailable in macOS
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
 344 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:347:41: error: 'outputs' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
 347 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 348 |             return
 349 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:244:75: note: 'outputs' has been explicitly marked unavailable here
242 |
243 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
244 | @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
245 |
246 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:351:62: error: 'portType' is unavailable in macOS
 349 |         }
 350 |
 351 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 352 |
 353 |         switch reason {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:40: error: 'portType' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:53: error: 'builtInSpeaker' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:365:50: error: 'portType' is unavailable in macOS
 363 |                     userInfo: [
 364 |                         "isSpeakerEnabled": isSpeaker,
 365 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 366 |                     ]
 367 |                 )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:57: error: 'AVAudioSession' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:72: error: 'routeChangeNotification' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:32: error: 'AVAudioSession' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _isSpeakerEnabled = false
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:47: error: 'sharedInstance()' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _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:819:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
 819 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 820 |             _isSpeakerEnabled = false
 821 |         } 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:829:32: error: 'AVAudioSession' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _isSpeakerEnabled = true
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:829:47: error: 'sharedInstance()' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _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:830:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:830:55: error: 'speaker' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:1253:28: error: 'AVAudioSession' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1253:43: error: 'sharedInstance()' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1254 |         do {
1255 |             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:1255:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1253 |         let audioSession = AVAudioSession.sharedInstance()
1254 |         do {
1255 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1256 |                 .playback,
1257 |                 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:1256:18: error: 'playback' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
1256 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1257 |                 mode: .default,
1258 |                 options: [.mixWithOthers]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1257:24: error: 'default' is unavailable in macOS
1255 |             try audioSession.setCategory(
1256 |                 .playback,
1257 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1258 |                 options: [.mixWithOthers]
1259 |             )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1266:31: error: cannot find 'RTCAudioSession' in scope
1264 |
1265 |     internal func setupCorrectAudioConfiguration() {
1266 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1269:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1271:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1272:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1273:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
1273 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1274 |             .mixWithOthers
1275 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1274:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1275 |         ]
1276 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1287:31: error: cannot find 'RTCAudioSession' in scope
1285 |
1286 |     internal func setAudioSessionActive(_ active: Bool) {
1287 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1288 |
1289 |         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 [#no-usage]
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 [#no-usage]
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
[87/87] 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-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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 |     internal var txConfig: TxConfig?
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:215:50: error: 'AVAudioSession' is unavailable in macOS
 213 |     /// }
 214 |     /// ```
 215 |     public func enableAudioSession(audioSession: AVAudioSession) {
     |                                                  `- error: 'AVAudioSession' is unavailable in macOS
 216 |         setupCorrectAudioConfiguration()
 217 |         setAudioSessionActive(true)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:234:51: error: 'AVAudioSession' is unavailable in macOS
 232 |     /// }
 233 |     /// ```
 234 |     public func disableAudioSession(audioSession: AVAudioSession) {
     |                                                   `- error: 'AVAudioSession' is unavailable in macOS
 235 |         resetAudioConfiguration()
 236 |         setAudioSessionActive(false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:24: error: 'AVAudioSession' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                        `- error: 'AVAudioSession' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:241:39: error: 'sharedInstance()' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                       `- error: 'sharedInstance()' is unavailable in macOS
 242 |
 243 |     /// 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:241:56: error: 'currentRoute' is unavailable in macOS
 239 |     /// The current audio route configuration.
 240 |     /// This provides information about the active input and output ports.
 241 |     let currentRoute = AVAudioSession.sharedInstance().currentRoute
     |                                                        `- error: 'currentRoute' is unavailable in macOS
 242 |
 243 |     /// Client must be registered in order to receive or place calls.
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:459:48: error: 'CXAnswerCallAction' is unavailable in macOS
 457 |     ///     - customHeaders: (Optional)
 458 |     ///     - debug:  (Optional) to enable quality metrics for call
 459 |     public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:],debug:Bool = false) {
     |                                                `- error: 'CXAnswerCallAction' is unavailable in macOS
 460 |         self.answerCallAction = answerAction
 461 |         ///answer call if currentPushCall is not nil
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:482:46: error: 'CXEndCallAction' is unavailable in macOS
 480 |
 481 |     /// To end and control callKit active and conn
 482 |     public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
     |                                              `- error: 'CXEndCallAction' is unavailable in macOS
 483 |         self.endCallAction = endAction
 484 |         // Place the code you want to delay here
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:189:20: error: cannot find 'RTCAudioSession' in scope
 187 |     public var isAudioDeviceEnabled : Bool {
 188 |         get {
 189 |             return RTCAudioSession.sharedInstance().isAudioEnabled
     |                    `- error: cannot find 'RTCAudioSession' in scope
 190 |         }
 191 |         set {
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:193:17: error: cannot find 'RTCAudioSession' in scope
 191 |         set {
 192 |             if newValue {
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:195:17: error: cannot find 'RTCAudioSession' in scope
 193 |                 RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
 194 |             } else {
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
     |                 `- error: cannot find 'RTCAudioSession' in scope
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:197:13: error: cannot find 'RTCAudioSession' in scope
 195 |                 RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
 196 |             }
 197 |             RTCAudioSession.sharedInstance().isAudioEnabled = newValue
     |             `- error: cannot find 'RTCAudioSession' in scope
 198 |         }
 199 |     }
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:63: error: 'AVAudioSession' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                               `- error: 'AVAudioSession' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:299:78: error: 'routeChangeNotification' is unavailable in macOS
 297 |
 298 |         // Remove audio route change observer
 299 |         NotificationCenter.default.removeObserver(self, name: AVAudioSession.routeChangeNotification, object: nil)
     |                                                                              `- error: 'routeChangeNotification' is unavailable in macOS
 300 |
 301 |         Logger.log.i(message: "TxClient deinitialized")
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:19: error: 'AVAudioSession' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                   `- error: 'AVAudioSession' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:315:34: error: 'routeChangeNotification' is unavailable in macOS
 313 |             self,
 314 |             selector: #selector(handleAudioRouteChange),
 315 |             name: AVAudioSession.routeChangeNotification,
     |                                  `- error: 'routeChangeNotification' is unavailable in macOS
 316 |             object: nil)
 317 |     }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:338:42: error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 336 |     @objc private func handleAudioRouteChange(notification: Notification) {
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
     |                                          `- error: 'AVAudioSessionRouteChangeReasonKey' is unavailable in macOS
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
 340 |             return
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:325:27: note: 'AVAudioSessionRouteChangeReasonKey' has been explicitly marked unavailable here
323 | /// keys for AVAudioSessionRouteChangeNotification
324 | /// value is an NSNumber representing an AVAudioSessionRouteChangeReason
325 | 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
326 | /// value is AVAudioSessionRouteDescription *
327 | 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:339:28: error: 'AVAudioSession' is unavailable in macOS
 337 |         guard let userInfo = notification.userInfo,
 338 |               let reasonValue = userInfo[AVAudioSessionRouteChangeReasonKey] as? UInt,
 339 |               let reason = AVAudioSession.RouteChangeReason(rawValue: reasonValue) else {
     |                            `- error: 'AVAudioSession' is unavailable in macOS
 340 |             return
 341 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:23: error: 'AVAudioSession' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                       `- error: 'AVAudioSession' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:343:38: error: 'sharedInstance()' is unavailable in macOS
 341 |         }
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
     |                                      `- error: 'sharedInstance()' is unavailable in macOS
 344 |         let currentRoute = session.currentRoute
 345 |
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:344:36: error: 'currentRoute' is unavailable in macOS
 342 |
 343 |         let session = AVAudioSession.sharedInstance()
 344 |         let currentRoute = session.currentRoute
     |                                    `- error: 'currentRoute' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:467:54: note: 'currentRoute' has been explicitly marked unavailable here
465 | /// A description of the current route, consisting of zero or more input ports and zero or more
466 | /// output ports
467 | @property (readonly) AVAudioSessionRouteDescription *currentRoute
    |                                                      `- note: 'currentRoute' has been explicitly marked unavailable here
468 | 	API_AVAILABLE(ios(6.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
469 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:347:41: error: 'outputs' is unavailable in macOS
 345 |
 346 |         // Ensure we have at least one output port
 347 |         guard let output = currentRoute.outputs.first else {
     |                                         `- error: 'outputs' is unavailable in macOS
 348 |             return
 349 |         }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:244:75: note: 'outputs' has been explicitly marked unavailable here
242 |
243 | /// Flattened list of all output port descriptions associated with all the streams as part of the route.
244 | @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
245 |
246 | @end // AVAudioSessionRouteDescription
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:351:62: error: 'portType' is unavailable in macOS
 349 |         }
 350 |
 351 |         Logger.log.i(message: "Audio route changed: \(output.portType), reason: \(reason)")
     |                                                              `- error: 'portType' is unavailable in macOS
 352 |
 353 |         switch reason {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:40: error: 'portType' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                        `- error: 'portType' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:356:53: error: 'builtInSpeaker' is unavailable in macOS
 354 |             case .categoryChange, .override, .routeConfigurationChange:
 355 |                 // Update internal speaker state based on current output
 356 |                 let isSpeaker = output.portType == .builtInSpeaker
     |                                                     `- error: 'builtInSpeaker' is unavailable in macOS
 357 |                 _isSpeakerEnabled = isSpeaker
 358 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:365:50: error: 'portType' is unavailable in macOS
 363 |                     userInfo: [
 364 |                         "isSpeakerEnabled": isSpeaker,
 365 |                         "outputPortType": output.portType
     |                                                  `- error: 'portType' is unavailable in macOS
 366 |                     ]
 367 |                 )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h:159:52: note: 'portType' has been explicitly marked unavailable here
157 | }
158 |
159 | @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
160 |
161 | /// A descriptive name for the associated hardware port
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:57: error: 'AVAudioSession' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                         `- error: 'AVAudioSession' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:432:72: error: 'routeChangeNotification' is unavailable in macOS
 430 |         // Remove audio route change observer
 431 |         NotificationCenter.default.removeObserver(self,
 432 |                                                   name: AVAudioSession.routeChangeNotification,
     |                                                                        `- error: 'routeChangeNotification' is unavailable in macOS
 433 |                                                   object: nil)
 434 |         socket?.disconnect(reconnect: false)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h:221:37: note: 'routeChangeNotification' has been explicitly marked unavailable here
219 | 	of the previous audio route.
220 | */
221 | 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
222 |
223 | /*!
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:32: error: 'AVAudioSession' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _isSpeakerEnabled = false
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:818:47: error: 'sharedInstance()' is unavailable in macOS
 816 |     public func setEarpiece() {
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 819 |             try audioSession.overrideOutputAudioPort(.none)
 820 |             _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:819:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 817 |         do {
 818 |             let audioSession = AVAudioSession.sharedInstance()
 819 |             try audioSession.overrideOutputAudioPort(.none)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 820 |             _isSpeakerEnabled = false
 821 |         } 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:829:32: error: 'AVAudioSession' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                `- error: 'AVAudioSession' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _isSpeakerEnabled = true
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:829:47: error: 'sharedInstance()' is unavailable in macOS
 827 |     public func setSpeaker() {
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
     |                                               `- error: 'sharedInstance()' is unavailable in macOS
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
 831 |             _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:830:30: error: 'overrideOutputAudioPort' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                              `- error: 'overrideOutputAudioPort' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:830:55: error: 'speaker' is unavailable in macOS
 828 |         do {
 829 |             let audioSession = AVAudioSession.sharedInstance()
 830 |             try audioSession.overrideOutputAudioPort(.speaker)
     |                                                       `- error: 'speaker' is unavailable in macOS
 831 |             _isSpeakerEnabled = true
 832 |         } 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:1253:28: error: 'AVAudioSession' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                            `- error: 'AVAudioSession' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h:30:12: note: 'AVAudioSession' has been explicitly marked unavailable here
 28 | NS_SWIFT_SENDABLE
 29 | API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos)
 30 | @interface AVAudioSession : NSObject {
    |            `- note: 'AVAudioSession' has been explicitly marked unavailable here
 31 | @private
 32 | //	Reenable once rdar://135815013 is unblocked
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1253:43: error: 'sharedInstance()' is unavailable in macOS
1251 | extension TxClient {
1252 |     internal func resetAudioConfiguration() {
1253 |         let audioSession = AVAudioSession.sharedInstance()
     |                                           `- error: 'sharedInstance()' is unavailable in macOS
1254 |         do {
1255 |             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:1255:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
1253 |         let audioSession = AVAudioSession.sharedInstance()
1254 |         do {
1255 |             try audioSession.setCategory(
     |                              `- error: 'setCategory(_:mode:options:)' is unavailable in macOS
1256 |                 .playback,
1257 |                 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:1256:18: error: 'playback' is unavailable in macOS
1254 |         do {
1255 |             try audioSession.setCategory(
1256 |                 .playback,
     |                  `- error: 'playback' is unavailable in macOS
1257 |                 mode: .default,
1258 |                 options: [.mixWithOthers]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1257:24: error: 'default' is unavailable in macOS
1255 |             try audioSession.setCategory(
1256 |                 .playback,
1257 |                 mode: .default,
     |                        `- error: 'default' is unavailable in macOS
1258 |                 options: [.mixWithOthers]
1259 |             )
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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:1266:31: error: cannot find 'RTCAudioSession' in scope
1264 |
1265 |     internal func setupCorrectAudioConfiguration() {
1266 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1269:29: error: cannot find 'RTCAudioSessionConfiguration' in scope
1267 |         rtcAudioSession.lockForConfiguration()
1268 |
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
     |                             `- error: cannot find 'RTCAudioSessionConfiguration' in scope
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1271:14: error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1269 |         let configuration = RTCAudioSessionConfiguration.webRTC()
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
     |              `- error: reference to member 'allowBluetoothA2DP' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1272:14: error: reference to member 'duckOthers' cannot be resolved without a contextual type
1270 |         configuration.categoryOptions = [
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
     |              `- error: reference to member 'duckOthers' cannot be resolved without a contextual type
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1273:14: error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1271 |             .allowBluetoothA2DP,
1272 |             .duckOthers,
1273 |             .allowBluetooth,
     |              `- error: reference to member 'allowBluetooth' cannot be resolved without a contextual type
1274 |             .mixWithOthers
1275 |         ]
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1274:14: error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1272 |             .duckOthers,
1273 |             .allowBluetooth,
1274 |             .mixWithOthers
     |              `- error: reference to member 'mixWithOthers' cannot be resolved without a contextual type
1275 |         ]
1276 |
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:1287:31: error: cannot find 'RTCAudioSession' in scope
1285 |
1286 |     internal func setAudioSessionActive(_ active: Bool) {
1287 |         let rtcAudioSession = RTCAudioSession.sharedInstance()
     |                               `- error: cannot find 'RTCAudioSession' in scope
1288 |
1289 |         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 [#no-usage]
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 [#no-usage]
105 |
106 |         if let logString = String(data: logData, encoding: .utf8) {
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/stasel/WebRTC.git
[7/697] Fetching webrtc
[343/5759] Fetching webrtc, starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (1.14s)
Fetched https://github.com/stasel/WebRTC.git from cache (1.14s)
Computing version for https://github.com/stasel/WebRTC.git
Computed https://github.com/stasel/WebRTC.git at 124.0.0 (1.67s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.50s)
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at 124.0.0
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/124.0.0/WebRTC-M124.xcframework.zip
[16375/39449570] Downloading https://github.com/stasel/WebRTC/releases/download/124.0.0/WebRTC-M124.xcframework.zip
Downloaded https://github.com/stasel/WebRTC/releases/download/124.0.0/WebRTC-M124.xcframework.zip (1.97s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/TelnyxRTC/Info.plist
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
BUILD FAILURE 6.2 macosSpm