skip to Main Content

The following error occurs when uploading to App Store Connect. Is there a solution to this error?

The provided entity includes a relationship with an invalid value

'' is not a valid ID for this relationship. (ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX)

Xcode version 14

12

Answers


  1. Chosen as BEST ANSWER

    This error can occur when using an invalid version string. Please ensure that your app uses the following format for your 'Bundle version string (short)' and 'bundle version' strings [number].[number].[number] in your info

    You can find this fields Runner > Info section


  2. This worked for me:

    1. Install the Transporter app from the MacOS app store

    2. From Xcode’s organizer select your archive and press Distribute App

    3. Select Export and proceed as usual

    4. Drop the exported .ipa into the transporter and press Deliver

    Hope this method helps!

    Login or Signup to reply.
  3. This worked for me:

    Go to info tab and change the bundle version to Number. Bundle version should be your app version.

    Login or Signup to reply.
  4. The same happened for me when my current version of the app was in In Review state:

    The provided entity includes a relationship with an invalid value – You cannot create a new version of the App in the current state. – /data/relationships/app

    I just needed to wait for approve and then everything worked fine.

    Login or Signup to reply.
  5. I just had the same issue happen to me. Didn’t make any changes and just retried the upload. It worked. Go figure.

    Login or Signup to reply.
  6. SOLUTION…
    Remove non-numeric characters from TARGETS > General > Identity > Version.

    PROBLEM…
    I had appended "a" to my Identity Version "37.7a"
    Changing back to "37.7" fixed it.

    Login or Signup to reply.
  7. This worked for me:

    Quit XCode.
    Open XCode again with the project.
    Go to XCode -> Project Menu -> Clean Build Folder.
    Archive project again.
    And it worked.

    Login or Signup to reply.
  8. I had this bug when my app version was rejected. I had to cancel the submission. It worked after cancellation.

    Login or Signup to reply.
  9. change the app status to "Prepare for Submission" in App Store Connect

    Login or Signup to reply.
  10. Removing the Apple ID account in Xcode and re-adding solved it for me

    Login or Signup to reply.
  11. I encountered this error when I ticked the "Manage Version and Builder Number" checkbox in the "App Store Connect distribution options" popup. (See screenshot below.) After unticking this checkbox and retrying the upload, it worked.

    Add Store Connect distribution options checkbox

    Login or Signup to reply.
  12. So from the below image if 1.0 is ready for sale and you are trying to upload 1.1 it will not work. I needed to create 1.1 version from the appstoreconnect. Then it worked.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search