react-native-agora
Open ios/projectName.xcodeproj
with XCode
Build Phases -> Link Binary With Libraries -> +
libresolv.tbd
libc++.tbd
AVFoundation.framework
AudioToolbox.framework
VideoToolbox.framework
CoreMotion.framework
CoreMedia.framework
CoreTelephony.framework
node_modules
Build Phases -> Link Binary With Libraries -> + -> Add Other
node_modules/react-native-agora/ios/RCTAgora/libs/libcrypto.a
node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework
node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcEngineKit.framework
Build Settings -> Framework Search Paths -> + “$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs”
Build Settings -> Library Search Paths -> +
”$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs”
Build Settings -> Enable Bitcode -> …
Capabilities -> Background Modes -> Audio, Airplay, and Picture in Picture
Change info.plist
“Privacy - Camera Usage Description”:“use camera to start video call”
“Privacy - Microphone Usage Description”:“use microphone to start video call”
react-native run-ios