Error: Unable to upload archive
주의
Fastlane : [altool] Error: Unable to upload archive. Failed to get authorization for username and password
fastlane으로 upload_to_testflight
실행 시 해당 에러 발생
해결
- App-Specific Passwords에서 앱 암호 생성
- .env파일에 아래 variable 추가
FASTLANE_USER=<Apple USER ID>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-Specific Password>
정보
Actually, fastlane does automatically load environment variables when put in an .env file next to the Fastfile: https://docs.fastlane.tools/advanced/other/#environment-variables