xcode taks forver to upload file.ips - ios

I want to upload an app to the app store but the organizer takes forever to upload and most of the time it takes no further action, just stuck on "Uploading package to the app store"
I have uploaded several apps before and never encounter this issue...but this is the second app to face this issue with and it really drives me crazy

After a lot of searching someone suggested to disable firewall but it was disabled already on my case so I enabled it, and guess what,It worked...what is more confusing is that I had to reupload the version and the same issue appeared again so I disabled the firewall and it worked agin...so, in conclusion, try to change your firewall setting and see whether it will work correctly or not

Related

App Build is not appearing on App Store Connect submission Dashboard

I have a Flutter developed App that I want to upload for App Store Review.
The App has been successfully uploaded through Xcode as you can see here— https://prntscr.com/26m7w94

Sadly, the Build doesn’t appear in my App Connect Build section as you can see here— https://prnt.sc/26no755

When I try to re-upload, it let’s me know that the Build is already uploaded to App Store Connect as you can see here— https://prnt.sc/26no84v

I have written to Apple and I don’t understand the answers they are giving me. They are just talking off-point.
Now I have waited for 8 days for this build to appear, but this uploaded build is not appearing.
Without this Build appearing, I cannot Submit to App Store Review.
Everything in the App Store Connect Form has been completely filled. Only Build remains to be added as you can see here— https://prntscr.com/26no94s
I can’t figure out what to do next, and this is 8(eight) wasted days gone by, with me not knowing what next to do.
Has anyone here faced this kind of problem before? How did you solve it?
Regards
Check in the TestFlight section. There might be a yellow triangle next to your build. You may need to answer some additional questions such as encryption usage etc. Just click on the triangle to answer and your build should be available afterwards.
Sometimes the answer to this issue is that there is actually a problem with App Store Connect (like right now).
You can check for issues on the Apple Developer System Status page.
For me changing the version from X.X.X to X.X.X+1 (2.2.2 -> 2.2.3) fixed the issue.
Sometimes it happens and I have also faced this problem .I successfully uploaded my bundle from Xcode but not found in connect.
I waited 30 minutes and refreshed .Then my bundle came in App Store connect.
Solution 1 : wait for some time & Refresh ,
Solution 2 : Create another Bundle and push to connect using Transporter (You can download transporter from appStore)
If the build doesn't show up on App Store Connect. You may want to check your email (the one you used as your Apple Id when uploading the build).
In my case Apple sent me an automatic email telling me that my build had some issues. Xcode didn't complain about anything and neither App Store Connect.
UPDATE: This might have boiled down to timing. After changing the version number to 1.0.0, that build showed up immediately. Half an hour later, the 0.0.1 build appeared out of the blue as well.
If you've set your version number to 0.0.1+X because you thought that makes sense while the app is still under development, change that back to 1.0.0+X. The upload will succeed, but app store connect won't list the build without a leading "1." in the version number.
Make sure no webviews are used in your app. It will not show builds in App Store Connect and neither XCode nor Apple will say that anything is wrong.

There was an error sending data to the itunes store "scheduling restart shortly"

When uploading app on the TestFlight. The error showing There was an error sending data to the iTunes store "scheduling restart shortly".
Also, it's not uploading with App Loader.
Wait for while it automatically restarts this process and your app is uploaded.
I faced the same issue. I just wait in the same window.
Doesn't it means that there is a scheduled maintenance for iTunes Connect and that you should just try again later?
Faced this issue several times and many a time it was resolved automatically upon auto restart from the Xcode itself as they mentioned in the message scheduling restart shortly.
However, if the issue still persists there might be an issue with your internet connection, in my case issue was with the firewall and upon changing the firewall it was resolved. In such cases using your mobile data will help upload the build.
Had this many times over the years. Latest fix for me is to reboot the Mac, and also ensuring you are on are on a Mobile network (as pointed out by Max Niagolov) and not any Coorporate Wifi. Have been using Mobile Network for past 6 years in various companies as Coorp Wifi never works.
In my case I've encountered with this issue two times. First time I solved it by using Application Loader and it successfully uploaded. And then when I was needed to upload another version of the same app this issue appeared again and after I few unsuccessful attempts to upload it. I switched my network to mobile phone from wifi and finally uploaded the build.
It was automatically resolved I don't need to to anything just wait till the upload.
Had this issue for 2-3 mins, it resolved automatically and started uploading process. Do not need to cancel or restart mac in my case.

App Store upload is really slow and hogging my internet connection

