ios - AFNetworkActivity 位码
<p><p>我在使用 cocoapods 导入的项目中使用 AFNetworking</p>
<p>项目要求我打开“BitCode”</p>
<p>所以我将 AFNetworking 切换到 3.0 版本</p>
<p>而且AFNetworkActivityLogger也需要使用3.0.0版本
因此我将以下代码添加到 Podfile 中</p>
<blockquote>
<p>pod 'AFNetworkActivityLogger', :git => '<a href="https://github.com/AFNetworking/AFNetworkActivityLogger.git" rel="noreferrer noopener nofollow">https://github.com/AFNetworking/AFNetworkActivityLogger.git</a>', :branch => '3_0_0'</p>
</blockquote>
<p>pod 安装完成,没有发现错误,</p>
<p>但项目构建失败并出现以下错误:</p>
<blockquote>
<p>(AFNetworkActivityConsoleLogger.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64</p>
</blockquote>
<p>找不到任何相关的帖子,我可以在这个问题上提供一些帮助。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>请引用:- <a href="https://github.com/AFNetworking/AFNetworking/issues/2986" rel="noreferrer noopener nofollow">https://github.com/AFNetworking/AFNetworking/issues/2986</a> </p>
<blockquote>
<p>The 3.0.0 branch has Carthage Support that does enable bitcode, and to
my knowledge there is nothing specific a library maintainer needs to
do in order to support bitcode for Cocoapods.</p>
</blockquote></p>
<p style="font-size: 20px;">关于ios - AFNetworkActivity 位码,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/36908100/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/36908100/
</a>
</p>
页:
[1]