繁体   English   中英

Xcode签名工作但fastlane没有

[英]Xcode signing works but fastlane does not

我已经成功地为ios应用程序构建了一个cordova并用证书签名。 在我的机器上,证书是“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在我的机器上创建一个新证书。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM