trying to use xcrun altool to upload fails because of java

Hi forum


I recently upgraded to Catalina and XCode 11 and now I'm having a weird problem uploading my app into the App Store.


When using organizer, the upload just fails with an error message saying «An error occured uploading to the App Store». No further error is given.


So I tried using xcrun altool to upload the ipa.


There, I get the following error:


Java 1.5 or Java 1.6 is required. Currently, java is the default java version. Please upgrade.


xcrun uses the itms-transporter at this location: /usr/local/itms/bin/iTMSTransporter


Any ideas what's going wrong here?

Replies

Update: Apple responded with this fix (which worked for me)


"...check the following path to confirm whether or not you have an older version of Transporter installed:

/usr/local/itms


If you do have an older version of Transporter installed, we request that you remove it. Once the older version of Transporter has been removed, the issue should be resolved the next time you launch Xcode.

"




//I've had this issue for 3 weeks. Its been escalated twice. Still no resolution.

Thanks! We had this issue too and that fix worked!

still xcode 12:
2021-05-12 16:12:05.172 altool[16336:462092] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
2021-05-12 16:12:17.924 altool[16336:462095] Using the proxy host '127.0.0.1' for delivery.
2021-05-12 16:12:17.927 altool[16336:462095] Using the proxy port '7890 for delivery.
2021-05-12 16:12:17.974 altool[16336:462095] Error:
Java 1.8 or higher is required. Currently, java 1 is the default java version. Please upgrade.
2021-05-12 16:12:17.974 altool[16336:462095] Out: