Universal Links with Expo and Branch: Entitlements Error

I am trying to set up expo universal links, so when a user presses my link and has my app downloaded on their phone, they will immediately be sent into my app. I am trying to achieve this with Branch.io. I am attempting to follow the documentation. First, I added associated domains:

Associated Domains Added Through Apple

Then, I went to branch, put in my bundle and Apple App prefix. I then got my link domain:

Getting my Link Domain From Branch

Finally, I configured my App.json (I only show the relevant code here):

  "expo": {

    "scheme": "librexapp",
    "assetBundlePatterns": [


      "bundleIdentifier": "[Redacted]",
          "apiKey":   "[redacted]"

And when I went to upload to the app store, I got the following error:

ERROR ITMS-90163: “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: ‘com.apple.developer.associated-domains’ in ‘Payload/ExpoKitApp.app/[Redacted]’.”

I am not sure where I went wrong. What part of this process did I miss or do incorrectly? Thank you for the help!

Would like to know this as well