gpt4 book ai didi

ios - 存档成功,但导出失败: cordova build ios --release

转载 作者:行者123 更新时间:2023-11-29 00:10:21 24 4
gpt4 key购买 nike

运行 Cordova 7.0.1、Cordova-iOS 4.5.1、XCode 9。这是我的 build.json:

{
"ios": {
"release": {
"codeSignIdentity": "iPhone Developer",
"developmentTeam": "XXXXXXXXXX",
"packageType": "app-store"
}
}
}

我通常在执行cordova build ios --release 时没有问题。现在突然间我收到以下错误。存档成功,但导出失败。我不确定它是否与 XCode 9 升级有关。

    error: exportArchive: No profiles for 'xx.xxxxx.xxxx' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'xx.xxxxx.xxxx' were found"
UserInfo={NSLocalizedDescription=No profiles for 'xx.xxxxx.xxxx' were found,
NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching
'xx.xxxxx.xxxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic
signing, pass -allowProvisioningUpdates to xcodebuild.}

如有任何帮助,我们将不胜感激。谢谢!

最佳答案

错误提示您创建配置文件。转到 https://developer.apple.com/account/并创建一个。然后在存档之前在代码设计部分的 xcode 中选择该配置文件。

导出是使用配置文件对存档进行签名的步骤。打开 xcode 后,在中央窗口中选择您的目标。您应该会看到显示“身份”和“签名”之类内容的下拉菜单。您需要选择具有您的配置文件的正确团队。

关于ios - 存档成功,但导出失败: cordova build ios --release,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46652136/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com