Uploading app to iTunes Store,Error in Mavericks OSX 10.9.3 ,Xcode 5.1.1 [duplicate] - ios

We Really need some help on this one:
We've Struggled with all the Apple Mumbo-Jumbo for the Last two months and can't seem to get our APP on the APPStore...
Right now my problem is after Validating the ARCHIVE compilation and sharing it.. in the Submit Process I Get -
"An error occurred uploading to the iTunes Store"
I Really don't Know what I'm doing wrong and don't seem to find ANYTHING on the Internet that solves the problem...
I've been stugling with this for over a week now... I've tried:
Creating a new Distribution Profile for Code Signing.
Checking All the Target Settings over and over.
Changing the FTP mode from Passive to non-Passive
Connecting from different networks
Reinstalling Xcode4
some other Work Arounds like Downloading the application Loader (Haven't installed it yet, but I Don't Know if I Should)
Please help us, what do you think could be the problem?
Thanks
Hernan

If you are unable to upload Apps to Apple and installed the JavaOSX update (April 3, 2012) this may help you regain your ability to upload Apps:
You can work around this issue by re-creating the old Java 1.5 symlinks:
cd /System/Library/Frameworks/JavaVM.framework/Versions
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
Edit Oct 5, 2012 Oracle's Java 7
Elaborating on Hackmonford's comment below.
This exact error message also occurs with Oracle's Java SE 7 1.7.0_10 package installed. To resolve, open "Java Preferences" and either change the order to have Apple's Java SE 6 first, or untick Oracle's Java 7 while submitting to the app store. Verify your change by opening the Terminal:
prince$ java -version
java version "1.6.0_35"

I was having this problem this week, and installed the Java for OS X Lion 2012-002 update, and the problem cleared up. Resetting disk permissions had no effect.

This just happened again.
For OSX 10.8.2 users (does not have Java preference), the only way to fix this is to uninstall oracle jdk.
cd /Library/Java/JavaVirtualMachines
sudo rm -rf jdk1.7.0_09.jdk/

I had also a JavaVM / JRE issue. I have installed the JDK 7 preview from Oracle and that mixed up the upload process which told me the known "An error occurred uploading to the iTunes Store".
A quick check of /var/log/system.log (e.g. using tail in a terminal: tail -n 100 /var/log/system.log) brought up the following error message:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.
I had installed the MacOS Preview of JDK 7 directly from Oracle. To fix this issue, simply launch the Java Settings app in Utilities and uncheck JDK 7 from Oracle. Of course you should have an alternate JRE from Apple. See the screenshot how my configuration looks. The upload works for me now.
The odd thing is that the Oracle JDK isn't recognized as Java 1.7 by Apple. This seems like a bug.
UPDATE:
The GUI tool was removed from MacOS. Now, the only solution I know of is to remove the JDK 1.7 folder manually. See the JDK 7 docs how to do this:
Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:
/Library/Java/JavaVirtualMachines/jdk<major>.<minor>.<macro[_update]>.jdk
For example, to uninstall 7u6:
% rm -rf jdk1.7.0_06.jdk

A bit late, I know - but for anyone still having this problem - Look in your /var/log/system.log log file. In my case the problem was that the iTMSTransporter script (used by the Organizer when uploading the file) used 'awk', and I had to replace it with '/usr/bin/awk'.
Completely solved my problem.
Y.

Just in case this is useful for anyone else - for me it was that the Java JRE was not up-to-date. I checked the console and Application Loader was complaining

I had this problem today after installing latest XCode.
I fixed it by running software update and installing latest Java Update.

I tried the same thing as Hernan, but even with application loader 1.3 I wasn't able to upload.
I noticed that this has happened after installing OSx Lion and upgrading XCode to 4.1!
I followed Joe's tip and I found out that JAVA wasn't even installed.
Follow this blog entry:
Unable to Upload App to App Store

