3

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
  • 34,719
  • 24
  • 185
  • 251
Cuong Nguyen
  • 950
  • 1
  • 9
  • 28

1 Answers1

9

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
  • 950
  • 1
  • 9
  • 28