Search code examples
iosxcodebuildxcrunnotarize

alltool: The provided entity includes a relationship with an invalid value


I'm trying to upload an .ipa with altool, but it doesn't accept the apple-id argument --apple-id id.

xcrun altool --upload-package \
    MyApp.ipa \
    --type ios \
    --asc-public-id $ASC_PUBLIC_ID \
    --apple-id [email protected] \
    --bundle-version 100 \
    --bundle-short-version-string 1.0 \
    --bundle-id com.myco.myapp \
    --apiKey $APPLE_ID_KEY_ID \
    --apiIssuer $APPLE_ID_ISSUER_ID \
    --show-progress

It errors out with:

The provided entity includes a relationship with an invalid value '[email protected]' is not a valid ID for this relationship.

The altool documentation says that apple-id is the "ID of the app":

--apple-id id
                  Specify the Apple ID of the app to be uploaded with --upload-package.

Is that something different from my Apple ID used to sign into Apple Developer?


Solution

  • The app Apple ID is under General/App Information, in App Store Connect.