react-native-webrtc / react-native-webrtc/react-native-callkeep
Error on build. Undefined symbol: _AVAudioSession
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 511
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 2
Description
Bug report
-
[ X ] I've checked the example to reproduce the issue.
-
Reproduced on:
-
Android
-
[ X ] iOS
Description
Error on Build:
Undefined symbol: _AVAudioSessionInterruptionTypeKey
Undefined symbol: _AVAudioSessionInterruptionOptionKey
Undefined symbol: _AVAudioSessionInterruptionNotification
Undefined symbol: _AVAudioSessionCategoryPlayAndRecord
Undefined symbol: _AVAudioSessionModeVoiceChat
Undefined symbol: OBJC_CLASS$_AVAudioSession
Steps to Reproduce
Build in XCode 12.5
Versions
- Callkeep: 4.0.1
- React Native: 0.61.2
- iOS: 12
- Android:
- Phone model: iPhone 6
Logs
Undefined symbols for architecture armv7:
"_AVAudioSessionInterruptionTypeKey", referenced from:
-[RNCallKeep provider:didActivateAudioSession:] in RNCallKeep.o
"_AVAudioSessionInterruptionOptionKey", referenced from:
-[RNCallKeep provider:didActivateAudioSession:] in RNCallKeep.o
"_AVAudioSessionInterruptionNotification", referenced from:
-[RNCallKeep provider:didActivateAudioSession:] in RNCallKeep.o
"_AVAudioSessionCategoryPlayAndRecord", referenced from:
-[RNCallKeep configureAudioSession] in RNCallKeep.o
"_AVAudioSessionModeVoiceChat", referenced from:
-[RNCallKeep configureAudioSession] in RNCallKeep.o
"OBJC_CLASS$_AVAudioSession", referenced from:
objc-class-ref in RNCallKeep.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the iOS build in Xcode 12.5 and inspect the linker settings and framework dependencies for the RNCallKeep object referenced in the logs. The work is done when the armv7 build resolves all listed AVAudioSession symbols without linker errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100