前提
- Apple IDを2つ保持(Aアカウント、Bアカウント)
- mac に紐づけているのはAアカウント
- Bアカウントにて開発者登録がされています
- BアカウントでのApple Developer などへのログインは問題なく行える
実現したいこと
Fastlaneの実行時のエラーを解消したい
発生している問題
Unauthorized Access エラーが発生しています。
2段階認証済みのBアカウントを設定しているのですが、エラーが発生します。
macに紐づけされているアカウントでないと、認証エラーとなるのでしょうか?
ログ出力時に出ているissueは確認しましたが、本件とは直接関係がないようでした。
コンソールログ
[15:16:52]: Login to App Store Connect ("(省略:メールアドレス)") Available session is not valid any more. Continuing with normal login. Two-factor Authentication (6 digits code) is enabled for account '"(省略:メールアドレス)"' More information about Two-factor Authentication: https://support.apple.com/en-us/HT204915 If you're running this in a non-interactive session (e.g. server or CI) check out https://github.com/fastlane/fastlane/tree/master/spaceship#2-step-verification (Input `sms` to escape this prompt and select a trusted phone number to send the code as a text message) Please enter the 6 digit code: 358343 Requesting session... +--------------------+---------------------------------------------------------------------------------------------------+ | Lane Context | +--------------------+---------------------------------------------------------------------------------------------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios beta | | IPA_OUTPUT_PATH | "(省略:パス)" | | DSYM_OUTPUT_PATH | "(省略:パス)" | | XCODEBUILD_ARCHIVE | "(省略:パス)" | +--------------------+---------------------------------------------------------------------------------------------------+ [15:21:28]: Unauthorized Access +------+----------------------+-------------+ | fastlane summary | +------+----------------------+-------------+ | Step | Action | Time (in s) | +------+----------------------+-------------+ | 1 | default_platform | 0 | | 2 | build_app | 326 | | ???? | upload_to_testflight | 275 | +------+----------------------+-------------+ [15:21:28]: fastlane finished with errors Looking for related GitHub issues on fastlane/fastlane... ➡️ Google::Apis::AuthorizationError: [!] Unauthorized https://github.com/fastlane/fastlane/issues/14268 [open] 7 ???? a week ago ➡️ The request could not be completed because:Unauthorized Access https://github.com/fastlane/fastlane/issues/13923 [closed] 10 ???? 2 days ago ➡️ The request could not be completed because:Unauthorized Access https://github.com/fastlane/fastlane/issues/14122 [closed] 1 ???? 5 weeks ago
あなたの回答
tips
プレビュー