小编Muh*_*moy的帖子

命令 CompileAssetCatalog 失败,退出代码非零。Xcode 13 测试版 5

Xcode 13 beta 5 构建错误。

  • 尝试清除派生数据
  • 干净的构建
  • 重新开始
  • 尝试了具有类似标题的可用 StackOverflow 解决方案

错误日志

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)

xcode build

5
推荐指数
1
解决办法
3581
查看次数

iOS webrtc 框架的位码启用。错误:-fembed-bitcode 不支持 -mllvm

通过 pod 使用 webrtc,

https://cocoapods.org/pods/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)

尝试过类似的答案但没有运气。

ios webrtc bitcode

5
推荐指数
1
解决办法
848
查看次数

标签 统计

bitcode ×1

build ×1

ios ×1

webrtc ×1

xcode ×1