iOS Question Problem uploading app to Apple store

red30

Well-Known Member
Licensed User
Longtime User
Problem uploading app to Apple store.
This is the first time I upload an app to the Apple store. I did everything according to the instructions in this thread.
I will describe everything in steps:
- on developer.apple.com I created a new identifier" - Identifiers -> App Ids -> Select a type: App -> Bundle ID Wildcard and named it ts. *
- then Certificates -> Software iOS Distribution (App Store and Ad Hoc) and added your CSR file
- hereinafter Profiles -> Distribution App Store and named it Provision ts
- in b4i added #ProvisionFile: Provision_ts.mobileprovision
- in b4i Tools - Build Server - Build Release App
- in b4i Tools - Build Server - Download last build
- further on the link https://appleid.apple.com/account/manage I created an application password
- then Tools - Build Server - Upload App To Itunes Connect, I enter User ID (this is the mail under which I enter https://developer.apple.com/), password (the password that I created using the link https: // appleid.apple.com/account/manage) and the path to Archive.zip I click Upload and I always get an error:
B4X:
Uploading ipa file.
Submitting app (this step can take several minutes to complete).
Error: *** Error: Error uploading 'result.ipa'.
*** Error: Authentication failed. Failed to get authorization for username '*******@gmail.com' and password with errors:(
    "Error Domain=ITunesConnectionOperationErrorDomain Code=-19000 \"Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com\" UserInfo={NSLocalizedRecoverySuggestion=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedDescription=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedFailureReason=App Store operation failed.}"
) (-1011)
What am I doing wrong?
 
Last edited:

red30

Well-Known Member
Licensed User
Longtime User
I figured it all out. Maybe it will help someone.
My mistake was that when creating an identifier, you need to select Explicit and specify the full identifier.
And also before uploading the application (via Upload App To Itunes Connect), you must first go to appstoreconnect.apple.com/apps and add the application there, choosing the same identifier that you specified when creating in "Certificates, Identifiers & Profiles"
 
Upvote 0
Top