Error uploading to app store

Hi, I am using the following command to upload my .ipa to app store which has been working for years, but now, since the last month I get the following error:

xcrun iTMSTransporter -m upload -assetFile Util/myApp.ipa  -u "${APPLE_USERNAME}" -p "${APPLE_PASSWORD}" -asc_provider "${APPLE_TEAM_ID}"
An error (-10814) occurred. The operation couldn’t be completed. (OSStatus error -10814.) (null)
Error: Process completed with exit code 1.

I also tried the following code with no luck:

xcrun altool --upload-app --type ios --file Util/myApp.ipa --username "${APPLE_USERNAME}" --password "${APPLE_PASSWORD}" --asc-provider "${APPLE_TEAM_ID}"

I also tried to notarize my app before just in case, which is done with no error (not sure if its necessary) with:

xcrun altool --notarize-app --primary-bundle-id "com.mydomain.myapp" --username="${APPLE_USERNAME}" --password "${APPLE_PASSWORD}" --file Util/MyApp.ipa
	

But still getting the uploading error, has anyone came across with this problem?

I want to tackle this first:

I also tried to notarize my app before just in case, which is done with no error (not sure if its necessary)

Notarisation is only required if you distribute a Mac app outside of the Mac App Store using Developer ID signing. It’s irrelevant to App Store distribution. Moreover, notarisation use a very different backend, so this diagnostic doesn’t tell you much )-:

FYI, we recently shipped notarytool, which decouples notarisation from the App Store Connect infrastructure entirely. For more background on that, see Notarisation Resources.


Regarding your App Store Connect issue, the error you’re seeing, -10814, is a macOS error code, namely kLSApplicationNotFoundErr, which suggests that something has gone wrong locally, not on the App Store side of things. Weird.

If you run the --list-providers command, what does it return:

% xcrun altool CCC --list-providers
ProviderName ProviderShortname PublicID                             WWDRTeamID 
------------ ----------------- ------------------------------------ ---------- 
Quinn Quinn  …                 …                                    SKMME9E2Y8

where CCC is your credentials.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error uploading to app store
 
 
Q