My mbp now run Xcode4.2(4D199) on Lion, I installed the latest java for Lion. And finally I sovled this issue.
Many guys said, he can used the old Application Loader app to upload the apps. so I guess the problem is the latest Application Loader app(2.4.1 (190)), and the fact told me I am right
Okie, in short words:
Here is the solution:
1.I hope you guys do not delete the old Xcode(4.1). We Should pick up the old version Application Loader app.
cd <Install Xcode app>/Contents/Resources/Packages
cp ApplicationLoader.pkg ~/Desktop/
Now, you get the ApplicationLoader package.
2.Install the old one.
Tips: you can remove the latest Application Loader app in path: /Developer/Applications/Utilities/ or just remane it.
That's All.
Hope this way can help you and enjoy the new Xcode4.2. Also hope apple developer can saw this problem and test the latest Application Loader app more.

No Problems submitting to AppStore on April 1st. Issue occured on April 9th. Installing the Java for OS X Lion 2012-002 update via Mac-OS software updater and rebooting the machine fixed it.

Just update to the latest JAVA at your Mac Software Update.

Here is the steps to resolve this issue:
To start with I had installed Oracles Java 1.7 JDK, which was really messing things up.
Went to Finder>Applications and entered in Search box - JavaAppletPlugin.plugin
Right clicked and removed to trash.
A check in Terminal for Java version still showed Java 1.7
my-imac:~ my$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
1. Finder>Library>Java>JavaVirtualMachines showed the 1.7 SDK (make note of exact name of the Directory name)
Just in case anything went wrong I copied the 1.7 SDK folder to my desktop before doing the next item
2. In terminal type
cd /Library/Java/JavaVirtualMachines
3. You should now be in that directory
sudo rm -rf jdk1.7.0_06.jdk (or whatever the exact name of the directory is in step 1.)
You may have to enter your administrator password
The directory should now be deleted and you can verify in Terminal by
java -version
Mine now showed "Java 1.6_xxx"
Went into Xcode Organizer and distributed my app to the iTunes store without a problem. Whoo,hoo!

Related

How to downgrade xcode completely from the terminal/shell?

I'm not too familiar with mac and iOS but I need to downgrade xcode on a mac host for CI stuff (current app build is failing on xcode 12). I have access to the host via jumphost and I'm not sure if I can connect via VNC (I also don't like this since it's terribly slow) and most of the guides need a UI to download xcode. Any ideas on how to do this completely via terminal?
First of all download older version of Xcode, you will be need sign in to open the Downloads page.
Here is the Xcode releases page with downloads and release notes.
And install it.
After installing you can switch to the version you currently desire (for example 11.2 below) via terminal using a command like this:
sudo xcode-select -switch /Applications/Xcodex.11.2.app

Xamarin downloading and updating error on MacOs Sierra VM

I have a MacOS Sierra VM on VMWare and I'am having problems to download from the Xamarin repositories.
When I first installed Xamarin on Mac, I did the manual install of all downloads from xamarin because the installer gave me an error.
I need to update to Xamarin.IOS 10.4.0 but it gives me an error on automatic installer and I cant download anything.
The manual installer on this page: https://store.xamarin.com/account/my/subscription/downloads
don't show the Xamarin.IOS 10.4.0 version that I need, the last it shows its 10.3.1
Im new on Mac Os but I have internet on my VM and I don't know what to do.
Any ideas?
Any help is worth. Thank you.
I found a manual installer on this url:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-10.4.0.123.pkg
I installed it whitout problems. I dont understand why this link isn't on: https://store.xamarin.com/account/my/subscription/downloads
i found it by myself.
The automatic installer of updates still dont working but this resolve my problem of the Xamarin.IOS 10.4.0.123 version.
Use Xamarin Studio for updates. Even if it fails to complete downloads, you can find all those URLs later in ~/Library/Caches/XamarinStudio-6.0/TempDownload/index.xml.
I also have problems with automatic updates and all the links to the latest versions are almost always missing on Xamarin's Downloads page.

Installing Appcelerator Studio OS X El Capitan

