4

I'm having a problem with cocoapods.

The sandbox is not in sync with the Podfile.lock Run 'pod install' or update your CocoaPods installation.

Although, I tried to remove folder Pods, file Podfile.lock and delete workspace project then opened up the terminal and typed pod install but still error.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Cuong Nguyen
  • 980
  • 2
  • 9
  • 29

1 Answers1

11

I used these commands to solve the problem.

pod deintegrate
sudo gem install cocoapods-clean
pod clean
# Open the project and delete the “Pods” folder that should be red
pod setup
pod install
Cuong Nguyen
  • 980
  • 2
  • 9
  • 29