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

相关推荐
2501_9160088918 小时前
iOS开发APP上架全流程解析:从开发到App Store的完整指南
android·ios·小程序·https·uni-app·iphone·webview
2501_915909062 天前
Charles 抓不到包怎么办?iOS 调试过程中如何判断请求路径
android·ios·小程序·https·uni-app·iphone·webview
2501_916007472 天前
iOS和iPadOS文件管理系统全面解析与使用指南
android·ios·小程序·https·uni-app·iphone·webview
2501_915921432 天前
iOS App 开发阶段性能优化,观察 CPU、内存和日志变化
android·ios·性能优化·小程序·uni-app·iphone·webview
游戏开发爱好者82 天前
在 iOS 开发、测试与上架过程中 如何做证书管理
android·ios·小程序·https·uni-app·iphone·webview
ii_best2 天前
按键精灵安卓/IOS手机助手 × 手机按键 App:1 分钟搞定设备连接(超详细教程)
android·ios·智能手机·自动化·编辑器
2501_916007472 天前
在没有 Mac 的情况下完成 iOS 应用上架 App Store
android·macos·ios·小程序·uni-app·iphone·webview
TheNextByte12 天前
iPhone存储空间已满?如何轻松释放iPhone空间?
android·ios·iphone
—Qeyser2 天前
Flutter 颜色完全指南
android·flutter·ios
2501_916008892 天前
iOS 上架需要哪些准备,账号、Bundle ID、证书、描述文件、安装测试及上传
android·ios·小程序·https·uni-app·iphone·webview