1. 程式人生 > >新建立的iOS專案Cocoapods匯入AFNetworking報錯:AFNetworking.framework/AFNetworking' does not contain bitcode. Yo

新建立的iOS專案Cocoapods匯入AFNetworking報錯:AFNetworking.framework/AFNetworking' does not contain bitcode. Yo

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