Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one -22938

Tags:

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])

like image 640
mgyky Avatar asked Jan 24 '19 07:01

mgyky


People also ask

How do you find your sign in with Apple password for a specific app?

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.

How do I generate an app specific password for Outlook?

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.


1 Answers

Solution

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.

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.

FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD

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.

Generating a login session for Apple ID

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!

like image 50
mgyky Avatar answered Sep 24 '22 14:09

mgyky