fastlane 실행 중에 아래와 같은 에러가 발생하였다.

 Error: Unable to upload archive. Failed to get authorization for username and password

 

아무리 봐도 Appstore Connect 오류인 것 같은데 정확하게 설정은 해줬다고 생각했는데 앱 암호로 설정해줘야한다.

 

1. 아래 사이트로 접속

 

Apple Account

Your account you use for all Apple services

account.apple.com

 

2. 앱 암호 생성

 

생성 하면 XXXX-XXXX-XXXX-XXXX 이런 식으로 생성될 것이다.(나 같은 경우는 저런 형태였다)

 

3. fastlane/Appfile 또는 Fastfile에 추가

ENV["FASTLANE_PASSWORD"] = "YOUR_APP_PASSWORD"
728x90

'iOS > CI, CD' 카테고리의 다른 글

[CI/CD] AppStore 배포 fastlane 사용법  (0) 2025.01.19

BELATED ARTICLES

more