简体   繁体   中英

Xcode stuck in "Uploading package to the App Store" stage while uploading

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...

正在上传包到 App Store...

I have waited 2 hours and nothing has changed.

I am using Xcode 11.1. Is there any solution for this problem?

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:

  • Bad connection
  • Slow upload speed
  • Accepting capacity of Apple servers
  • Highload network
  • etc.

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 :)

PS For increasing speed of upload you can not include bitcode .

PSS Try also to use the Transporter app, sometimes it helps to speed up uploading. ( https://apps.apple.com/in/app/transporter/id1450874784?mt=12 )

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 .

检查 Apple 服务器是否从以下链接响应: https ://www.apple.com/support/systemstatus/ 有时他们会遇到问题,Apple 会定期更新此页面。

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.

从应用商店下载“传输器”应用程序并使用它将您的应用程序上传到应用程序商店,我使用它并立即上传......我不知道组织者有什么问题,但该应用程序不会无论您等待上传多少小时或多少天,都将其上传

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.

取消选中“包含 iOS 内容的位码”

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.

When you archive make sure you target "Generic iOS Device" – not your physical development device. This was my issue.

A lot of times you just need to wait. I thought something was wrong but I waited it out and eventually it went through

  • Export your app as ipa
  • use Transporter app to upload your ipa file to app store

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

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.

  1. 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.

  2. 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.

在此处输入图像描述

我遇到了同样的问题,在我的 MacBook 上使用“Transporter”应用程序有所帮​​助。

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

这是我关于堆栈溢出的第一个答案,因为我尝试了很多在应用商店上传应用的方法,然后我只将我的网络切换到其他网络并等待几分钟,它就通过了。

"

我通过取消选中 Include Bitcode for iOS Content 解决了这个问题

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

It works 100%

Use Transporter App to upload an app to App Store

Steps to do:

  1. Open terminal in the project directory
  2. flutter clean
  3. flutter pub get
  4. cd ios
  5. pod install
  6. open XCode and clean project build
  7. new archive
  8. and upload

Steps to do: 1: Check your internet if intenet == fine { wait for up-to 2 hours ! } else { change your connection }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM