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

相关推荐
徐同保20 小时前
通过ip访问nginx的服务时,被第一个server重定向了,通过设置default_server解决这个问题
ios·iphone
XHW___00121 小时前
webrtc 关键模块创建的时机
网络·音视频·webrtc
我真会写代码1 天前
WebSocket:告别轮询,实现Web实时通信 WebRTC:无需插件,实现浏览器端实时音视频通信
网络·websocket·网络协议·webrtc·实时音视频
2501_915918411 天前
在 iOS 环境下查看 App 详细信息与文件目录
android·ios·小程序·https·uni-app·iphone·webview
2501_916007471 天前
没有 Mac 用户如何上架 App Store,IPA生成、证书与描述文件管理、跨平台上传
android·macos·ios·小程序·uni-app·iphone·webview
又是忙碌的一天1 天前
SpringBoot+Vue+Netty+WebSocket+WebRTC 视频聊天实现
websocket·音视频·webrtc
夏幻灵2 天前
HTTPS全面解析:原理、加密机制与证书体
ios·iphone
TheNextByte12 天前
如何在iPhone上恢复已删除的笔记的综合指南
笔记·ios·iphone
rose and war2 天前
python和jinja版本问题导致的访问报500
python·ios
fendoudexiaoniao_ios2 天前
iOS 列表拖拽cell排序
ios·swift