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 0.1.37 (016bc2), with Swift 5.8 for macOS (SPM) on 29 Oct 2024 19:23:28 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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: 0.1.37
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/team-telnyx/telnyx-webrtc-ios
 * tag               0.1.37     -> FETCH_HEAD
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 0.1.37
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/team-telnyx/telnyx-webrtc-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/89] Copying PrivacyInfo.xcprivacy
[3/89] Copying WebRTC.framework
[4/109] Compiling BSGFileLocations.m
[5/109] Compiling BugsnagThread.m
[6/109] Compiling BugsnagSession.m
[7/109] Compiling BSGPersistentDeviceID.m
[8/109] Compiling BugsnagStacktrace.m
[9/109] Compiling Bugsnag resource_bundle_accessor.m
[10/109] Compiling BugsnagNotifier.m
[11/109] Compiling BugsnagStackframe.m
[12/109] Compiling BSGStorageMigratorV0V1.m
[13/109] Compiling BugsnagUser.m
[14/109] Compiling BugsnagHandledState.m
[15/109] Compiling BugsnagCorrelation.m
[16/109] Compiling BugsnagError.m
[17/109] Compiling BugsnagBreadcrumb.m
[18/109] Compiling BugsnagAppWithState.m
[19/109] Compiling BugsnagDevice.m
[20/109] Compiling BugsnagDeviceWithState.m
[21/109] Compiling BSG_KSMach_x86_64.c
[22/109] Compiling BugsnagEvent.m
[23/109] Compiling BugsnagApp.m
[24/109] Compiling BugsnagMetadata.m
[25/109] Compiling BSG_KSMach_x86_32.c
[26/109] Compiling BSG_KSMach_Arm.c
[27/109] Compiling BSG_KSLogger.c
[28/109] Compiling BSG_Symbolicate.c
[29/109] Compiling BSG_KSMach_Arm64.c
[30/109] Compiling BSG_KSSysCtl.c
[31/109] Compiling BSG_KSFileUtils.c
[32/109] Compiling BSG_KSSignalInfo.c
[33/109] Compiling BSG_KSCrashStringConversion.c
[34/109] Compiling BSG_KSBacktrace.c
[35/109] Compiling BSG_KSString.c
[36/109] Compiling BSG_KSJSONCodec.c
[37/109] Compiling BSG_KSFile.c
[38/109] Compiling BSG_KSCrashSentry_NSException.m
[39/109] Compiling BSG_KSMach.c
[40/109] Compiling BSG_KSCrashNames.c
[41/109] Compiling BSG_KSCrashSentry_Signal.c
[42/109] Compiling BSG_KSCrashReport.c
[43/109] Compiling BSG_KSMachHeaders.c
[44/109] Compiling BSG_KSCrashState.m
[45/109] Compiling BSG_KSSystemInfo.m
[46/109] Compiling BSG_KSCrashSentry.c
[47/109] Compiling BSG_KSCrashSentry_MachException.c
[48/109] Compiling BSG_KSCrashC.c
[49/109] Compiling BSG_KSCrashIdentifier.m
[50/109] Compiling BSG_KSCrashDoctor.m
[51/109] Compiling MRCCanary.m
[52/109] Compiling BugsnagCocoaPerformanceFromBugsnagCocoa.m
[53/109] Compiling BugsnagCollections.m
[54/109] Compiling BSGUtils.m
[55/109] Compiling BSG_RFC3339DateTool.m
[56/109] Compiling BSGSerialization.m
[57/109] Compiling BSGTelemetry.m
[58/109] Compiling BSGJSONSerialization.m
[59/109] Compiling BSGGlobals.m
[60/109] Compiling BSGFilesystem.m
[61/109] Compiling BSGInternalErrorReporter.m
[62/109] Compiling BSGFeatureFlagStore.m
[63/109] Compiling BSGAppHangDetector.m
[64/109] Compiling BugsnagApiClient.m
[66/109] Compiling Starscream Compression.swift
[67/109] Compiling Starscream WSCompression.swift
[68/109] Compiling Starscream Data+Extensions.swift
[68/111] Compiling BSGSessionUploader.m
[70/111] Compiling Starscream Engine.swift
[71/111] Compiling Starscream NativeEngine.swift
[72/111] Compiling Starscream FoundationHTTPServerHandler.swift
[73/111] Compiling Starscream FrameCollector.swift
[74/111] Compiling Starscream WebSocketServer.swift
[75/111] Compiling Starscream WebSocket.swift
[76/111] Compiling Starscream StringHTTPHandler.swift
[77/111] Compiling Starscream FoundationSecurity.swift
[78/111] Emitting module Starscream
[79/111] Compiling Starscream FoundationTransport.swift
[80/111] Compiling Starscream TCPTransport.swift
[81/111] Compiling Starscream Security.swift
[82/111] Compiling Starscream Server.swift
[83/111] Compiling Starscream WSEngine.swift
[84/111] Compiling Starscream FoundationHTTPHandler.swift
[85/111] Compiling Starscream Framer.swift
[86/111] Compiling Starscream HTTPHandler.swift
[86/111] Compiling BSGEventUploader.m
[87/111] Compiling BSGEventUploadObjectOperation.m
[88/111] Compiling BSGEventUploadFileOperation.m
[89/111] Compiling BSGEventUploadKSCrashReportOperation.m
[90/111] Compiling BSGEventUploadOperation.m
[91/111] Compiling BugsnagErrorTypes.m
[93/111] Compiling Starscream Transport.swift
[94/111] Compiling Starscream resource_bundle_accessor.swift
[94/111] Compiling BugsnagEndpointConfiguration.m
[95/111] Compiling BSG_KSCrashSentry_CPPException.mm
[96/111] Compiling BSGConfigurationBuilder.m
[97/111] Compiling BugsnagConfiguration.m
[98/111] Compiling BSGConnectivity.m
[99/111] Compiling Bugsnag BugsnagLastRunInfo.m
[100/111] Compiling Bugsnag BugsnagFeatureFlag.m
[101/111] Compiling Bugsnag Bugsnag.m
[102/111] Compiling BugsnagBreadcrumbs.m
[103/111] Compiling BSGNetworkBreadcrumb.m
[104/111] Compiling Bugsnag BSGCrashSentry.m
[105/111] Compiling BSG_KSCrash.m
[106/111] Compiling BSGRunContext.m
[107/111] Compiling Bugsnag BugsnagSystemState.m
[108/111] Compiling BSGNotificationBreadcrumbs.m
[109/111] Compiling Bugsnag BugsnagSessionTracker.m
[110/111] Compiling BugsnagClient.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 TxConfig.swift
[114/143] Compiling TelnyxRTC TxError.swift
[115/143] Compiling TelnyxRTC TxPushConfig.swift
[116/143] Compiling TelnyxRTC AnswerMessage.swift
[117/143] Compiling TelnyxRTC AttachCallMessage.swift
[118/143] Compiling TelnyxRTC ByeMessage.swift
[119/143] Compiling TelnyxRTC Method.swift
[120/143] Compiling TelnyxRTC ModifyMessage.swift
[121/143] Compiling TelnyxRTC StatsMessage.swift
[122/143] Compiling TelnyxRTC DisablePushMessage.swift
[123/143] Compiling TelnyxRTC GatewayMessage.swift
[124/143] Compiling TelnyxRTC InfoMessage.swift
[125/143] Compiling TelnyxRTC InternalConfig.swift
[126/143] Compiling TelnyxRTC Params.swift
[127/143] Compiling TelnyxRTC TxCallInfo.swift
[128/143] Compiling TelnyxRTC TxCallOptions.swift
[129/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()
                                   ^~~~~~~~~~~~~~~
[130/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()
                                   ^~~~~~~~~~~~~~~
[131/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()
                                   ^~~~~~~~~~~~~~~
[132/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)
        ~~~~^~~~~~~~~
        _
[133/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)
        ~~~~^~~~~~~~~
        _
[134/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)
        ~~~~^~~~~~~~~
        _
[135/143] Compiling TelnyxRTC InviteMessage.swift
[136/143] Compiling TelnyxRTC LoginMessage.swift
[137/143] Compiling TelnyxRTC Message.swift
[138/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:
        ^
[139/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:
        ^
[140/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:
        ^
[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
            ~~~~^~~~~~~~~~~~~
            _
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/stasel/WebRTC.git
Fetching https://github.com/bugsnag/bugsnag-cocoa.git
[1/605] Fetching webrtc
[250/5507] Fetching webrtc, starscream
[5508/50593] Fetching webrtc, starscream, bugsnag-cocoa
Fetched https://github.com/daltoniam/Starscream.git (5.41s)
Fetched https://github.com/bugsnag/bugsnag-cocoa.git (5.42s)
Fetched https://github.com/stasel/WebRTC.git (5.42s)
Computing version for https://github.com/stasel/WebRTC.git
Computed https://github.com/stasel/WebRTC.git at 124.0.0 (0.83s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.80s)
Computing version for https://github.com/bugsnag/bugsnag-cocoa.git
Computed https://github.com/bugsnag/bugsnag-cocoa.git at 6.30.1 (0.82s)
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
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at 124.0.0
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/124.0.0/WebRTC-M124.xcframework.zip
[8259/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.96s)
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.8 macosSpm