title: Xcode4.2 : an error occurred uploading to the itunes store
body: <p>Hey in trying to submit my app to iTunes. It passes the validation, but when i submit it's showing an error:</p>
  
  <pre><code>an error occurred uploading to the iTunes store
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/jC1ID.png" alt="enter image description here"></p>
  
  <p>I have tried all possible solutions that I found during searching about this problem for almost one day .</p>
  
  <pre><code>I tried these lines without any success 
  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
  </code></pre>
  
  <p>I use xcode 4.2 and snow leopard Mac OS .</p>