[英]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.