gpt4 book ai didi

ios - AFNetworkActivity 位码

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:06:53 31 4
gpt4 key购买 nike

我在使用cocoapods导入的项目中使用AFNetworking

项目要求我打开“BitCode”

所以我将 AFNetworking 切换到 3.0 版本

而且AFNetworkActivityLogger也要求使用3.0.0版本因此,我将以下代码添加到 Podfile 中

pod 'AFNetworkActivityLogger', :git => 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', :branch => '3_0_0'

pod安装完成,没有发现错误,

但项目构建失败并出现以下错误:

(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

找不到任何相关的帖子,我可以在这个问题上提供一些帮助。

最佳答案

引用这个:- https://github.com/AFNetworking/AFNetworking/issues/2986

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.

关于ios - AFNetworkActivity 位码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36908100/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com