"Invalid Code Signing Entitlements" when adding associated domains

I am trying to add associated domains to an app that is already in TestFlight. When I run expo build:ios -c" and then try to run expo upload:ios`, I am continually running into the following error:

“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’”

I have looked through similar tasks, but nothing I do seems to get this to work.

Diagnostics here:

 Expo CLI 3.19.2 environment info:
    System:
      OS: macOS 10.15.4
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 13.8.0 - /usr/local/bin/node
      Yarn: 1.22.0 - /usr/local/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
    IDEs:
      Xcode: 11.4/11N111s - /usr/bin/xcodebuild
    npmPackages:
      expo: ^37.0.7 => 37.0.8 
      react: 16.9.0 => 16.9.0 
      react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4 
    npmGlobalPackages:
      expo-cli: 3.19.2

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.