iOS Question Compiler error missing type

John Sturt

Active Member
Licensed User
Longtime User
Hello All

I get this when submitting a app to the app store.

Uploading ipa file.
Submitting app (this step can take several minutes to complete).
Error: *** Error: Error uploading 'Edited for posting.ipa'.
*** Error: Unable to upload archive. --upload-app is missing one or more required options: --type. (-1027)
{
NSLocalizedDescription = "Unable to upload archive.";
NSLocalizedFailureReason = "--upload-app is missing one or more required options: --type.";
}

usage: altool --upload-package <file> --type <platform> --asc-public-id <id> --apple-id <id>
--bundle-version <version> --bundle-short-version-string <string>
--bundle-id <id>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --upload-hosted-content <file> --sku <sku> --type <platform> --product-id <id> --asc-provider <id>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --validate-app -f <file> -t <platform>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --upload-app -f <file> -t <platform>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --notarize-app -f <file> --primary-bundle-id <bundle_id>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
[--asc-provider <name> | --team-id <id> | --asc-public-id <id>]
altool --notarization-info <uuid>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --notarization-history <page>
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
[--asc-provider <name> | --team-id <id> | --asc-public-id <id>]
altool --list-apps
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --list-providers
{-u <username> [-p <password>] | --apiKey <api_key> --apiIssuer <issuer_id>}
altool --store-password-in-keychain-item <keychain_item_name> -u <username> -p <password>
[--keychain <filename> | --sync]


I can compile and run a debug and release versions on my devices



Any help
 
Top