IOS Build Failed. Provisioning profile does not match the selected team

Hi! I have a problem with building my ios app. I want to update my app on the AppStore after updating expo version.
I should mention that the app was initially build from an organization Apple account and then it was migrated to individual developer account.
So now I have problems with Provisioning profile
error: exportArchive: Provisioning profile "***" belongs to team "***", which does not match the selected team "***".

I already tried to do the following steps [SOLVED] iOS standalone build failed but the result is the same.

Please run expo diagnostics and paste the log that’s printed out along with your question or issue!

  Expo CLI 3.28.5 environment info:
    System:
      OS: macOS 11.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.5.0 - /usr/local/bin/node
      Yarn: 1.22.5 - ~/.yarn/bin/yarn
      npm: 6.14.5 - /usr/local/bin/npm
    SDKs:
      iOS SDK:
        Platforms: iOS 14.1, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
    IDEs:
      Xcode: 12.1/12A7403 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^39.0.0 => 39.0.4 
      react: 16.12.0 => 16.12.0 
      react-native: https://github.com/expo/react-native/archive/sdk-39.0.0.tar.gz => 0.63.2 
      react-navigation: ^4.0.10 => 4.4.3 
    npmGlobalPackages:
      expo-cli: 3.28.5
    Expo Workflow: managed

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