Xcode 12 not builing : The sandbox is not in sync with the Podfile.lock

After updating to xcode 12 i started getting the error below when trying to build.

error: The sandbox is not in sync with the Podfile.lock. Run ‘pod install’ or update your CocoaPods installation.```

Anyone has a soloution because i have tried pod install and adding this PODS_PODFILE_DIR_PATH to build settings.

1 Like

Same issue i am facing

Try to do pod update instead of pod install

As second attempt you can give a try

  1. Select your project in the project navigator
  2. Select your target
  3. Remove all libPods.a* in Build Phases => Link Binary With Libraries