Uploading Error

After hours and hours of being stuck on the “An error occurred uploading to the iTunes store” error, and after deleting and renewing provisioning profiles, certificates, and keys, along with several different versions of Xcode, Java updates and rebooting and such, we are finally able to upload our binary through the Application Uploader 2.5.2 (Xcode 4.3.2 and running on Mac OS X 10.7.3 Lion).

Just possible with this simple fix!

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
Via: https://devforums.apple.com/thread/147231