我已经成功构建了一个可用于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无法在我的机器上找到它?为什么要寻找这些?
答案 0 :(得分:0)
我已经弄清楚了(某种)。诀窍是撤销开发者控制台中的证书之一,然后允许fastlane在我的计算机上创建新证书。