Error: The sandbox is not in sync with the Podfile.lock... after installing RestKit with cocoapods
I was able to fix that by updating CocoaPods.
I. Project Cleanup
- In the project navigator, select your project
- Select your target
- Remove all libPods*.a in Build Phases > Link Binary With Libraries
II. Update CocoaPods
- Launch Terminal and go to your project directory.
- Update CocoaPods using the command
pod install
Error: The sandbox is not in sync with the Podfile.lock... after installing RestKit with cocoapods
I was able to fix that by updating CocoaPods.
I. Project Cleanup
- In the project navigator, select your project
- Select your target
- Remove all libPods*.a in Build Phases > Link Binary With Libraries
II. Update CocoaPods
- Launch Terminal and go to your project directory.
- Update CocoaPods using the command
pod install
The sandbox is not in sync with the Podfile.lock-ios
Run 'pod install' or update your CocoaPods installation.
You have answer in the error itself !
The error message states that you should update your CocoaPods installation.
You could remove libPods in frameworks and libraries and update Cocoapods using pod install
.
Also:
clean and build the project
SO references :
CocoaPods Errors on Project Build
Error:"The sandbox is not in sync with the Podfile.lock..." after installing RestKit with cocoapods
The sandbox is not in sync with the Podfile.lock in ionic 3 ios build
Try the following:
- quit Xcode
- navigate to project folder
- delete
Pods
folder - delete
Podfile.lock
- call from command line
pod install
- important: open the the project via
.xcworkspace
(and not via .xcodeproj)
If that doesn't work, make a build settings checks:
- in Navigator go to the root node
- in the editor on the right choose 'Build Settings'
- scroll down: there you should see the following entries:
PODS_PODFILE_DIR_PATH should show your project directory (where PODFILE resides, here you can enter${SRCROOT}/.
, and for PODS_ROOT you can enter${SRCROOT}/Pods
)
Correct the entries if necessary
Error : The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation
There are probably some CocoaPods related files and rules left over. You can use the pod deintegrate
command to remove CocoaPods from your project. See https://guides.cocoapods.org/terminal/commands.html#pod_deintegrate
Make sure you have your project in version control or backed up before doing this, so if something goes wrong you can always roll back.
Related Topics
How to Convert an Nsstring Value to Nsdata
Xcode 9 Gm - Wkwebview Nscoding Support Was Broken in Previous Versions
Determine If Mkmapview Was Dragged/Moved
Passing Arguments to Selector in Swift
Uiscrollview Scroll to Bottom Programmatically
How to Implement Re-Ordering of Coredata Records
Uicollectionview Flowlayout Not Wrapping Cells Correctly
Display Uiviewcontroller as Popup in Iphone
Layout Issues After Updating to Xcode 8
Interface Builder: What Are the Uiview's Layout iOS 6/7 Deltas For
How to Programmatically Connect to a Wifi Network Given the Ssid and Password
How to Make Drawrect Work Right Now
Correct Singleton Pattern Objective C (Ios)