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

来源:互联网 发布:淘宝店标制作网站 编辑:程序博客网 时间:2024/05/22 00:36

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

0 0