Codemagic 发布 IOS 应用因"Asset validation failed codemagic ios"而失败



我正在Codemagic中为我的flutter应用程序创建一个工作流

我已经为IOS启用了自动代码签名

我能够为Android和IOS构建应用程序。

在codemagic中,android发布成功,但IOS发布失败。

下面是日志中的错误消息。请帮我解决这个问题。

{
"tool-version": "5.4211.13411",
"tool-path": "/Applications/Xcode-13.4.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework",
"os-version": "12.5.0",
"product-errors": [
{
"message": "Invalid Provisioning Profile. The provisioning profile included in the bundle *com.project.package.name* [Payload/Runner.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90161 for id ######################",
"userInfo": {
"NSLocalizedDescription": "Invalid Provisioning Profile. The provisioning profile included in the bundle *com.project.package.name* [Payload/Runner.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90161 for id #####################",
"NSLocalizedFailureReason": "Asset validation failed"
},
"code": -19208
}
]
}

您可能使用了不正确的配置文件。很可能您正尝试使用开发者配置文件上传到App Store。尝试更改为分发配置文件,看看它是否有帮助。

最新更新