react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
923 stars 445 forks source link

Undefined Symbols when Running iOS App with react-native-callkeep #731

Open andohak11 opened 1 year ago

andohak11 commented 1 year ago

Bug report

Description

I am encountering the following errors when attempting to run my React Native app with react-native-callkeep using Xcode

Steps to Reproduce

  1. I initially encountered this issue on "react-native": "0.69.1" and subsequently upgraded to "react-native": "0.72.4," but the problem still exists.
  2. I followed all the steps described in the iOS installation guide.

Versions

- Callkeep: "4.3.12"
- React Native: "0.72.4"
- iOS: "16.4"
- Phone model:  "iPhone 13 pro"

Logs

Undefined symbol: _AVAudioSessionCategoryPlayAndRecord
Undefined symbol: _AVAudioSessionInterruptionNotification
Undefined symbol: _AVAudioSessionInterruptionOptionKey
Undefined symbol: _AVAudioSessionInterruptionTypeKey
Undefined symbol: _AVAudioSessionModeDefault
Undefined symbol: _AVAudioSessionPortBluetoothA2DP
Undefined symbol: _AVAudioSessionPortBluetoothHFP
Undefined symbol: _AVAudioSessionPortBuiltInMic
Undefined symbol: _AVAudioSessionPortBuiltInReceiver
Undefined symbol: _AVAudioSessionPortBuiltInSpeaker
Undefined symbol: _AVAudioSessionPortCarAudio
Undefined symbol: _AVAudioSessionPortHeadphones
Undefined symbol: _AVAudioSessionPortHeadsetMic
Undefined symbol: _AVAudioSessionRouteChangeNotification
Undefined symbol: _AVAudioSessionRouteChangeReasonKey
Undefined symbol: _OBJC_CLASS_$_AVAudioSession
Undefined symbol: _OBJC_CLASS_$_RCTConvert
Undefined symbol: _OBJC_CLASS_$_RCTEventEmitter
Undefined symbol: _OBJC_METACLASS_$_RCTEventEmitter
Undefined symbol: _RCTRegisterModule
Undefined symbol: __RCTLogNativeInternal

Linker command failed with exit code 1 (use -v to see invocation)