Reputation: 930
I have tried to upload an application to Test Flight. The app is successfully validated.
However, when distributing, Xcode is stuck in the "Uploading" stage as shown below:
Uploading
Uploading package to the App Store...
I have waited 2 hours and nothing has changed.
I am using Xcode 11.1. Is there any solution for this problem?
Upvotes: 87
Views: 32040
Reputation: 719
I had a very similar issue, on the sending analytics
step. I tried everything in the other answers to no success. As a last ditch attempt I tried switching to the hotspot on my phone. That worked!
Of course, I have no idea why. I have contacted Apple for support, but for now I do have a consistent workaround to this problem so worth sharing as an answer for anyone else that may find it helpful.
Upvotes: 0
Reputation: 641
It is basically slowness in App Store Connect Upload functionality which makes it super slow. In my case, I waited around 10-12 mins and it got completed.
Try to wait for 10-12 mins or else you can try Transporter App by Apple.
Upvotes: -2
Reputation: 14504
I had this same problem. Trying to upload using Application Loader once you're on Xcode 11 doesn't work.
My solution was to use the new Transporter app.
Upvotes: 27
Reputation: 1538
I faced the same problem, and first what I tried was to check my traffic. So I found a process called java
(ironic).
The process has since been renamed to com.apple.dt.Xcode.ITunesSoftwareService
If you will check info about this process there will be tab Open Files and Ports
and there in the bottom of the log window, you will see %YourApp%.ipa
. And in general if Sent Packets
& Sent Bytes
increasing that's mean uploading is not stuck it's just can be one of many issues such as:
To open Activity Monitor: Open Spotlight
(cmd+space or ctrl+space) -> Type Activity Monitor
-> open tab Network
Summary: Don't worry, and take your time :)
P.S. For increasing speed of upload you can not include bitcode
.
P.S.S. Try also to use the Transporter
app, sometimes it helps to speed up uploading. (https://apps.apple.com/in/app/transporter/id1450874784?mt=12)
Upvotes: 56
Reputation: 4750
In my case,
when Distributing the app that Include version control was checked with stripe with swift symbol and upload app symbol ...
I unchecked version control and others two remain checked and its works perfectly . thanks
Upvotes: 0
Reputation: 513
In my case there was nothing to worry. It just took some time (like 2 hours). There can be many issues. Your internet upload speed can be slow at that time or an Apple server issue. Just sit back and relax.
Upvotes: 6
Reputation: 21
You can download the Transporter app on the Mac App Store.
The Transporter app for macOS is a simple and easy way to upload an app to App Store Connect for distribution on the App Store. In addition to uploading your build, you can upload your metadata packages, view delivery progress (including warnings, errors, and delivery logs), as well as a history of past deliveries.
That fixed the problem for me easily
Upvotes: 1
Reputation: 1
Steps to do: 1: Check your internet if intenet == fine { wait for up-to 2 hours ! } else { change your connection }
Upvotes: -3
Reputation: 61
Check if Apple servers are responding from this link: https://www.apple.com/support/systemstatus/ Sometimes they face issues, Apple updates this page regularly.
Upvotes: 6
Reputation: 1
Steps to do:
flutter clean
flutter pub get
cd ios
pod install
Upvotes: -1
Reputation: 41
I faced the same issue for over a week. In my case, I was working on other projects at the time and their uploads were going through but one particular project was always hanging, and later fails.
I later realised when Distributing the app that Include Bitcode for iOS Content
was checked. The upload worked after I unchecked it.
NB: Including bitcode(during distribution) and enabling bitcode(in the app's project and target settings), is supposed to offer some benefit with frameworks compatibility, but it slows down upload substantially, and may even cause it to fail. It also slows down the time it takes for your binary to be processed so that it's ready for submission.
Upvotes: 4
Reputation: 421
I uploaded the ipa on the company’s network some time ago. Everything went very smoothly. Generally, the upload can be completed within 5 minutes. I also encountered this problem recently. I have been stuck in the last step of uploading..., repeated many times. Stuck here, waiting for more than 6 hours has no effect
This is how I solved it, because the company's broadband uses a telecom network operator, and my mobile phone uses a mobile network operator. I share the 4G data of the mobile phone to the computer for uploading. The exciting thing is that the upload speed is very high. Fast, and the last step will never get stuck
I have been uploading IPA using my mobile data for the past 2 months,You can try to switch to different network operators to upload, it may have good results
Upvotes: 0
Reputation: 8661
A lot of times you just need to wait. I thought something was wrong but I waited it out and eventually it went through
Upvotes: 2
Reputation: 161
When you archive make sure you target "Generic iOS Device" – not your physical development device. This was my issue.
Upvotes: 1
Reputation: 3464
I myself have had the same problems in the past; partial progress and then a hang for no apparent reason.
In my experience there are two secrets for reliable upload that resolve such problems.
Use the latest version of Xcode (not just a new-ish one) because the protocol between the client uploader and the server tend not to be very tolerant of version differences, leading to strange hangs during upload.
Use the Application Loader (it comes with Xcode). When you are in Application Loader > Preferences > Advanced there are some check boxes. Experiment by unticking each item and then ticking just one, and then try the upload. This trick is often needed to get through firewalls and corporate intranets, and sometimes from a regular home Internet connection.
I have no idea what those protocols actually are, by the way! Sometimes they make the upload faster. I suspect you hit different servers in the upload farm according to the protocol you select.
Upvotes: 0