使用 flutter 构建 iOS 时 Codemagic 中的身份验证问题
我试图构建并上传我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也遇到了这个问题,但是在没有特别更改任何内容的情况下重试构建几次后,我成功了。也许重试几次可能会帮助您成功。
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.