ios - 如何为 WebRTC iOS 框架启用 Bitcode?
<p><p>如何在启用 Bitcode 的情况下编译 WebRTC iOS 框架。目前,由于 WebRTC 框架,我必须禁用我的项目的 Bitcode。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您需要自己构建它。<br/>
比如:</p>
<pre class="lang-sh prettyprint-override"><code># 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
</code></pre>
<p>文档:<a href="https://webrtc.github.io/webrtc-org/native-code/ios/" rel="noreferrer noopener nofollow">https://webrtc.github.io/webrtc-org/native-code/ios/</a> </p></p>
<p style="font-size: 20px;">关于ios - 如何为 WebRTC iOS 框架启用 Bitcode?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/47376034/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/47376034/
</a>
</p>
页:
[1]