Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The sandbox is not in sync with the Podfile.lock on Jenkins server [duplicate]

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.

like image 991
Cuong Nguyen Avatar asked Sep 01 '25 03:09

Cuong Nguyen


1 Answers

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
like image 58
Cuong Nguyen Avatar answered Sep 02 '25 17:09

Cuong Nguyen