Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

AppStore submissions fail after Java Update 2012-006 1.0

Dear All.


After running the Java Update 2012-006 1.0 submissions to the app store using XCode Organizer no longer work. Upload fails.

The error message is well known (an error occurred uploading to the itunes store) and it is also known that the error is related to Java as described in this post http://stackoverflow.com/questions/5783481/an-error-occurred-uploading-to-the-it unes-store - how ever the fixed described there did not work for me.


Uploading the app from a machine which did not run the update worked.


Best

Christian


Developer of [URL="https://itunes.apple.com/app/mailer-newsletter-group-mail/id321504812?mt=8"]Mailer[/URL] and [URL="https://itunes.apple.com/app/timer-with-sections/id315973422?mt=8"]Timer[/URL].

Posted on Oct 20, 2012 12:15 PM

Reply
17 replies

Jun 21, 2013 1:53 PM in response to Christian Fries

Hi friends

I had this problem in the past and i fixed it (I don't remember how)

Since then i uploaded many times with no problem.

Today I wanted to upload new version to my app and, !!X$%X!!, it back...

In my folder "JavaVirtualMachines" it shows only "1.6.0.jdk"

This is the bug:

Error:

/Applications/Xcode 2.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter: line 14: awk: command not found

/Applications/Xcode 2.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter: line 18: ../share/

When i try this:

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

It says:

ln: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/CurrentJDK: File exists

Same when i try 1.6 instead of 1.5

I don't know what to do...

Any help...please..

Jun 21, 2013 3:51 PM in response to YossiHalevi

Viola!!!! I solved it...


Using:


GNU nano2.0.6 File: ...app/Contents/MacOS/itms/bin/iTMSTransporter


#!/bin/sh


# if the user has the run script in their PATH

# then we can get the path to the script from

# 'which'. otherwise, we have to get the path

# from $0

if [ "$0" = "iTMSTransporter" ] ; then

SCRIPT_PATH=`which iTMSTransporter`

else

SCRIPT_PATH=$0

fi


# get the script's directory

SCRIPT_DIR=`echo $SCRIPT_PATH | /usr/bin/awk -F"/" '{print substr($0,1,length($$


# call the transporter relative to the script's directory

#echo Calling: ${SCRIPT_DIR}../share/iTMSTransporter.woa/iTMSTransporter "$@"

"${SCRIPT_DIR}../share/iTMSTransporter.woa/iTMSTransporter" "$@"

#"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents$

AppStore submissions fail after Java Update 2012-006 1.0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.