GithubHelp home page GithubHelp logo

Comments (12)

JKennedy24 avatar JKennedy24 commented on July 28, 2024

I'm guessing this is the line the first error is occuring because it says Submit_Build but the version doesn't exist yet.

The second error occurs because it doesnt look at the release notes path (like the release task does)

A lot of obvious bugs in the Promote task. Has this ever been fully tested?

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@JKennedy24: I am able to submit my build for review that was previously uploaded to test flight with the promote task.

Do you upload the app to TestFlight manually or via the tasks in this extension? How do you update your app versions?

The 2nd issue seems to be like this: fastlane/fastlane#7016. It should not be needed to specify the "What's new" during promote if that was set on the build during upload to "TestFlight"

Thanks,
Madhuri

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig These are the steps I followed:

  • I uploaded the TestFlight using the extension.
  • Manually distribute to external testers
  • I don't add any new versions in iTunes connect (this could be where the problem lies)
  • I then try to promote my app from test flight to production
    and it throws the error - "Could not find a version to edit for app 'MyApp'�[0m"

Thanks for the link for Bug 2. It looks like the same error. Will this just fix itself on next FastLane update?

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@JKennedy24: As per my understanding, the build number has to be updated to be able to upload new build to test flight. E.g. if I previously have 2.0.1 uploaded, I have to update build number to 2.0.2 to be able to upload new version to test flight. Otherwise we see error like "Redundant Binary Upload". Once 2.0.2 is finished processing, I can use the promote task to put that build in production from test flight by selecting "latest build" in the task.

Can you email me the settings you have enabled in the release and promote tasks along with the logs at madhurig at microsoft dot com?

Thanks,
Madhuri

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig you are correct. I manage to change my version number on my binary and upload to testflight successfully.

It's the promoting from testflight to production where the error occurs.

I will try this again next release cycle (which will hopefully be next week ) and if I still get the same error I will email across my settings

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig I have just tried again during our latest release cycle and still got the same error:

2017-11-16T14:46:44.7478940Z [!] Could not find a version to edit for app 'MyApp'�[0m
2017-11-16T14:46:45.2207320Z ##[error]Error: fastlane failed with return code: 1

My setup of the release task is pretty much the default. the only difference I can see if that I have unticked Release Automatically in the "Submit to app store for review"

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@JKennedy24 : Can you try setting additional fastlane argument "--app-version higherVersionCode" and see if it will create a new version and successfully upload.

Thanks,
Madhuri

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig Thanks for the reply. I have added this argument and will try this out next release cycle and let you know

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig I have just tried promoting a testflight app to app store using the fastlane argument as suggested but failed with the following reason:

started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile�[0m
2017-12-07T09:24:04.9164650Z invalid option: --app-version higherVersionCode
2017-12-07T09:24:05.4170560Z ##[error]Error: fastlane failed with return code: 1

Is it possible this argument isn't valid or have I done something wrong?

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@JKennedy24: I meant you have to pass a higher version code that is valid to --app-version, not the literal string "higherVersionCode". Can you try that please?

Thanks,
Madhuri

from app-store-vsts-extension.

JKennedy24 avatar JKennedy24 commented on July 28, 2024

@madhurig I'll try that. That would mean I would need to set that version code every time I upload which isn't great but hopefully it will help diagnose the problem

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

Closing since this is an old issue and we believe it is resolved. Please open a new issue if you are still running into errors.

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.