I tried very hard the last two days to submit an update of our App to Apple directly out of XCode. The archive is always verified, but the submit process is stopped then with an error-message in XCode Organiser
an error occoured uploading to the iTunes Store
I opened the Console Application on the specific Mac and there is an error telling me something about a wrong java-version:
05.04.12 11:29:52,557 Xcode: Error:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.
05.04.12 11:29:52,558 Xcode: Out:
05.04.12 11:31:16,776 Xcode: Error:
05.04.12 11:31:16,777 Xcode: Out:
I couldn't believe this should be the problem, cause two days before, i could submit an app binary to the store on this Mac without a problem.
On terminal launching java -version
outputs:
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-413-11M3623)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-413, mixed mode)
I thing i remember that there's been an JAVA Update by Apple in the last days.
Does anybody have the same problem?
Oracle Java 1.7 broke the uploader AGAIN. Im using;
And getting the same error. I reported it as a bug on ADC and it was acknowledged as such. Two ways to fix:
The update
Java for OS X 2012-002
(released today) fixed the problem.Before the update, the symlinks are missing:
after the update:
This is a known bug! After installation of the latest JAVA Update by Apple via Apple Software Updater, it is not possible to upload binarys to the Store. There is a workaround by entering the following commands in termin to create symlinks:
There is no need for a restart of Xcode after that or a restart of the whole Mac. Right after setting the symlinks you can upload binarys to the Store and also the Application Loader is working as supposed to.