编译webRTC

1)解压
2)安装dpot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=pwd/depot_tools:"$PATH"
3)进入webrtc-ios目录
cd webrtc-ios
4)删除llvm目录,重新sync
rm -rf src/third_party/llvm-build/
gclient sync
gclient runhooks

5)编译
cd src
gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64"'

ninja -C out/ios_64 AppRTCMobile

你可能感兴趣的:(编译webRTC)