2FA code still required for pilot
even with FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD set?
#16935
Unanswered
johannes-keinestam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
We're using a very simple lane on a CI machine for uploading to TestFlight via fastlane (version 2.141.0), looking as follows:
The account we use for uploading to TestFlight recently had 2FA enabled, so we generated an app-specific password via appleid.apple.com and set it in the environment variable
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
. Furthermore,Appfile
contains definitions for bothapp_identifier
andapple_id
.Running
fastlane ios upload_beta
results in the following output (abbreviated):After this, the lane exits with an error. If we set the
FASTLANE_PASSWORD
environment variable to the regular (non-application-specific) password of the account in addition to havingFASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
set, we get the following output instead:Immediately after this, the lane exits with an error.
From what I've understood (e.g. from the fastlane documentation), if you only use
pilot
an app-specific password should suffice? I'm also quite certain this was the case (some time ago, admittedly) when we instead used the tool in Visual Studio to upload an iOS app, that it wouldn't bug you at all for a 2FA code if you used an app-specific password.Beta Was this translation helpful? Give feedback.
All reactions