xamarin-bindings-for-twilio / TwilioVoiceXamarinIOS

MIT License
3 stars 2 forks source link

Sample project fails to build with Nuget package #5

Closed pogarek closed 6 months ago

pogarek commented 2 years ago

I'm trying to build Sample project in VS2019. I've removed Twilio.Voice.iOS and I've added a nuget reference to version 6.3.0 of https://www.nuget.org/packages/Twilio.Voice.iOS.XamarinBinding

When building I'm getting the following errors

MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSessionActivated. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioSessionActivated. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioDeviceWriteCaptureData. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioDeviceWriteCaptureData. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioDeviceFormatChanged. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioDeviceFormatChanged. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioDeviceReadRenderData. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioDeviceReadRenderData. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _kTVOErrorDomain. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.kTVOErrorDomain. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate48000. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate48000. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate44100. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate44100. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate16000. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate16000. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TwilioVoiceSDK. The symbol '_OBJC_CLASS_$_TwilioVoiceSDK' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOStatsReport. The symbol '_OBJC_CLASS_$_TVOStatsReport' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate8000. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate8000. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVORemoteTrackStats. The symbol '_OBJC_CLASS_$_TVORemoteTrackStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioDeviceExecuteWorkerBlock. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioDeviceExecuteWorkerBlock. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOOpusCodec. The symbol '_OBJC_CLASS_$_TVOOpusCodec' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOLocalTrackStats. The symbol '_OBJC_CLASS_$_TVOLocalTrackStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOIceOptionsBuilder. The symbol '_OBJC_CLASS_$_TVOIceOptionsBuilder' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCallInvite. The symbol '_OBJC_CLASS_$_TVOCallInvite' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOIceOptions. The symbol '_OBJC_CLASS_$_TVOIceOptions' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOIceCandidateStats. The symbol '_OBJC_CLASS_$_TVOIceCandidateStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOIceCandidatePairStats. The symbol '_OBJC_CLASS_$_TVOIceCandidatePairStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOConnectOptionsBuilder. The symbol '_OBJC_CLASS_$_TVOConnectOptionsBuilder' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOAudioCodec. The symbol '_OBJC_CLASS_$_TVOAudioCodec' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVODefaultAudioDevice. The symbol '_OBJC_CLASS_$_TVODefaultAudioDevice' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOAcceptOptions. The symbol '_OBJC_CLASS_$_TVOAcceptOptions' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioChannelsMono. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioChannelsMono. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCancelledCallInvite. The symbol '_OBJC_CLASS_$_TVOCancelledCallInvite' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate24000. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate24000. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVORemoteAudioTrackStats. The symbol '_OBJC_CLASS_$_TVORemoteAudioTrackStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCallOptions. The symbol '_OBJC_CLASS_$_TVOCallOptions' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCallerInfo. The symbol '_OBJC_CLASS_$_TVOCallerInfo' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOConnectOptions. The symbol '_OBJC_CLASS_$_TVOConnectOptions' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCall. The symbol '_OBJC_CLASS_$_TVOCall' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSampleRate32000. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioSampleRate32000. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOPcmuCodec. The symbol '_OBJC_CLASS_$_TVOPcmuCodec' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioSessionDeactivated. This symbol was referenced by the managed member Twilio.Voice.iOS.CFunctions.TVOAudioSessionDeactivated. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOLocalAudioTrackStats. The symbol '_OBJC_CLASS_$_TVOLocalAudioTrackStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOBaseTrackStats. The symbol '_OBJC_CLASS_$_TVOBaseTrackStats' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOIceServer. The symbol '_OBJC_CLASS_$_TVOIceServer' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _TVOAudioChannelsStereo. This symbol was referenced by the managed member Twilio.Voice.iOS.Constants.TVOAudioChannelsStereo. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOAudioFormat. The symbol '_OBJC_CLASS_$_TVOAudioFormat' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOAcceptOptionsBuilder. The symbol '_OBJC_CLASS_$_TVOAcceptOptionsBuilder' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TVOCallOptionsBuilder. The symbol '_OBJC_CLASS_$_TVOCallOptionsBuilder' could not be found in any of the libraries or frameworks linked with your application.

This can be be related to #4 .

Any ideas how to have nuget package working ?

bmarrelli05 commented 2 years ago

Hi, I have the same issue were you able to resolve it?

KwasiVT commented 2 years ago

Bump

KwasiVT commented 1 year ago

Bump

hafilpallippadi commented 11 months ago

Same issue when I updated the package from 6.0.2 to 6.3.0, any update on this? @pogarek @bmarrelli05

KwasiVT commented 6 months ago

Bump

jtorvald commented 6 months ago

Not sure if we have someone willing to maintain Twilio voice. It was mainly used by the initial maintainer in combination with Video and Twilio video is end of life by December 5th of this year.