Xcode 13 beta 5 构建错误。
错误日志
2021-08-16 07:20:46.045 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.046 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.096 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.096 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.121 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.121 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.145 AssetCatalogSimulatorAgent[22021:116352] nil host used in call …Run Code Online (Sandbox Code Playgroud) 通过 pod 使用 webrtc,
但是,我无法在项目中启用位码。
该解决方案需要从启用位码的源代码构建,
https://webrtc.googlesource.com/src/+/main/docs/native-code/ios/index.md
但是,以下行python tools_webrtc/ios/build_ios_libs.py --bitcode生成错误,
[7/3304] CC obj/third_party/libsrtp/libsrtp/srtp.o
FAILED: obj/third_party/libsrtp/libsrtp/srtp.o
...
clang: error: -mllvm is not supported with -fembed-bitcode
[6/3304] CC obj/third_party/libsrtp/libsrtp/ekt.o
FAILED: obj/third_party/libsrtp/libsrtp/ekt.o
...
clang: error: -mllvm is not supported with -fembed-bitcode
[9/3304] CC obj/third_party/libvpx/libvpx/bilinearpredict_neon.o
FAILED: obj/third_party/libvpx/libvpx/bilinearpredict_neon.o
....
clang: error: -mllvm is not supported with -fembed-bitcode
Run Code Online (Sandbox Code Playgroud)
尝试过类似的答案但没有运气。