简体   繁体   English

Xcode签名工作但fastlane没有

[英]Xcode signing works but fastlane does not

I've successfully built a cordova to ios app and signed it with a certificate. 我已经成功地为ios应用程序构建了一个cordova并用证书签名。 On my machine the certificate is `9********. 在我的机器上,证书是“9 ********”。 When I try build with xcode it signs fine. 当我尝试用xcode构建时,它很好。 When I run fastlane beta with 当我运行fastlane beta时

build_app(
    # scheme: "YourScheme",
    export_method: "ad-hoc",
    export_xcargs: "-allowProvisioningUpdates"
  )

I get the build errors 我得到了构建错误

[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

Obviously these aren't even the same certificates as the one installed on my machine. 显然这些证书甚至与我机器上安装的证书不同。 Why isn't fastlane finding the one on my machine and why is it looking for these? 为什么fastlane找不到我的机器上的那个,为什么要找这些呢?

I have figured this out (sort of). 我已经想到了这一点(有点)。 The trick was revoking one of the certificates in the developer console and then allowing fastlane to create a new cert on my machine. 诀窍是撤销开发人员控制台中的一个证书,然后允许fastlane在我的机器上创建一个新证书。

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

相关问题 iOS 应用程序无法在 fastlane 中构建,但可以在 Xcode 中运行 - iOS app fails to build in fastlane but works in Xcode Xcode 手动签名有效,但不能自动签名 - Xcode manual signing works but not Automatic signing 在使用Xcode自动代码签名时如何使用Fastlane和Crashlytics进行构建? - How to use Fastlane and Crashlytics to build while using Xcode automatic code signing? 将 Xcode 自动签名设置为 false,并使用 fastlane match 和 gym 设置配置文件和证书 - Set Xcode automatic signing to false and set provision profile and certificate with fastlane match and gym 通过 Xcode 11 中的 Fastlane 构建 SPM Package 不起作用 - Build SPM Package via Fastlane in Xcode 11 does not work allowProvisioningUpdates 在自动签名 fastlane 中不起作用 - allowProvisioningUpdates not working in automatic signing fastlane 为什么Fastlane会引发异常“代码签名错误:找不到代码签名身份”? - Why does Fastlane throw exception “Code Sign error: No code signing identities found”? Fastlane 与 Xcode 的集成 - Fastlane Integration with Xcode Mogenerator是否可以与Xcode 6一起使用? - Does Mogenerator works with Xcode 6? XCode 8签名 - XCode 8 Signing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM