The Sandbox Is Not in Sync with the Podfile.Lock-Ios

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

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

II. Update CocoaPods

  1. Launch Terminal and go to your project directory.
  2. 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

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

II. Update CocoaPods

  1. Launch Terminal and go to your project directory.
  2. 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:
    enter image description here
    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

Xcode error .zprofile:1 and The sandbox is not in sync with the Podfile.lock MacBook m1 flutter

This was working for me.
In the project root:

flutter clean
flutter pub get
cd ios
pod install
pod update

If the project already exist: Set the base configuration of the target runner.



Related Topics



Leave a reply



Submit