The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build telnyx-webrtc-ios, reference main (016bc2), with Swift 5.9 for macOS (SPM) on 29 Oct 2024 19:25:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/team-telnyx/telnyx-webrtc-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/team-telnyx/telnyx-webrtc-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 016bc2e Merge pull request #133 from team-telnyx/IS/Fix/AttachActiveCall
Cloned https://github.com/team-telnyx/telnyx-webrtc-ios.git
Revision (git rev-parse @):
016bc2ebb8f7640027c1a20af6539db60910c20d
SUCCESS checkout https://github.com/team-telnyx/telnyx-webrtc-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/team-telnyx/telnyx-webrtc-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/89] Copying PrivacyInfo.xcprivacy
[3/89] Copying WebRTC.framework
[4/109] Compiling BugsnagThread.m
[5/109] Compiling BugsnagStacktrace.m
[6/109] Compiling Bugsnag resource_bundle_accessor.m
[7/109] Compiling BugsnagNotifier.m
[8/109] Compiling BSGFileLocations.m
[9/109] Compiling BugsnagHandledState.m
[10/109] Compiling BSGPersistentDeviceID.m
[11/109] Compiling BugsnagStackframe.m
[12/109] Compiling BugsnagUser.m
[14/109] Emitting module Starscream
[14/111] Compiling BugsnagError.m
[15/111] Compiling BugsnagDeviceWithState.m
[16/111] Compiling BSGStorageMigratorV0V1.m
[17/111] Compiling BugsnagEvent.m
[18/111] Compiling BugsnagCorrelation.m
[19/111] Compiling BugsnagSession.m
[20/111] Compiling BugsnagDevice.m
[21/111] Compiling BugsnagBreadcrumb.m
[22/111] Compiling BugsnagMetadata.m
[23/111] Compiling BSG_KSMach_x86_64.c
[24/111] Compiling BSG_KSMach_x86_32.c
[25/111] Compiling BugsnagAppWithState.m
[26/111] Compiling BugsnagApp.m
[27/111] Compiling BSG_KSMach_Arm.c
[28/111] Compiling BSG_Symbolicate.c
[29/111] Compiling BSG_KSSignalInfo.c
[30/111] Compiling BSG_KSLogger.c
[31/111] Compiling BSG_KSMach_Arm64.c
[32/111] Compiling BSG_KSFileUtils.c
[33/111] Compiling BSG_KSSysCtl.c
[34/111] Compiling BSG_KSCrashStringConversion.c
[35/111] Compiling BSG_KSBacktrace.c
[36/111] Compiling BSG_KSString.c
[37/111] Compiling BSG_KSJSONCodec.c
[38/111] Compiling BSG_KSFile.c
[39/111] Compiling BSG_KSCrashSentry_NSException.m
[40/111] Compiling BSG_KSSystemInfo.m
[41/111] Compiling BSG_KSMach.c
[42/111] Compiling BSG_KSCrashSentry_MachException.c
[43/111] Compiling BSG_KSCrashState.m
[44/111] Compiling BSG_KSCrashSentry_Signal.c
[45/111] Compiling BSG_KSCrashNames.c
[46/111] Compiling BSG_KSCrashReport.c
[47/111] Compiling BSG_KSMachHeaders.c
[48/111] Compiling BSG_KSCrashSentry.c
[49/111] Compiling BSG_KSCrashC.c
[50/111] Compiling BSG_KSCrashIdentifier.m
[51/111] Compiling BSG_KSCrashDoctor.m
[52/111] Compiling MRCCanary.m
[53/111] Compiling BugsnagCocoaPerformanceFromBugsnagCocoa.m
[54/111] Compiling BugsnagCollections.m
[55/111] Compiling BSG_RFC3339DateTool.m
[56/111] Compiling BSGUtils.m
[57/111] Compiling BSGSerialization.m
[58/111] Compiling BSGTelemetry.m
[59/111] Compiling BSGJSONSerialization.m
[60/111] Compiling BSGGlobals.m
[61/111] Compiling BSGFilesystem.m
[62/111] Compiling BSGInternalErrorReporter.m
[63/111] Compiling BSGFeatureFlagStore.m
[64/111] Compiling BugsnagApiClient.m
[65/111] Compiling BSGAppHangDetector.m
[66/111] Compiling BSGSessionUploader.m
[67/111] Compiling BSGEventUploader.m
[68/111] Compiling BSGEventUploadOperation.m
[69/111] Compiling BSGEventUploadObjectOperation.m
[70/111] Compiling BSGEventUploadFileOperation.m
[71/111] Compiling BugsnagErrorTypes.m
[72/111] Compiling BugsnagEndpointConfiguration.m
[72/111] Compiling BSGEventUploadKSCrashReportOperation.m
[74/111] Compiling BSGConfigurationBuilder.m
[75/111] Compiling BSGConnectivity.m
[76/111] Compiling BugsnagConfiguration.m
[77/111] Compiling Bugsnag BugsnagLastRunInfo.m
[78/111] Compiling Bugsnag BugsnagFeatureFlag.m
[79/111] Compiling Bugsnag Bugsnag.m
[80/111] Compiling BSG_KSCrashSentry_CPPException.mm
[81/111] Compiling BugsnagBreadcrumbs.m
[82/111] Compiling BSGNetworkBreadcrumb.m
[83/111] Compiling Bugsnag BSGCrashSentry.m
[85/111] Compiling Starscream Transport.swift
[86/111] Compiling Starscream resource_bundle_accessor.swift
[87/111] Compiling Starscream WSEngine.swift
[88/111] Compiling Starscream FoundationHTTPHandler.swift
[89/111] Compiling Starscream Compression.swift
[90/111] Compiling Starscream WSCompression.swift
[91/111] Compiling Starscream Data+Extensions.swift
[92/111] Compiling Starscream StringHTTPHandler.swift
[93/111] Compiling Starscream FoundationSecurity.swift
[94/111] Compiling Starscream Security.swift
[95/111] Compiling Starscream Server.swift
[96/111] Compiling Starscream FoundationTransport.swift
[97/111] Compiling Starscream TCPTransport.swift
[98/111] Compiling Starscream Engine.swift
[99/111] Compiling Starscream NativeEngine.swift
[100/111] Compiling Starscream FoundationHTTPServerHandler.swift
[101/111] Compiling Starscream FrameCollector.swift
[102/111] Compiling Starscream Framer.swift
[103/111] Compiling Starscream HTTPHandler.swift
[104/111] Compiling Starscream WebSocketServer.swift
[105/111] Compiling Starscream WebSocket.swift
[105/111] Compiling BSGRunContext.m
[106/111] Compiling Bugsnag BugsnagSessionTracker.m
[107/111] Compiling BSG_KSCrash.m
[108/111] Compiling BugsnagClient.m
[109/111] Compiling Bugsnag BugsnagSystemState.m
[110/111] Compiling BSGNotificationBreadcrumbs.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/140] Emitting module TelnyxRTC
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:136:34: error: 'CXAnswerCallAction' is unavailable in macOS
    private var answerCallAction:CXAnswerCallAction? = nil
                                 ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:137:31: error: 'CXEndCallAction' is unavailable in macOS
    private var endCallAction:CXEndCallAction? = nil
                              ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:177:50: error: 'AVAudioSession' is unavailable in macOS
    public func enableAudioSession(audioSession: AVAudioSession){
                                                 ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:182:51: error: 'AVAudioSession' is unavailable in macOS
    public func disableAudioSession(audioSession: AVAudioSession){
                                                  ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:24: error: 'AVAudioSession' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                       ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:39: error: 'sharedInstance()' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                      ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:56: error: 'currentRoute' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                                       ^~~~~~~~~~~~
AVFAudio.AVAudioSession:5:14: note: 'currentRoute' has been explicitly marked unavailable here
    open var currentRoute: AVAudioSessionRouteDescription { get }
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:276:48: error: 'CXAnswerCallAction' is unavailable in macOS
    public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:]) {
                                               ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:297:46: error: 'CXEndCallAction' is unavailable in macOS
    public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
                                             ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:36:36: error: cannot find 'RTCAudioSession' in scope
    private let rtcAudioSession =  RTCAudioSession.sharedInstance()
                                   ^~~~~~~~~~~~~~~
[113/143] Compiling TelnyxRTC InviteMessage.swift
[114/143] Compiling TelnyxRTC LoginMessage.swift
[115/143] Compiling TelnyxRTC Message.swift
[116/143] Compiling TelnyxRTC TxClientSocketDelegate.swift
/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
        let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
        ~~~~^~~~~~~~~
        _
[117/143] Compiling TelnyxRTC FileLoger.swift
/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
        let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
        ~~~~^~~~~~~~~
        _
[118/143] Compiling TelnyxRTC Logger.swift
/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
        let timestamp = DateFormatter.localizedString(from: Date(), dateStyle: .medium, timeStyle: .medium)
        ~~~~^~~~~~~~~
        _
[119/143] Compiling TelnyxRTC TxConfig.swift
[120/143] Compiling TelnyxRTC TxError.swift
[121/143] Compiling TelnyxRTC TxPushConfig.swift
[122/143] Compiling TelnyxRTC AnswerMessage.swift
[123/143] Compiling TelnyxRTC AttachCallMessage.swift
[124/143] Compiling TelnyxRTC ByeMessage.swift
[125/143] Compiling TelnyxRTC Method.swift
[126/143] Compiling TelnyxRTC ModifyMessage.swift
[127/143] Compiling TelnyxRTC StatsMessage.swift
[128/143] Compiling TelnyxRTC TxPushIPConfig.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:106:9: warning: default will never be executed
        @unknown default:
        ^
[129/143] Compiling TelnyxRTC TxServerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:106:9: warning: default will never be executed
        @unknown default:
        ^
[130/143] Compiling TelnyxRTC Socket.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/Services/Socket.swift:106:9: warning: default will never be executed
        @unknown default:
        ^
[131/143] Compiling TelnyxRTC Call.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:49: error: 'setCategory' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                ^~~~~~~~~~~
AVFAudio.AVAudioSession:8:15: note: 'setCategory' has been explicitly marked unavailable here
    open func setCategory(_ category: AVAudioSession.Category) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:61: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                            ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:85: error: 'ambient' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                                                    ^~~~~~~
AVFAudio.AVAudioSession.Category:3:23: note: 'ambient' has been explicitly marked unavailable here
    public static let ambient: AVAudioSession.Category
                      ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:49: error: 'setActive' is unavailable in Swift
            try AVAudioSession.sharedInstance().setActive(true)
                                                ^~~~~~~~~
AVFAudio.AVAudioSession:4:15: note: 'setActive' has been explicitly marked unavailable here
    open func setActive(_ active: Bool) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:36:36: error: cannot find 'RTCAudioSession' in scope
    private let rtcAudioSession =  RTCAudioSession.sharedInstance()
                                   ^~~~~~~~~~~~~~~
[132/143] Compiling TelnyxRTC Peer.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:49: error: 'setCategory' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                ^~~~~~~~~~~
AVFAudio.AVAudioSession:8:15: note: 'setCategory' has been explicitly marked unavailable here
    open func setCategory(_ category: AVAudioSession.Category) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:61: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                            ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:85: error: 'ambient' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                                                    ^~~~~~~
AVFAudio.AVAudioSession.Category:3:23: note: 'ambient' has been explicitly marked unavailable here
    public static let ambient: AVAudioSession.Category
                      ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:49: error: 'setActive' is unavailable in Swift
            try AVAudioSession.sharedInstance().setActive(true)
                                                ^~~~~~~~~
AVFAudio.AVAudioSession:4:15: note: 'setActive' has been explicitly marked unavailable here
    open func setActive(_ active: Bool) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:36:36: error: cannot find 'RTCAudioSession' in scope
    private let rtcAudioSession =  RTCAudioSession.sharedInstance()
                                   ^~~~~~~~~~~~~~~
[133/143] Compiling TelnyxRTC resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:49: error: 'setCategory' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                ^~~~~~~~~~~
AVFAudio.AVAudioSession:8:15: note: 'setCategory' has been explicitly marked unavailable here
    open func setCategory(_ category: AVAudioSession.Category) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:61: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                            ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:720:85: error: 'ambient' is unavailable in macOS
            try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
                                                                                    ^~~~~~~
AVFAudio.AVAudioSession.Category:3:23: note: 'ambient' has been explicitly marked unavailable here
    public static let ambient: AVAudioSession.Category
                      ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:17: error: 'AVAudioSession' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:32: error: 'sharedInstance()' is unavailable in macOS
            try AVAudioSession.sharedInstance().setActive(true)
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Call.swift:721:49: error: 'setActive' is unavailable in Swift
            try AVAudioSession.sharedInstance().setActive(true)
                                                ^~~~~~~~~
AVFAudio.AVAudioSession:4:15: note: 'setActive' has been explicitly marked unavailable here
    open func setActive(_ active: Bool) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/WebRTC/Peer.swift:36:36: error: cannot find 'RTCAudioSession' in scope
    private let rtcAudioSession =  RTCAudioSession.sharedInstance()
                                   ^~~~~~~~~~~~~~~
[134/143] Compiling TelnyxRTC InternalConfig.swift
[135/143] Compiling TelnyxRTC Params.swift
[136/143] Compiling TelnyxRTC TxCallInfo.swift
[137/143] Compiling TelnyxRTC TxCallOptions.swift
[138/143] Compiling TelnyxRTC DisablePushMessage.swift
[139/143] Compiling TelnyxRTC GatewayMessage.swift
[140/143] Compiling TelnyxRTC InfoMessage.swift
[141/143] Compiling TelnyxRTC SocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:136:34: error: 'CXAnswerCallAction' is unavailable in macOS
    private var answerCallAction:CXAnswerCallAction? = nil
                                 ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:137:31: error: 'CXEndCallAction' is unavailable in macOS
    private var endCallAction:CXEndCallAction? = nil
                              ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:177:50: error: 'AVAudioSession' is unavailable in macOS
    public func enableAudioSession(audioSession: AVAudioSession){
                                                 ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:182:51: error: 'AVAudioSession' is unavailable in macOS
    public func disableAudioSession(audioSession: AVAudioSession){
                                                  ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:24: error: 'AVAudioSession' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                       ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:39: error: 'sharedInstance()' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                      ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:56: error: 'currentRoute' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                                       ^~~~~~~~~~~~
AVFAudio.AVAudioSession:5:14: note: 'currentRoute' has been explicitly marked unavailable here
    open var currentRoute: AVAudioSessionRouteDescription { get }
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:276:48: error: 'CXAnswerCallAction' is unavailable in macOS
    public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:]) {
                                               ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:297:46: error: 'CXEndCallAction' is unavailable in macOS
    public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
                                             ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:164:20: error: cannot find 'RTCAudioSession' in scope
            return RTCAudioSession.sharedInstance().isAudioEnabled
                   ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:168:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:172:13: error: cannot find 'RTCAudioSession' in scope
            RTCAudioSession.sharedInstance().isAudioEnabled = newValue
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:178:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:179:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = true
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:183:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:184:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = false
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:630:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.none)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:55: error: 'speaker' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                                                      ^~~~~~~
AVFAudio.AVAudioSession:28:14: note: 'speaker' has been explicitly marked unavailable here
        case speaker
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:754:13: warning: initialization of immutable value 'socketError' was never used; consider replacing with assignment to '_' or removing it
        let socketError = TxError.socketConnectionFailed(reason: .socketCancelled(nativeError: error))
        ~~~~^~~~~~~~~~~
        _
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:785:17: warning: initialization of immutable value 'noActiveCalls' was never used; consider replacing with assignment to '_' or removing it
            let noActiveCalls = self.calls.filter { $0.value.callState == .ACTIVE || $0.value.callState == .HELD }.isEmpty
            ~~~~^~~~~~~~~~~~~
            _
[142/143] Compiling TelnyxRTC TxClient.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:136:34: error: 'CXAnswerCallAction' is unavailable in macOS
    private var answerCallAction:CXAnswerCallAction? = nil
                                 ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:137:31: error: 'CXEndCallAction' is unavailable in macOS
    private var endCallAction:CXEndCallAction? = nil
                              ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:177:50: error: 'AVAudioSession' is unavailable in macOS
    public func enableAudioSession(audioSession: AVAudioSession){
                                                 ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:182:51: error: 'AVAudioSession' is unavailable in macOS
    public func disableAudioSession(audioSession: AVAudioSession){
                                                  ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:24: error: 'AVAudioSession' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                       ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:39: error: 'sharedInstance()' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                      ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:56: error: 'currentRoute' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                                       ^~~~~~~~~~~~
AVFAudio.AVAudioSession:5:14: note: 'currentRoute' has been explicitly marked unavailable here
    open var currentRoute: AVAudioSessionRouteDescription { get }
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:276:48: error: 'CXAnswerCallAction' is unavailable in macOS
    public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:]) {
                                               ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:297:46: error: 'CXEndCallAction' is unavailable in macOS
    public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
                                             ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:164:20: error: cannot find 'RTCAudioSession' in scope
            return RTCAudioSession.sharedInstance().isAudioEnabled
                   ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:168:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:172:13: error: cannot find 'RTCAudioSession' in scope
            RTCAudioSession.sharedInstance().isAudioEnabled = newValue
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:178:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:179:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = true
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:183:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:184:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = false
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:630:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.none)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:55: error: 'speaker' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                                                      ^~~~~~~
AVFAudio.AVAudioSession:28:14: note: 'speaker' has been explicitly marked unavailable here
        case speaker
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:754:13: warning: initialization of immutable value 'socketError' was never used; consider replacing with assignment to '_' or removing it
        let socketError = TxError.socketConnectionFailed(reason: .socketCancelled(nativeError: error))
        ~~~~^~~~~~~~~~~
        _
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:785:17: warning: initialization of immutable value 'noActiveCalls' was never used; consider replacing with assignment to '_' or removing it
            let noActiveCalls = self.calls.filter { $0.value.callState == .ACTIVE || $0.value.callState == .HELD }.isEmpty
            ~~~~^~~~~~~~~~~~~
            _
[143/143] Compiling TelnyxRTC TxClientDelegate.swift
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:136:34: error: 'CXAnswerCallAction' is unavailable in macOS
    private var answerCallAction:CXAnswerCallAction? = nil
                                 ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:137:31: error: 'CXEndCallAction' is unavailable in macOS
    private var endCallAction:CXEndCallAction? = nil
                              ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:177:50: error: 'AVAudioSession' is unavailable in macOS
    public func enableAudioSession(audioSession: AVAudioSession){
                                                 ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:182:51: error: 'AVAudioSession' is unavailable in macOS
    public func disableAudioSession(audioSession: AVAudioSession){
                                                  ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:24: error: 'AVAudioSession' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                       ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:39: error: 'sharedInstance()' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                      ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:187:56: error: 'currentRoute' is unavailable in macOS
    let currentRoute = AVAudioSession.sharedInstance().currentRoute
                                                       ^~~~~~~~~~~~
AVFAudio.AVAudioSession:5:14: note: 'currentRoute' has been explicitly marked unavailable here
    open var currentRoute: AVAudioSessionRouteDescription { get }
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:276:48: error: 'CXAnswerCallAction' is unavailable in macOS
    public func answerFromCallkit(answerAction:CXAnswerCallAction,customHeaders:[String:String] = [:]) {
                                               ^~~~~~~~~~~~~~~~~~
CallKit.CXAnswerCallAction:2:12: note: 'CXAnswerCallAction' has been explicitly marked unavailable here
open class CXAnswerCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:297:46: error: 'CXEndCallAction' is unavailable in macOS
    public func endCallFromCallkit(endAction:CXEndCallAction,callId:UUID? = nil) {
                                             ^~~~~~~~~~~~~~~
CallKit.CXEndCallAction:2:12: note: 'CXEndCallAction' has been explicitly marked unavailable here
open class CXEndCallAction : CXCallAction {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:164:20: error: cannot find 'RTCAudioSession' in scope
            return RTCAudioSession.sharedInstance().isAudioEnabled
                   ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:168:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidActivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:170:17: error: cannot find 'RTCAudioSession' in scope
                RTCAudioSession.sharedInstance().audioSessionDidDeactivate(AVAudioSession.sharedInstance())
                ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:172:13: error: cannot find 'RTCAudioSession' in scope
            RTCAudioSession.sharedInstance().isAudioEnabled = newValue
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:178:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:179:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = true
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:183:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().audioSessionDidActivate(audioSession)
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:184:9: error: cannot find 'RTCAudioSession' in scope
        RTCAudioSession.sharedInstance().isAudioEnabled = false
        ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:629:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:630:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.none)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:32: error: 'AVAudioSession' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                               ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:640:47: error: 'sharedInstance()' is unavailable in macOS
            let audioSession = AVAudioSession.sharedInstance()
                                              ^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
    open class func sharedInstance() -> AVAudioSession
                    ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:30: error: 'overrideOutputAudioPort' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                             ^~~~~~~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:45:15: note: 'overrideOutputAudioPort' has been explicitly marked unavailable here
    open func overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throws
              ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:641:55: error: 'speaker' is unavailable in macOS
            try audioSession.overrideOutputAudioPort(.speaker)
                                                      ^~~~~~~
AVFAudio.AVAudioSession:28:14: note: 'speaker' has been explicitly marked unavailable here
        case speaker
             ^
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:754:13: warning: initialization of immutable value 'socketError' was never used; consider replacing with assignment to '_' or removing it
        let socketError = TxError.socketConnectionFailed(reason: .socketCancelled(nativeError: error))
        ~~~~^~~~~~~~~~~
        _
/Users/admin/builder/spi-builder-workspace/TelnyxRTC/Telnyx/TxClient.swift:785:17: warning: initialization of immutable value 'noActiveCalls' was never used; consider replacing with assignment to '_' or removing it
            let noActiveCalls = self.calls.filter { $0.value.callState == .ACTIVE || $0.value.callState == .HELD }.isEmpty
            ~~~~^~~~~~~~~~~~~
            _
error: fatalError
Fetching https://github.com/stasel/WebRTC.git
Fetching https://github.com/bugsnag/bugsnag-cocoa.git
Fetching https://github.com/daltoniam/Starscream.git
[1/605] Fetching webrtc
[219/5507] Fetching webrtc, starscream
[5496/50593] Fetching webrtc, starscream, bugsnag-cocoa
Fetched https://github.com/stasel/WebRTC.git (4.15s)
Fetched https://github.com/bugsnag/bugsnag-cocoa.git (4.15s)
Fetched https://github.com/daltoniam/Starscream.git (4.15s)
Computing version for https://github.com/stasel/WebRTC.git
Computed https://github.com/stasel/WebRTC.git at 124.0.0 (0.55s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.52s)
Computing version for https://github.com/bugsnag/bugsnag-cocoa.git
Computed https://github.com/bugsnag/bugsnag-cocoa.git at 6.30.1 (0.53s)
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
Creating working copy for https://github.com/bugsnag/bugsnag-cocoa.git
Working copy of https://github.com/bugsnag/bugsnag-cocoa.git resolved at 6.30.1
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/124.0.0/WebRTC-M124.xcframework.zip
[32750/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 (2.77s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/TelnyxRTC/Info.plist
BUILD FAILURE 5.9 macosSpm