54

Some days ago I installed Xcode 5. Today I'm trying to submit an app, but during validation I'm getting this issue: "The network connection was lost". I've never had any problem with Xcode 4.

My network is OK and I'm not using any proxy.

What is causing this problem?

Smern
  • 18,746
  • 21
  • 72
  • 90
Enrico
  • 571
  • 1
  • 4
  • 4
  • 1
    I am having the same issue since some hours. Before, also with Xcode 5, everything worked fine so I think that it's a temporary problem with the Apple servers. – Hyndrix Sep 30 '13 at 14:25
  • 1
    Same here in Sweden, so the issue seems to be their end and what the message says. Good that I found this so I can stop trying all sorts of things, too bad the upload server is down :'( – Henrik Erlandsson Sep 30 '13 at 14:48
  • Same problem in London. I'm trying to upload 10 apps. Tryed more than 50 times... only 2 builds finally uploadeds. I've got the problem with Xcode 4.6.3 :( – Gabriel.Massana Sep 30 '13 at 14:55
  • 1
    Same here in Düsseldorf, Germany. I tried the validate process for more than hour with no success. :-( – uldo Sep 30 '13 at 15:03
  • 1
    Same issue here in France, whereas we submitted 10 apps on Saturday. Probably a heavy traffic issue. – Librelio Sep 30 '13 at 15:09
  • 1
    Same here in Sweden.I was able to upload an archive successfully yesterday and today, I have been trying for like 4 hours and my validation always fails with network connection lost.I am even facing problem in posting iMessages. – slysid Sep 30 '13 at 15:15
  • Finally is working NOW – Gabriel.Massana Sep 30 '13 at 16:40
  • Working now in France at 6:00 AM CEST – Librelio Oct 01 '13 at 04:13
  • Working here again. (6:50 AM CEST) – Hyndrix Oct 01 '13 at 04:53
  • Working here in Italy too. Thanks to all! – Enrico Oct 01 '13 at 07:02
  • I am having the same issue, tried rebooting, quit Adobe Application Manager still no luck. – mj662 Jan 08 '14 at 17:56

6 Answers6

93

It might have been a coincidence, but like other recent xcode issues I solved this by restarting xcode.

Smorka
  • 1,077
  • 7
  • 13
  • thanks, a typical solution to many software problem, have you tried to turn it off and on again :) – cocoaNoob Apr 29 '14 at 12:27
  • It didn't work for me. Should i create a new archive for submission? – Asif Bilal Apr 29 '15 at 15:03
  • because it seems like a single symptom gazillion causes kind of issue. not even rebooting freaking osx fixed this for me. that's why it's probably not accepted. As for the rebuilding the ipa I doubt that's gonna fix anything, it seems to be broken server-side this time around – Anton Tropashko Apr 30 '15 at 08:40
  • This fixed it. Using Xcode 6.3.1, seems Apple could have fixed this by now if they cared. – picciano Apr 30 '15 at 14:52
3

For me the solution was to submit the app via Application Loader (downloadable directly from iTunes Connect) rather than Xcode.

Peter
  • 533
  • 1
  • 6
  • 17
2

I have the observation that with Mavericks and App Nap enabled, a hidden Organizer window within XCODE will cause the network connection to be dropped.

Even if the window is occulated (hidden) for just a second).

Make sure the window is always visible and the problem does NOT occur.

JimP
  • 87
  • 5
1

It's all about your luck because you can't control Apple's Server's traffic problem, We all merely become the victim of that..So cut the long story short...

By restarting may work but everyone as in my case, i tried by restarting XCODE, SYSTEM, ROUTER and anything and everything possible, only error name had changed from "The network connection was lost" to "The request timed out" and vice Versa..!

Again i googled for that error some more solution i have found so i thought it may help further seekers.

Here, XCode 5 hangs with a timeout error when validating/uploading a "ready to be uploaded" app

PS: Only perseverance can help you in this way..keep redialing..And WAIT and WATCH:P

Community
  • 1
  • 1
mavericks
  • 1,589
  • 16
  • 24
0

I had this issue. I submitted app through Application Loader and it worked fine.

Mann
  • 5,477
  • 6
  • 45
  • 57
-1

For me the issue seemed to be related to the Adobe Application Manager which was trying to update CS6 but was stuck. I rebooted the computer and restarted the Adobe update and the instant I did that xcode started the upload.

Oz Solomon
  • 2,969
  • 23
  • 22