Search code examples
iphoneiospush-notificationxcode4.3itunes-store

An error occurred uploading to the iTunes store


Using Xcode 4.3.2.

Since yesterday, I can't upload to ITunes Store. I can't find any reasons.

Archive -> Validate... no problem.

But, it is occurred error in distribute.

enter image description here

My app is using Push.

My Xcode version is 4.3.2.

What do I do to escape this state?

Please help me... and thank you.


Solution

  • I had the similar issue..which i was able to fix using the solution mentioned here - An error occurred uploading to the iTunes Store - Please upgrade Java

    for quick reference I am adding the solution here also

    open terminal window and execute below lines of code

    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