Xcode 12 GM failed to upload an app

I'have build my app via Xcode 12 GM (12A7209), but on the uploading step it fails with error:

Could not find or load main class GM.app.Contents.SharedFrameworks.ContentDeliveryServices.framework.Versions.A.itms.macOS.lib:.Users.aminbenarieb.Library.Java.Extensions:.Library.Java.Extensions:.Network.Library.Java.Extensions:.System.Library.Java.Extensions:.usr.lib.java:.

Anyone has experienced something like this before? Any suggestions?
Answered by J0hn in 632854022
I noticed that you error starts with GM, and mine started with 2.

I'm guessing your Xcode is named "Xcode GM" cause mine was named "Xcode 2".

Changing mine to Xcode_2 fixed this issue. Try renaming your Xcode to Xcode_GM
I've managed to send the build via previous Xcode 11.6 (11E708), lol.
It is not yet compulsory to use Xcode 12.

That will be after April 2021 according to Apple notice:


Minimum SDK Requirements
Starting April 2021, all iOS and iPadOS apps submitted to the App Store will need to be built with Xcode 12 and the iOS 14 SDK. Starting April 2021, all watchOS apps submitted to the App Store will need to be built with Xcode 12 and the watchOS 7 SDK.


Accepted Answer
I noticed that you error starts with GM, and mine started with 2.

I'm guessing your Xcode is named "Xcode GM" cause mine was named "Xcode 2".

Changing mine to Xcode_2 fixed this issue. Try renaming your Xcode to Xcode_GM
I had the same problem, but my Xcode 12 GM is just called "Xcode". My error was "could not find or load main class 12". Uploading the binary with Xcode 11.7 worked. So thanks for posting your solution, a small ray of light in a semi-dark week. :)
I had same problem with my GM release, named "Xcode 12". I guess Xcode's developers made some incorrect assumptions about it's file name.
Xcode 12 GM failed to upload an app
 
 
Q