Post

Replies

Boosts

Views

Activity

Can not upload package to AppStore: ENTITY_ERROR.RELATIONSHIP.INVALID
Hi all, I'm trying to upload my package to App Store and it fails with status=409 and message: "The provided entity includes a relationship with an invalid value" Here sequence of my actions and the context: Packaged java based application with package and signed with "3rd Party Mac Developer Application" (app works nicely). Build pkg using: productbuild --sign "3rd Party Mac Developer Installer: MyCompany" --component MyProduct.app /Applications MyProduct.pkg Verified my package with: xcrun altool --validate-app ... No errors (took a while to fix entitlements) trying to upload my package using: xcrun altool --upload-package MyProduct.pkg --apple-id "MyID" --bundle-id "my.bundle.id" --bundle-version 6.0.0 --bundle-short-version-string 6.0.0 --type macos -u MyID -p "my-pass-word" Error message I recieve: *** Error: Error uploading 'MyProduct.pkg' *** Error: ENTITY_ERROR.RELATIONSHIP.INVALID: The provided entity includes a relationship with an invalid value Unable to perform upload. (-19211)  {     NSLocalizedDescription = "ENTITY_ERROR.RELATIONSHIP.INVALID: The provided entity includes a relationship with an invalid value";     NSLocalizedFailureReason = "Unable to perform upload.";     code = "ENTITY_ERROR.RELATIONSHIP.INVALID";     detail = "MyID" is not a valid ID for this relationship.";     id = "c5b5de4f-5171-4af9-9d09-63fb73405ca0";     source =     {         pointer = "/data/id";     };     status = 409;     title = "The provided entity includes a relationship with an invalid value"; } Tried to use Transmitter and received following error: Could not create a temporary .itmsp package for the app “MyProduct.pkg”. No suitable application records were found. Verify your bundle identifier ‘my.bundle.id’ is correct. I tried to re-create application in App Store Connect using different identifier and different bundle-id and to rebuild app with new ids- same result. Any ideas?
6
2
5.3k
Jan ’22