microsoft / app-store-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the App Store store from your automated CI builds
Other
94 stars 53 forks source link

Fastlane session missing - pushing iOS app to App store failing #138

Open pkassonqh opened 4 years ago

pkassonqh commented 4 years ago

I have created the fastlane session token but dont see how to install the environment variable in the Service Connections. The docs state to add it there but all that is applicable is TestFlight and no where to add an environment variable.

The error I am getting is:

[error]Error: 'Fastlane Session' is not set in the service connection configured for two-step verification.

JanNepras commented 4 years ago

@pkassonqh Did you set a fastlane session in service connection? If you edit service connection, there is a text field "Fastlane Session optional". You should copy the session there. Keep in mind that the session is only valid for a month. Then you have to generate it again.

pkassonqh commented 4 years ago

@JanNepras - I did and realized I put the wrong value there - fixed it now and working ! Thanks !

Is there anyway using FastLane to do the following:

  1. auto increment build # for iOS / Android, to avoid store rejections for dups
  2. include comments for the release so it posts with the app
  3. detect if a version is waiting for developer relelase (iOS) - seems it hangs and times out if a version is in that state (apple approved and waiting to manually release).

Thanks !