While I'm trying to send my application via Fastlane I face with this error:
Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com (-22938)
Transporter transfer failed.Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com (-22938)Your account has 2 step verification enabled. Please go to https://appleid.apple.com/account/manage and generate an application specific password for the iTunes Transporter, which is used to upload builds. To set the application specific password on a CI machine using an environment variable, you can set the FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD variable.
Please provide your Apple Developer Program account credentials The login information you enter will be stored in your macOS Keychain Password (application-specific for [email protected])
Sign in to appleid.apple.com. In the Sign-In and Security section, select App-Specific Passwords. , then follow the steps on your screen. Enter or paste the app-specific password into the password field of the app.
Go to the Security basics page and sign in to your Microsoft account. Select More security options. Under App passwords, select Create a new app password. A new app password is generated and appears on your screen.
As the error message says, we need to create an app-specific password at the:
http://appleid.apple.com
address. Go to the security section and use the Generate Password.
Use the Generate Password link to create a new password. Copy and paste the password and don't forget you won't be able to find the password again after you click on the Done button.
Then, set the FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD environment variables at your bash or your .bash_profile file. This file could be different depending on your choice for the bash on your terminal. For example, if your bash of choice is ZSH like mine, you need to edit the .zshrc file.
Then re-run your Fastlane with:
bundle exec fastlane beta --verbose
Note: When you can not enter the security code manually, as on a Continuous Integration system, you have to use other ways to log in. The application-specific password will not work if your action usage does anything else than uploading the binary, e.g. updating any metadata like setting release notes or distributing to testers, etc.
As your CI machine will not be able to prompt you for your two-factor authentication or two-step verification information, you need to generate a login session for Apple ID in advance. You can get on your local machine this by running:
fastlane spaceauth -u [email protected]
for more, please check the fastlane documentation .
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With