Cannot upload IPA file

I'm trying to upload an .IPA file to the AppStore. Since the Application Loader has been removed, I use the following command in the terminal: xcrun altool --upload-app --type ios --file "/Users/***/Downloads/Release/de.***.App.iOS.ipa" --username "***@icloud.com" --password "***" --verbose.


But nothing happens, stuck at "The app is uploaded to the AppStore" (if I try it over Visual Studio for Mac). Last Lines in Log:


2019-09-28 12:46:37.422 altool[89190:5921740] Web service call (validateSoftwareSPIUsage) result: (null)
2019-09-28 12:46:37.549 altool[89190:5921740] Using template named: purple-metadata-template
2019-09-28 12:46:37.551 altool[89190:5921749] Sending request to iTunesTransporter...
2019-09-28 12:46:37.551 altool[89190:5921749]     Command: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter
2019-09-28 12:46:37.551 altool[89190:5921749]   Arguments: -m upload -u '***@icloud.com' -vp json -TxHeaders eyJqZXXXJvdXRlIjoicHYifQ== -sessionid @env:FD1D93F3-F3E5-4D58-92EA-AEB97F7D76A3 -sharedsecret @env:XXXX -f '/var/folders/_1/7_lm5w6j5px21sd311p2g7340000gn/T/871XXXXD47C9796/1219768922.itmsp' -indicator true -v eXtreme -Dtransporter.client='altool' -Dtransporter.client.version='4.00 (1181)'
2019-09-28 12:46:41.539 altool[89190:5921732] [2019-09-28 12:46:41 MESZ]   INFO: Configuring logging...
2019-09-28 12:46:41.550 altool[89190:5921732] [2019-09-28 12:46:41 MESZ]   INFO: Logging level set to eXtreme


What I already tried:

- Firewall off

- other internet connection

- Java Update

- all updates (XCode, Mac, Visual Studio, Mono)

- all profiles new, old profiles deleted and revoked



No network activity during upload.

Replies

Hello sebastianfromduderstadt,

Have you tried to use altool nativly without leveraging the xcrun command in order to invoke the service? altool should be located in the below path inside of the latest version of Xcode.


/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework/Versions/A/Support/altool


What happens when you try to upload the IPA file using the above command with the correct arguments?


Hopefully this helps!

exactly the same problem 😟

Did you solved this issue?

Hello sebastianfromduderstadt,

Apologies it took me so long to respond. I wanted to attempt to re-create the issue on multiple environments and I am not able to re-create the errors that you are seeing. However, it does look like we might be running different command line tools. Inside of Xcode, what are your Command Line Tools set to?


Xcode -> Preferences -> Locations -> Command Line Tools


I am running "Xcode 11.0 (11420a)"


Looking at your logs, it looks like all of your arguments are being grouped into one call to altool, but when I look at my logs, each argument is being parsed individually like the below example.


2019-10-06 23:11:10.110 altool[28921:10721161] Keeping item '--upload-app' - 1
2019-10-06 23:11:10.110 altool[28921:10721161] Keeping item '-f' - 2
2019-10-06 23:11:10.110 altool[28921:10721161] Keeping item 'testing.ipa' - 3
2019-10-06 23:11:10.110 altool[28921:10721161] Keeping item '-u' - 4


When you run altool from the command line (terminal), do you see the information above within the first 10 lines of logging information? Are you using any tools to run these commands for you that could be causing some type of issue?


Hopefully this helps!

FYI see https://developer.apple.com/news/?id=10152019a

Do you solve this problem ?

I have the same

And also with the Transporter app, it's doesn't work, it's stay on: "authentifiate with the App Store..."

Hi have you solved the problem, I'm having the same issue.

Same issue here. Any clues on how this gets fixed?

I am having the same problem trying to upload .ipa with Transporter app and Xcode but both are not working, when authenticating with app store it failed said "App Store Connect Operation Error, could not download"