title: Add Associated Domain To Expo React-Native Application
body: <p>I'm trying to add an associated domain to my Expo (non-ejected) react-native project.</p>
  
  <p>My app builds fine and submits through the XCode application loader normally.</p>
  
  <p>But if I add the <code>associatedDomains</code> array to my <code>app.json</code> I get an error when I try to submit the application:</p>
  
  <p><code>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/ExpoKitApp'."</code></p>
  
  <p>I'm not developing this at all within XCode. I've been building the app within my own environment, running <code>expo build:ios</code>, downloading the <code>.ipa</code> file, opening XCode on a mac, and then running the <code>Xcode &gt; Open Developer Tools &gt; Application Loader</code> to submit it to testflight. That process has been working fine, but I'm not sure where in XCode or within my Apple developer account I need to enable the entitlement, if that requires updating some config file, and if so where I put it afterwards.</p>
  
  <p>The expo documentation mentions (<a href="https://docs.expo.io/versions/latest/workflow/linking/#universal-links-on-ios" rel="noreferrer">https://docs.expo.io/versions/latest/workflow/linking/#universal-links-on-ios</a>) that I need to "To add your domain to the entitlement, click Add (+) at the bottom of the Domains table in order to add a placeholder domain with the webcredentials: prefix. Replace the placeholder with your site’s domain, retaining the prefix." but I don;'t know where my Domains table is. Is that in the apple web interface, or in XCode?</p>
  
  <p>Apologies if the question is a bit basic, or if I'm missing something about the XCode or react-native app development workflow, and thanks for the help!</p>