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

相关推荐
崽崽长肉肉3 小时前
swift中的知识总结(一)
ios·swift
2501_915106325 小时前
HTTP 协议详解,HTTP 协议在真实运行环境中的表现差异
网络·网络协议·http·ios·小程序·uni-app·iphone
柯南二号8 小时前
【大前端】【iOS】iOS 真实项目可落地目录结构方案
前端·ios
好游科技8 小时前
IM即时通讯系统:安全可控、功能全面的社交解决方案全解析
安全·音视频·webrtc·im即时通讯·私有化部署im即时通讯·社交app
2501_916007478 小时前
iOS与Android符号还原服务统一重构实践总结
android·ios·小程序·重构·uni-app·iphone·webview
JellyDDD9 小时前
【悬赏】Android WebRTC 数字人项目回声问题排查(AEC / AudioMode)
音视频·webrtc
二流小码农9 小时前
鸿蒙开发:自定义一个圆形动画菜单
android·ios·harmonyos
00后程序员张10 小时前
fastlane 结合 appuploader 命令行实现跨平台上传发布 iOS App
android·ios·小程序·https·uni-app·iphone·webview
2501_9151063210 小时前
iOS 性能优化这件事,结合多工具分析运行期性能问题
android·ios·性能优化·小程序·uni-app·cocoa·iphone
游戏开发爱好者810 小时前
App Store 上架流程,结合多工具协作
android·ios·小程序·https·uni-app·iphone·webview