GithubHelp home page GithubHelp logo

Comments (9)

g6andrew avatar g6andrew commented on July 28, 2024 2

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.

Source: https://docs.fastlane.tools/best-practices/continuous-integration/#use-of-application-specific-passwords-and-spaceauth

The vsts extension readme doesn't have this information.

Good luck!
Andrew

from app-store-vsts-extension.

benwalpole avatar benwalpole commented on July 28, 2024 1

Thanks @g6andrew that seemed to be the issue.

from app-store-vsts-extension.

AlexRukhlin avatar AlexRukhlin commented on July 28, 2024

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.

benwalpole avatar benwalpole commented on July 28, 2024

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.

shadabtamboli avatar shadabtamboli commented on July 28, 2024

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.

benwalpole avatar benwalpole commented on July 28, 2024

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.

madhurig avatar madhurig commented on July 28, 2024

@g6andrew : Thank you for posting the solution, we will add this to the extension readme.

from app-store-vsts-extension.

shadabtamboli avatar shadabtamboli commented on July 28, 2024

@g6andrew I am running the build on hosted machine.

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

Closing, documented here: https://github.com/Microsoft/app-store-vsts-extension#two-factor-authentication

from app-store-vsts-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.