In the past 6 months every time I upload a new version/build to the Apple App Store through Xcode / Application Loader, it takes between 20-40 minutes for even the smallest app. The uploader is always stuck at the beginning and when if finishes after a huge amount of time, the progress bar just jumps to the end.
Also, and the most annoying, it totally hogs my internet connection (and anyone who is connected to the network aside from me). It’s not usable at all.. it’s really frustrating to upload a build to the App Store for so much time while it totally kills my internet connection -> it happens on any internet connection I try to upload from: Home, office, friends houses, public networks at the mall / restaurants.
When I upload APKs to the Google Play Store, everything works crazy fast (5-10min tops!) and my internet connection is working fine while doing it.
I also tried opening a bug report ticket to Apple, but because it’s Apple, they didn’t even take the time to answer it for almost a month now.
Does this happen to anyone here? Is there a way around it?
Thank you very much :)
It is apple algorithm to validate first then accept application.
Sometime it uploads in 10-12 minutes sometime takes 30 minutes. It depends on internet speed, server load while uploading...
Developers working outside Apple have to keep patience, No Other way
Best is try to upload with Application loader.
I had the same issue and it was completely fixed upon updating itmstransporter.
cd ~
mv .itmstransporter/ .old_itmstransporter/
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
Please refer to https://forums.developer.apple.com/thread/76803 (look at KumobiusIvan's answer)
First Export the ipa with export functionality of xcode and the upload it with Application loader
You can use this tool provided by xcode it self,
I think sometime the internet connection works well, few ports in your connection internet setting needs to be open.
This might because of the Firewall issue.
We had similar kinds of issue in our organisation but then the link below was helpful for a work around.
itunesconnect using application loader behind a firewall
I have the same problem. fastlane deliver worked for me. Still very slow, but at least it works and does not hog internet.
Here the docs
I have also faced this issue while uploading build through Xcode. There was no indication or progress update while uploading build. So I tried uploading build through Application Loader.
While uploading build to App Store apple performed few checks like
1. It first checks the valid profile for build on iTunes Connect. If there is any valid profile then we can upload build.
2. First thing happens while uploading build is verification of assets and also build validation by iTunes; this is the stage which consumes maximum time of build upload process.
(In my case it took 20 minutes avg. while doing it through Application Loader)
3. Once verification and validation succeed build uploading starts. We can see the upload progress in Application Loader.
As suggested in this SO answer use the Application Loader and uncheck the Aspera and Firmante options in preferences/advanced.
Probably is just enough deactivating the Firmante option.
Also check that you have enough ram for the app delivery. I recommend you to shut down Xcode and any other RAM intensive application.
My situation is very similar to the OP.
None of the above suggestions work for me. Likely the real cause is physical and related how Application Loader is using the internet. I have ADSL2 connection with a Netgear modem/router assigning each device at home a fixed IP address according to the mac address of the network interface of each device. I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet. However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.
Even stranger, when Application Loader is uploading, the modem/router could easily lost connection to the internet, as I could see from the LED lights of the modem. The connection is lost randomly at any progress of uploading the 20 MB file.
So I had turned off Windows PCs, iPads, iPhones and Android device at home, so Mac mini is the only device using the Internet, the Application Loading has finally been able to upload the app successfully in one go.
My guess is, my home phone line has some noise, and Application Loader is using the internet aggressively particularly the up link, so stressing out the modem, then causing other devices like my Windows PC lost connection, not even able to resolve host. When Safari is uploading video to App Store, no problem.
So my working solution is to make Mac be the only device using the Internet, given that the internet connection is already in poor condition with noise, near the edge of losing connection.
you need to use Transporter app
you can download it from here https://developer.apple.com/news/?id=10152019a

Can't Submit App to App Store: "Sending API Usage to iTunes Connect" either times out or loses connection

