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")
    ^-------------------------------------------

相关推荐
kango16 小时前
iOS 远程推送全链路拆解:从 deviceToken 到多账号绑定
ios·app
茶底世界之下1 天前
仙人掌与沙丘的傍晚:用 Awaking 让侧光有了层次
ios·app·产品
茶底世界之下2 天前
蓝调鱼市的一盏暖灯:用 Awaking 把冷海与灯光分开
ios·app·产品
茶底世界之下3 天前
窗边白雏菊与旧书:用 Awaking 留住一束暖光
ios·app·产品
茶底世界之下4 天前
阴天海边的蓝船:用 Awaking 把灰蓝调成清亮主角
ios·app·产品
Digitally4 天前
如何将 iPhone 备份到 iCloud?
ios
传奇开心果编程5 天前
【Flutter踩坑排雷】第19课:路由硬编码坑|字符串路由书写错误,页面跳转失败排查
android·flutter·ios·移动开发·跨平台·ui框架·声明式ui
茶底世界之下5 天前
雨后街口的斑马线:用 Awaking 把颜色让给光与步伐
ios·app·产品
茶底世界之下6 天前
晨雾河岸的旧书摊:用 Awaking 给木色一点暖光
ios·app·产品
90后的晨仔6 天前
在 macOS 27 上运行 Xcode 26
ios