我在使用 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/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://jike.in/) | Powered by Discuz! X3.4 |