简体   繁体   中英

VSTS Task Apple App Store asks for 2FA code, but Fastlane Session and App-Specific are set

I have created an Apple App Store task, and created an Endpoint with username/passowrd/App-Specific password and Fastlane Session. My username has 2FA enabled (requirement for fastlane to upload the ipa)

在此处输入图片说明

When running the task I get the following:

在此处输入图片说明

As you can see it still asks for a 2FA code. It seems that the Fastlane Session is not being read. If I enter an invalid token in the Fastlane Session, I get the same result.

Do you know what could this be?

To me it looks like the CI system you are using might be escaping the \\n in the fastlane session cookie incorrectly. Instead of using the environment variable, try copying over the ~/.fastlane/spaceship/[email]/cookie file from your main computer to your CI system

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM