新创建的iOS项目Cocoapods导入AFNetworking报错:AFNetworking.framework/AFNetworking' does not contain bitcode. Yo

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/sw_gegewu/article/details/66472749

AFNetworking.framework/AFNetworking’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

报错原因:新项目配置问题:
解决方案:
Build Settings 搜索 bitcode 将Enable Bitcode更改为NO(默认YES),OK

展开阅读全文

没有更多推荐了,返回首页