GithubHelp home page GithubHelp logo

Comments (14)

epopov avatar epopov commented on July 28, 2024

Hey @ryuyu any ideas what is could be?

from app-store-vsts-extension.

ryuyu avatar ryuyu commented on July 28, 2024

Hmm. At first glance, it looks like there might be a connection issue between the agent and the apple servers.

This task runs a series of fastlane tasks, so what you can try is to run the fastlane tasks that it does locally (or from the build machine if you have access to remote) and see if you can reproduce the failure.

I believe that the TestFlight track runs "pilot upload -u [user] -i [ipaPath]" in the simplest case, and Production runs "deliver --force -u [user] -a [bundleId] -i [ipaPath]". If these succeed locally, it is likely a problem with the connection from the MiC agent to the Apple servers. If the problem repros in this case, there may be a problem with the latest version of Fastlane.

@madhurig can maybe give you some more information here.

from app-store-vsts-extension.

epopov avatar epopov commented on July 28, 2024

from app-store-vsts-extension.

ryuyu avatar ryuyu commented on July 28, 2024

Setting the system.debug variable in your build to true might add some more output, but it looks like the task is stalling after we shell out to fastlane, so I'm not sure it will give us anything actionable.

from app-store-vsts-extension.

epopov avatar epopov commented on July 28, 2024

from app-store-vsts-extension.

epopov avatar epopov commented on July 28, 2024

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

Can you share the log which shows the outdated version, so I can verify what needs update? I am wondering if you are running into some firewall issues on the MacinCloud agent: https://github.com/fastlane/fastlane/tree/master/deliver#firewall-issues

from app-store-vsts-extension.

epopov avatar epopov commented on July 28, 2024

from app-store-vsts-extension.

epopov avatar epopov commented on July 28, 2024

Any thoughts? @madhurig

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@epopov: The task should be updating the fastlane tools before attempting to upload the IPA. In my build log I see this even when I run on my MacinCloud VSTS server:
2016-11-30T20:25:46.0037030Z [command]/usr/bin/gem install deliver
2016-11-30T20:26:08.9819210Z Successfully installed credentials_manager-0.16.2
2016-11-30T20:26:08.9832250Z Successfully installed fastlane_core-0.57.2
2016-11-30T20:26:08.9844000Z Successfully installed spaceship-0.38.4
2016-11-30T20:26:08.9854630Z Successfully installed deliver-1.16.0

Can you share your full log? You can either upload it here or email me: madhurig at Microsoft dot com.

Thanks,
Madhuri

from app-store-vsts-extension.

ryuyu avatar ryuyu commented on July 28, 2024

@madhurig It seems we might need to have some logic to clear cache.
In your log, it successfully installs spaceship-0.38.4, which is actually the old version; it needs to be installing spaceship-0.38.5.
Gem install doesn't seem to do update.
What we can probably do is call gem update after install, but this will add time to build unless the update call is very short.

from app-store-vsts-extension.

madhurig avatar madhurig commented on July 28, 2024

@ryuyu: @jeffyoung and I are considering the best way to do it without unnecessarily adding to the build time. We will likely introduce an advanced option on the task to clear the cache.

from app-store-vsts-extension.

iMacX avatar iMacX commented on July 28, 2024

Hi,

I am using VSTS plugin v1.2.1

https://marketplace.visualstudio.com/items?itemName=ms-vsclient.app-store

to upload to testflight successfully but since quite recently, I get this message and process seems to be stocked on "This might take a few minutes. Please don't interrupt the script."

Successfully installed fastlane-2.9.0
-Please use fastlane pilot instead of pilot from now on.
Successfully installed pilot-2.0.0
pilot upload -u ******** -i /Users/developer/vsts/iOSapp.ipa -q 123456
/Users/developer/.gem-cache/gems/pilot-2.0.0/lib/pilot/version.rb:3: warning: already initialized constant Pilot::DESCRIPTION
/Users/developer/.gem-cache/gems/fastlane-2.9.0/pilot/lib/pilot.rb:21: warning: previous definition of DESCRIPTION was here
You are calling pilot directly. Usage of the tool name without the fastlane prefix is deprecated in fastlane 2.0
Please update your scripts to use fastlane pilot upload -u ******** -i /Users/developer/vsts/iOSapp.ipa -q 123456 instead.
: Login to iTunes Connect (********)
: Login successful
: Ready to upload new build to TestFlight (App: 56789101112)...
: Going to upload updated app to iTunes Connect
: This might take a few minutes. Please don't interrupt the script.

from app-store-vsts-extension.

jeffyoung avatar jeffyoung commented on July 28, 2024

We are now always using the latest fastlane tools in the 1.112.0 release of the extension. It is expected that issues like these will be addressed with the latest tools. If not, please open a new issue.

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.