I've been using Appcelerator Studio a lot, never seen this problem before. I recently did a fresh installation of OS X, then installing Xcode (7.3.1) and Command Line Tools for Xcode 7.3.1.
When installing Appcelerator Studio (build: 4.5.0.201602170821) everything is going great, the CLI gets installed. When starting up Appcelerator Studio, I have to configure SDKs, hence I am only interested in iOS at the moment, I uncheck Android in the Platform Configuration. The following is that Configuring SDK encountered a problem:
An internal error occurred during: "Configuring SDK". java.lang.NullPointerException
I continuing, and go to Preferences>Studio>Platforms>iOS, where the iOS SDK home says Not specified, I click refresh - nothing happens.
I run xcode-select -p and the correct path to Xcode Developer folder is printed.
Anyone having a clue of solving this?
I've check all the version statuses, also tried to reinstall and deleting all information that can impact to this.
Share the directory hierarchy where you have stored Android SDK and Platform screen folder. Also try to follow the guidelines of Titanium to integrate iOS, but remember to clean the hidden folders in root directory of your OS X system.
I believe the problem might be with your Xcode. Are you having multiple Xcode's installed?
Use sudo xcode-select -switch <xcode_folder_path> switch between Xcode's.
Then,run appc ti info -t ios and check whether CLI is able to identify the selected Xcode. If your Xcode is listed here, then studio should be able to identify it.

Stuck at application upload to appstore in mavericks

I am stucked while uploading to app store, with the message "Your application is being uploaded..."
I have tried all the steps mentioned here:Xcode stuck at “Your application is being uploaded”
Things I did,
My firewall protection is off
Changed #https.proxyPort=443 proxy port to https.proxyPort=80 in net.properties.
Tried to upload from Application Loader but stucked at "Authenticating with the iTunes store..."
Deleted old certificate,and provisioning profiles, Got new ones.
None of them are working. My system configuration are as follows: OS : 10.9.2 Xcode :5.0 Java : I upgraded from jdk 6 to jdk 7
Jdk folders at Jdk Folders at /System/Library/Java/JavaVirtualMachines/ and /Library/Java/JavaVirtualMachines are -1.6.0.jdk and -jdk1.7.0_25.jdk ( I have tried with 1.6 alone and 1.7 alone also).
When I run java -version from terminal - java version 1.7.0_25
( I have also tried with version 1.6)
JRE version: From system preferences - > Java -1.7
I have tried to upload from two different places but still no luck.
Are there any other methods to solve this issue? Or is my system configurations, java version ,JRE etc wrong,should i update Xcode?
This is my first upload to app store after upgrading to mavericks/Xcode 5. Prior to this there was no problem. When I validated the app before distributing, it is validated without any problem.
Any help is greatly appreciated.
It happens to me also many times, you can do Something like,
if upload from Application Loader Make sure you are login into itunesconnect in safari.
Uplaod it to some older Version of Application Loader
Upload from Different MAC may some of your friend or colleagues.

Install XCode.app reinstalls Xcode 4.1 and not 4.2

This question is not a dupe of, but is very similar to, this question which has an accepted answer: Xcode says I have 4.2 installed, but only 4.1 opens.
On my Mac's App Centre, it says Xcode is 'Installed' (and no option to uninstall or upgrade), but my current install of Xcode is actually 4.1 (with iOS 4.3 SDK). Following the advice of others, I've tried running Install Xcode.app from the Applications folder. This launches an installer that says "Installing Xcode 4" (note it doesn't give any minor version info like 4.1 or 4.2) -- it downloads and installs something. After installation, I still have Xcode 4.1 installed.
I've tried many reboots and also tried running the old uninstall-devtools script before running Install Xcode.app again, and no difference.
My machine is a Mid-2011 Mac Mini and it has no pending software updates available via Apple Menu -> Software Update...
Ok, here's what worked for me:
I deleted Install Xcode.app from Applications, and then ran the following script:
/Library/Developer/Shared/uninstall-devtools
This is in a different location to before and I didn't spot it :/
Then run Mac App Store, search for Xcode, you should find there is now the option to install it.

Resources