首页 > 解决方案 > 无法使用 fastlane spaceauth 请求会话:Spaceship::AccessForbiddenError

问题描述

我正在尝试使用fastlaneunder自动部署 iOS 应用程序CircleCI。不幸的是,它需要 2 因素身份验证。我正在尝试在我的开发机器上做:

fastlane spaceauth -u my@email.com

它通过手机向我发送代码,即密码正确有效。不幸的是,在我输入代码后,它说我

Requesting session...
Could not login to App Store Connect
Please check your credentials and try again.
This could be an issue with App Store Connect,
Please try unsetting the FASTLANE_SESSION environment variable
(if it is set) and re-run `fastlane spaceauth`

Exception type: Spaceship::AccessForbiddenError

如何解决?

标签: iosapp-storecirclecifastlane

解决方案


推荐阅读