如何为 WebRTC iOS 框架启用 Bitcode? [英] How to enable Bitcode for WebRTC iOS framework?
本文介绍了如何为 WebRTC iOS 框架启用 Bitcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在启用 Bitcode 的情况下编译 WebRTC iOS 框架.由于 WebRTC 框架,目前我必须禁用我的项目的 Bitcode.
How can I compile WebRTC iOS framework with Bitcode enabled. Currently I have to disable the Bitcode of my project due to WebRTC framework.
推荐答案
您需要自己构建它.
类似的东西:
You will need to build it yourself.
Something like:
# Clone the depot tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
# Add the tools to the path
export PATH=$PATH:"`pwd`/depot_tools"
# Download the WebRTC source code
mkdir webrtc_ios
cd webrtc_ios
# This will take some time
fetch --nohooks webrtc_ios
gclient sync
# Let's start building
cd src
# Build the framework, remove --arch "arm64 x64" to build ALL architectures, including 32 bit
tools_webrtc/ios/build_ios_libs.py --bitcode --arch arm64 x64
# The framework is at out_ios_libs/WebRTC.framework
这篇关于如何为 WebRTC iOS 框架启用 Bitcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文