【问题标题】:Xcode signing works but fastlane does notXcode 签名有效,但 fastlane 无效
【发布时间】:2019-06-28 04:19:56
【问题描述】:

我已经成功构建了一个cordova to ios 应用程序并使用证书对其进行了签名。在我的机器上,证书是`9********。当我尝试使用 xcode 构建时,它的迹象很好。当我使用

运行 fastlane beta 时
build_app(
    # scheme: "YourScheme",
    export_method: "ad-hoc",
    export_xcargs: "-allowProvisioningUpdates"
  )

我收到构建错误

[15:10:52]: Certificate X******** (iOS Distribution) can't be found on your local computer
[15:10:52]: Certificate 8******** (iOS Distribution) can't be found on your local computer
[15:10:52]: Certificate C******** (iOS Distribution) can't be found on your local computer

显然,这些证书甚至与我机器上安装的证书都不相同。为什么 fastlane 在我的机器上找不到那个,为什么要找这些?

【问题讨论】:

  • 请将完整的 fastlane 运行输出添加到您的问题中,以便我们了解它在做什么。

标签: ios fastlane code-signing-certificate


【解决方案1】:

我已经想通了(有点)。诀窍是撤销开发者控制台中的一个证书,然后允许 fastlane 在我的机器上创建一个新证书。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-19
    • 2011-12-28
    相关资源
    最近更新 更多