# The sandbox is not in sync with the Podfile.lock

**URL:** <https://discuss.circleci.com/t/the-sandbox-is-not-in-sync-with-the-podfile-lock/5537>\
**Category:** Mobile\
**Tags:** known-issue\
**Created:** [August 4, 2016, 9:37pm UTC](https://discuss.circleci.com/t/the-sandbox-is-not-in-sync-with-the-podfile-lock/5537 "2016-08-04T21:37:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [August 4, 2016, 9:37pm UTC](https://discuss.circleci.com/t/the-sandbox-is-not-in-sync-with-the-podfile-lock/5537/1 "2016-08-04T21:37:50Z")

</div>

In our [most recent update to the OS X build environment](https://discuss.circleci.com/t/macos-build-image-update-201607-28/5390) we updated the version of CocoaPods. This has resulted in some users experiencing a problem during their builds that looks like this:

```auto
 "❌ error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 
"

```

The best way to work around this issue is to add a step run run pod install in circle.yml like this:

```auto
dependencies:
  override:
    - bundle install
    - bundle exec pod install

```

This will update all of your pods, which will be cached in the future and this error will no longer occur.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/the-sandbox-is-not-in-sync-with-the-podfile-lock/5537/2 "2018-06-18T11:33:30Z")

</div>

Closed on June 18, 2018, 11:33am UTC