I request your help with this as I have been fighting with this since last night. I have googled for hours and I can't seem to find a solution to this so I am starting to fall for desperation.
Basically, I submitted an app last week. It got rejected because of a small mistake of my part. I want to resubmit it now, but the app won't upload. I need to note I have reconfigured my network since then but I'm sure all ports are open and that nothing should be getting on the way of my app being submitted.
Most of the fixes I have attempted to do come from other SO questions. Since nothing works, I am starting to think it's an issue with Apple, but at the same time I doubt they would leave this error unnoticed for over 15 hours now.
Above is an screenshot of what I get when I try upload an app using the Application Loader. The same error shows up from Organizer if I leave it running long enough. When I use XCode, I get a Connection Timed Out error.
Amongst the solutions I have tried:
Restart Xcode.
Restart my Mac.
Restart my router and modem.
Gone Xcode > Contents > Applications > Application Loader > Contents > MacOS > itms > java > lib - Opened net.properties with TextEdit and changed the line # https.proxyPort=443 to https.proxyPort=80
Went to preferences and left only DAV checked.
Built my app with a different certificate and provision profile.
Finally, I am using an iMac, so answers in the lines of "go to your nearest library and use their Wi-Fi" are not really feasable.
I am open to new ideas to try.
It looks like it is a trial and error kind of thing with me. For starters, my iMac never succeeds sending my app to iTunes. But my MacBook Pro does. With Application loader.
If the process is stuck in "Sending iTunes Usage to iTunes Connect" for over 15 Minutes, I force-quit Application Loader and open it again. It takes around 10 minutes for me to get past that stage.
Then comes the "authenticating with iTunes Connect" step, which takes around 10 minutes as well. If it goes for over 15 minutes in that step, then I have to force-quit.
These tips may not help everybody but it seems to be my case...
I have the same! I have tried with other network sources, but negative result. But i solved this with Force Quit Aplication Loader when it shows you issue. I hope it helps to U.
The moment you see this error.Just Hold CMD key and press Q. Then try again. You don't have to switch your network sources. It looks like App is spawning multiple threads to upload your IPA.

Uploading IOS app to app store. Seems to freeze and internet stop working

In Xcode i have have created an archive of the app. Verified it no problem. then when i click Distribute i get as far as "Your application is being uploaded" and shows the progress bar.
The bar never moves and after a few minutes my internet breaks. i need to restart my router to get the internet back.
one of the times i received this error "SSL error occured and a secure connection to the server cannot be made"
Anyone ever experienced this or have an idea of whats happening?
Thanks
I also faced this problem: "your application is being uploaded stuck"
My ANSWER IS:
Either just delete your derived data from organizer or Instead of uploading via Xcode, try via it using Application Loader.
I choosed via Appplication Loader and Steps to do that are:
Step1: Make .ipa file via Ad-Hoc Deployment by click Distribution button.
Step2: Find from menu bar of Xcode -> Open Developer Tool -> Application Loader.
Step3: Then upload it that .ipa file in Application Loader.
**
OR ANOTHER SOLUTION
**
For uploading it via XCode:
Step1: Firstly Validate your archive file by clicking on validation button of Organiser.
Step2: Then Upload it to App Store via Oraganiser.This way you can also solve this problem as well
THIS IS MY ANSWER . HAPPY TO HELP :):)
apple uses java ?
my mac does not have problem for internet.any application can download/upload.
except xcode's organizer's distribute or application loader blocks whole internet and modem stops working for a temporal time.
it is obvious not a mac problem. but apple's uploading system strategy seems not good.
they gotto fix this.
I've heard of some users having issues if they're running old versions of Java. If you can't update, or if updating doesn't fix it, you can try:
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
(other similar workarounds here.)
It could also be an Internet connectivity issue.
Either way, you can also try uploading your app using Application Loader.
I updated my old Java version (from 21 to 51). Is still freezing my Internet.
I validated my archive with Organizer. Is still freezing my Internet.
I tried to upload an IPA with Application Loader. Is still freezing my Internet.
I deleted all my old archives in Organizer. Is still freezing my Internet.
Finally I connected my Mac to Internet through my iPhone's Internet. In resume I connected my Mac to Internet with another provider. This solved my problem
Sounds like my land ADSL provider have some problem with the AppStore.
It will be to do with your firewall on your mac, it may be blocking java all together. Go to settings, security and privacy and then firewall. Once on there go to fire wall options and then there should be an option to allow java to pass through the firewall.
Hope that helps, did with me :)
None of the above suggestions work for me. Likely the real cause is physical and related how Application Loader is using the internet. I have ADSL2 connection with a Netgear modem/router assigning each device at home a fixed IP address according to the mac address of the network interface of each device. I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet. However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.
Even stranger, when Application Loader is uploading, the modem/router could easily lost connection to the internet, as I could see from the LED lights of the modem. The connection is lost randomly at any progress of uploading the 20 MB file.
So I had turned off Windows PCs, iPads, iPhones and Android device at home, so Mac mini is the only device using the Internet, the Application Loading has finally been able to upload the app successfully in one go.
My guess is, my home phone line has some noise, and Application Loader is using the internet aggressively particularly the up link, so stressing out the modem, then causing other devices like my Windows PC lost connection, not even able to resolve host. When Safari is uploading video to App Store, no problem.
So my working solution is to make Mac be the only device using the Internet, given that the internet connection is already in poor condition with noise, near the edge of losing connection.
It's very old issue, but in case any of you is still looking for a solution, I stopped using Xcode to upload my apps to the app store. Instead I'm using Transporter (by Apple) and it seems to fix the freezing

Resources