Comments (14)
Hey @ryuyu any ideas what is could be?
from app-store-vsts-extension.
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.
from app-store-vsts-extension.
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.
from app-store-vsts-extension.
from app-store-vsts-extension.
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.
from app-store-vsts-extension.
Any thoughts? @madhurig
from app-store-vsts-extension.
@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.
@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.
@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.
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 usefastlane pilot
instead ofpilot
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 thefastlane
prefix is deprecated in fastlane 2.0
Please update your scripts to usefastlane 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.
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)
- Release note is not displaying on What to Test on TestFlight uploaded build on App Store? HOT 4
- 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
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.