Comments (9)
Hi @benwalpole and @shadabtamboli,
Do you have the fastlane session value set in the service endpoint for the apple app store? I had this problem when I first started to use the extension.
Try this:
If you want to upload builds to TestFlight/iTunes Connect from your CI machine, you need to generate an application specific password:
Visit https://appleid.apple.com/account/manage
Generate a new application specific password
Provide the application specific password using the environment variable FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
Because your CI machine will not be able to prompt you for your two-step or two-factor auth information, you also need to generate a login session for your CI machine in advance. You can get this by running:
fastlane spaceauth -u [email protected]
This will generate a token you can set using the FASTLANE_SESSION environment variable on your CI system.
The vsts extension readme doesn't have this information.
Good luck!
Andrew
from app-store-vsts-extension.
Thanks @g6andrew that seemed to be the issue.
from app-store-vsts-extension.
Hi,
Have you done what is requested in Prerequisites?
Did you try to run the command which causes the issue manually on the builder machine?
Alex
from app-store-vsts-extension.
Hi @AlexRukhlin,
I have reviewed the prerequisites, since this is happening via the VSTS extension on a hosted agent I'm not sure how practical it is for me to run commands manually on the box.
The problem does seem to be with the authentication to the Apple ID we are using.
from app-store-vsts-extension.
Hi @AlexRukhlin,
I am facing a similar issue. I am able to publish to Testflight however it shows me compliance warning and I need to answer those questions before build is available for testing. This does not happen if I push the same build through App Center.
Am I missing something?
from app-store-vsts-extension.
Hi @AlexRukhlin,
Are you able to offer any update on this? This is a show stopper for us being to able to use this tool.
Is that fact I'm being prompted to answer security questions because of the set-up of the Apple ID I'm using or the set-up of the extension?
It seems unlikely its because of the set-up of the app I'm trying to publish but any guidance would be appreciated.
from app-store-vsts-extension.
@g6andrew : Thank you for posting the solution, we will add this to the extension readme.
from app-store-vsts-extension.
@g6andrew I am running the build on hosted machine.
from app-store-vsts-extension.
Closing, documented here: https://github.com/Microsoft/app-store-vsts-extension#two-factor-authentication
from app-store-vsts-extension.
Related Issues (20)
- IOS - Promote Task - Cannot update languages - could not find an editable version for 'IOS' HOT 1
- Unable to submit ipa to testflight HOT 5
- Unable to set auto_release_date as an additional Fastlane argument HOT 1
- undefined method `team_id' for nil:NilClass (NoMethodError) HOT 1
- Can not push IPA file to tetstflight with Azure devops HOT 2
- Unable to promote Testflight release "Cannot submit for review" HOT 2
- Looking for more details on task: IpaResign@1 HOT 2
- AppStoreRelease serviceEndpoint authentication error with fastlane 2.217.0 HOT 2
- Unable to publish iOS app to beta external groups in testflight HOT 3
- Unable to release .ipa file to beta external groups in testflight HOT 5
- Publish an app to external group, but its uploading to internal group HOT 1
- iOS App store Release task failed to install/find fastlane using azure pipelines HOT 2
- Promote an existing build from testflight(internal channel) to Apple app store (PRODUCTION) HOT 2
- Fastlane 2FA issue HOT 1
- Error: 'What to Test?' 'Distribute to External Testers HOT 1
- Extension to publish to Intune HOT 1
- Install fastlane gem using --no-document HOT 1
- Question: Basic functionality, quick start instructions HOT 3
- getting a errors when trying to upload ios artifact to test flight using App Store Release task HOT 4
- New-lines in the changelog breaks the task HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-store-vsts-extension.