webrtc ios build signing

构建命令

shell 复制代码
$ gn gen out/ios --args='target_os="ios" target_cpu="arm64" rtc_include_tests=false' --ide=xcode

报错,这个错误是因为存在多个签名的问题,通过错误信息知道其中有一个是无效的(被吊销),移除之后重新执行构建命令就好了。

  • 打开 Keychain Access 应用程序

  • 在左侧的导航栏中选择 "login"(登录)

  • 在右上角的搜索框中输入证书的标识符或名称,例如 - "501352425@qq.com"

  • 右键单击要删除的证书,并选择 "删除"

    ERROR at //build/config/ios/ios_sdk.gni:142:33: Script returned non-zero exit code.
    ios_code_signing_identity = exec_script("find_signing_identity.py",
    ^----------
    Current dir: /Users/stone/webrtc/src/out/ios/
    Command: python3 /Users/stone/webrtc/src/build/config/ios/find_signing_identity.py --matching-pattern Apple Development: 501352425@qq.com (M4SLWMVGS5)
    Returned 1 and printed out:

    Automatic code signing identity selection was enabled but could not
    find exactly one codesigning identity matching "Apple Development: 501352425@qq.com (M4SLWMVGS5)".

    Check that the keychain is accessible and that there is exactly one
    valid codesigning identity matching the pattern. Here is the parsed
    output of xcrun security find-identity -v -p codesigning:

    复制代码
    1) 7D4B9***********************************: "Apple Development: 501352425@qq.com (M4SLW*****)"
    2) 51899***********************************: "Apple Development: 501352425@qq.com (M4SLW*****)"
      2 valid identities found

    See //build/config/sysroot.gni:73:5: whence it was imported.
    import("//build/config/ios/ios_sdk.gni")
    ^--------------------------------------
    See //build/config/linux/pkg_config.gni:5:1: whence it was imported.
    import("//build/config/sysroot.gni")
    ^----------------------------------
    See //BUILD.gn:24:1: whence it was imported.
    import("//build/config/linux/pkg_config.gni")
    ^-------------------------------------------

相关推荐
FeliksLv1 天前
尝试给Lookin 支持 MCP
ios
没有故事的Zhang同学1 天前
01-研究系统框架@Web@iOS | JavaScriptCore 框架:从使用到原理解析
ios
CocoaKier3 天前
苹果谷歌商店:如何监控并维护用户评分评论
ios·google·apple
iOS日常3 天前
iOS设备崩溃日志获取与查看
ios·xcode
wangruofeng3 天前
AI 助力 Flutter 3.27 升级到 3.38 完整指南:两周踩坑与实战复盘
flutter·ios·ai编程
iOS日常4 天前
Xcode 垃圾清理
ios·xcode
开心就好20254 天前
不越狱能抓到 HTTPS 吗?在未越狱 iPhone 上抓取 HTTPS
后端·ios
傅里叶4 天前
iOS相机权限获取
flutter·ios
简离4 天前
前端调试实战:基于 chrome://webrtc-internals/ 高效排查WebRTC问题
前端·chrome·webrtc
zhangkai5 天前
flutter存储知识点总结
flutter·ios