App Store submission/distribution error "failed to open ssh session" - ios

I'm trying to submit an iOS PhoneGap app to the app store via Xcode 5.0.2 but I'm encountering problems at the final distribution stage. The app works perfectly on the simulators and devices that I've used and even passes the validation yet when I go to distribute it a number of errors pop up and the project's status is listed as "Failed Validation".
I've had no luck searching for these errors on-line and I don't understand how it passes validation when I click validate but somehow fails it when I go to distribute.
I see other Xcode submission problems are linked to Apple server traffic but I'm not getting any "network connection lost" errors.
I've seen some issues requiring a Java update for Xcode but they seemed to effect Xcode 4 and I'm using Xcode 5.
EDIT:
I forgot to mention that I'm using an iMac on a University network.

After having the same issue I've been able to fix this issue.
To solve this issue you need to:
Go to page 6 "System and Network Requirements" from https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
verify that all of the ports and IP addresses are accessible.
After opening all of the ports from the table, I'm now able to upload my apps.
Enjoy!

The problem was that I was using a university network which has a number of restrictions on servers as well as uploading and downloading. The only fix for this problem was to find another Mac to use which wasn't restricted.

A possible solution is to do what #kernix suggests, make sure your bitching corporate firewall isn't trying to mug you off. Are your ports open?
Another solution is to user Application Loader instead.
Open Application Loader, got to preferences (⌘+,) and unselect Signiant and Aspera, but leave DAV selected.

Related

Upload ionic app itunes connect

I'm trying to upload my application to connect itunes but I could not get. Valid from XCODE application without any problem, it also raises and spends the whole process normally. But over 1-2 minutes since connect receive an error, error that appears in iTunes do not understand.
ITC.apps.preReleaseBuild.errors.processingFailed
This message appears next to the binary version of iTunes Connect a red alert icon.
I'm working with this application IONIC, it had already risen above versions without any problem to store.
I cleaned the project, it has made new applications in my environment itunes but nothing works for me. I'm not receiving any specific error. As I said earlier binary is validated from xcode.
This problem is mainly due to a plugin in particular, it was the PushNotification plug, take it away and I could upload my application without any problem. Now, there was never notice from Apple, nor stand that there was a problem with this. It was a matter of luck remove this plugin and it work.

PhoneGap app (for apple) doesn't work

I am new to phonegap and coding so I am unaware as to how to use PhoneGap. First of all what I did was connect my PhoneGap (desktop) app thing to my iPhone PhoneGap developers app. On my iPhone it just says downloading... there is nothing else happening. I then tried using an Android phone to see if it works but it just says
unable to download archive from the server.
unable to properly connect to the server.
I dont know what to do so any help will be appreciated.
This can be caused by many things.
I assume you followed the steps from http://app.phonegap.com/ site:
you have created a phonegap app (at least a sample one using 'phonegap create')
you have a server running (using phonegap desktop or 'phonegap serve' from command line)
There are some things you have to check in order to know what is wrong:
Both the devices must be in the same network to 'see' each other.
The firewall is turned off or allows communication on the port the server is running on (default is port 3000)
Check if your antivirus isn't blocking the same port.
If you still have no connection here is the survey/checklist you should go through. It helps you get closer to the center of the problem you have (points: 7-11).
If that does not help you can always fill an issue (and attach above-mentioned survey) but I strongly recommend reading documentation first

Failed to Make ipa file

When I try to achrvie the Xcode showing the message " Fetching list of teams from the Developer portal " . It always timed out. Can't fetch the team.
I Accounts it Showing Apple Id not having any Development Teams. I have added the Apple Id
I have just tried to make same and it's working properly for me. So, problem is not from Apple Side.
Please check your internet connection properly and try again.
Apple is facing some big problems for last two weeks and due to iTunesConnect Outage they are facing some problem in uploading the new application on AppStore. But here you can also check if your internet connection is good and make sure it is not low internet connectivity.
Here there is also some issue with Xcode 6.2 so better you delete the team and add them again and try to upload the application via Xcode.
In case you are still facing the same issue then better export the .ipa file and upload with "Application Loader" software from Apple.
It's because of low internet connectivity. If your internet connection is not proper then you cannot get an apple account through which you can make an IPA.
July 2015
I'm using XCode 6.4, and today, its been happily building Ad-Hoc .ipas for me all day, but now, on the same MacBook Pro, it's timing out every time on this same "Fetching list of teams from the developer portal" message.
Sometimes, it (eventually) returns a "The request timed out" message, sometimes I just get this...
And no, this isn't an internet problem...
This issue has been reported on several StackOverflow threads over the past few months. Usually it works, but sometimes it doesn't, and, in usual Xcode fashion, it gives no hint as to the cause/solution.
(How can the same company produce such a fantastic OS and hardware, yet their development environment is so consistantly bad, year after year...?)
Update
Sigh.
Out of desperation, I rebooted my MacBook, and now, it happily manages to load the list of teams.
(Just closing all Xcode instances wasn't enough to fix the issue.)
Welcome to the 1990s, folks.
I've tried everything that been said. Nothing works, what I do is try and cancel every moment that you know it will fail. Like a traffic that cant continue because of load of request.

Xcode upload error: Failed to open ssh session. (16)

NOTE: We finally uploaded the app but we didn't really troubleshoot this issue so I would appreciate if someone could share some valuable insight or experience pertaining to this question.
I've also checked the following 2 similar questions but these didn't help:
Error uploading ios application to itunesconnect “failed to open ssh session (16)”
App Store submission/distribution error “failed to open ssh session”
So...
Firstly, I am on a company network and just a week back we published a fresh new app using Max OSX 10.9.3 (13D65) & Xcode v5.1.1 (5B1008).
This week, while trying to upload an update for this app via the same system, I ran into a few issues.
1st try*firewalled
2nd/3rd try*firewalled
So, I got our network admin to open up port number 44001 and tried again.
Although it did reduce the number of errors, it failed again.
Thought we'd try from another system but same error.
4th try*firewalled
NOTE: No changes in network or system
5th try*firewall bypassed
So, I got our network admin to look into it and eventually we ended up bypassing the company firewall just for this upload session but it failed again.
6th try*firewalled
Thought we'd try from another system again so I switched to a colleague's system that hadn't been involved in this app's development, note that it was not bypassing the firewall, and it uploaded successfully in it's 1st attempt, albeit with a few warnings.
System was a Mac OSX 10.9.3 that we later realized had an older version of Xcode (5.0) but anyways...
Would someone be kind enough to shed some light or hints for the following errors/warnings:
Error: Failed to open ssh session. (16) (NOTE: this appeared with/without firewall/restrictions)
Error: Could NOT set the remote path to the existing package
Error: Could not create/set the package's folder on Apple's webDAV
Warning: Creating a new Signiant Transfer Engine
After having the same issue I've been able to fix this issue.
To solve this issue you need to:
Go to page 6 "System and Network Requirements" from https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
verify that all of the ports and IP addresses are accessible.
After opening all of the ports from the table, I'm now able to upload my apps.
Enjoy!
I had the same problem when using my company's network because we use a proxy and due to security reasons all the needed ports and IPs reported on the official documentation were blocked. After switching to an external network without proxies, I was able to upload my new app.

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