使用 flutter 构建 iOS 时 Codemagic 中的身份验证问题

发布于 2025-01-14 06:34:05 字数 1082 浏览 3 评论 0原文

我试图构建并上传我的 flutter 应用程序,在发布步骤中尝试上传 10 次时出现此错误,不知道为什么会出现这种情况。 iOS 登录实际上已连接,并且 App Store Connect 也已连接,应用程序构建顺利

这是有问题的错误:

Failed to upload archive, but this might be a temporary issue, retrying...
Attempt #2 to upload failed, retrying...
Attempt #3 to upload failed, retrying...
Attempt #4 to upload failed, retrying...
Attempt #5 to upload failed, retrying...
Attempt #6 to upload failed, retrying...
Attempt #7 to upload failed, retrying...
Attempt #8 to upload failed, retrying...
Attempt #9 to upload failed, retrying...
Attempt #10 to upload failed.
*** status code 401, auth issue.



{"tool-version":"4.071.1221","tool-path":"\/Applications\/Xcode-13.2.1.app\/Contents\/SharedFrameworks\/ContentDeliveryServices.framework\/Versions\/A\/Frameworks\/AppStoreService.framework","os-version":"11.6.2","product-errors":[{"message":"Unable to authenticate.","userInfo":{"NSLocalizedDescription":"Unable to authenticate.","NSLocalizedFailureReason":"Unable to authenticate."},"code":-19209}]}

Failed to publish to App Store Connect.

tysm

I was trying to build and upload my flutter app and this error came out with 10 attempts of upload in the Publishing step, have no idea why that could be. The iOS Sign In it´s actually conected and also the App Store Connect, the app build goes smoothly

Here´s the error in question:

Failed to upload archive, but this might be a temporary issue, retrying...
Attempt #2 to upload failed, retrying...
Attempt #3 to upload failed, retrying...
Attempt #4 to upload failed, retrying...
Attempt #5 to upload failed, retrying...
Attempt #6 to upload failed, retrying...
Attempt #7 to upload failed, retrying...
Attempt #8 to upload failed, retrying...
Attempt #9 to upload failed, retrying...
Attempt #10 to upload failed.
*** status code 401, auth issue.



{"tool-version":"4.071.1221","tool-path":"\/Applications\/Xcode-13.2.1.app\/Contents\/SharedFrameworks\/ContentDeliveryServices.framework\/Versions\/A\/Frameworks\/AppStoreService.framework","os-version":"11.6.2","product-errors":[{"message":"Unable to authenticate.","userInfo":{"NSLocalizedDescription":"Unable to authenticate.","NSLocalizedFailureReason":"Unable to authenticate."},"code":-19209}]}

Failed to publish to App Store Connect.

tysm

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

豆芽 2025-01-21 06:34:05

我也遇到了这个问题,但是在没有特别更改任何内容的情况下重试构建几次后,我成功了。也许重试几次可能会帮助您成功。

I had this problem too, but after retrying the build several times without changing anything in particular, I was successful. Perhaps a few retries might help you succeed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文