# Can't prevent Circle from running carthage bootstrap

**URL:** <https://discuss.circleci.com/t/cant-prevent-circle-from-running-carthage-bootstrap/13209>\
**Category:** Bug Reports\
**Tags:** carthage, ios, swift\
**Created:** [June 8, 2017, 11:31am UTC](https://discuss.circleci.com/t/cant-prevent-circle-from-running-carthage-bootstrap/13209 "2017-06-08T11:31:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolffan](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/wolffan/32/16275_2.png) [@wolffan](https://discuss.circleci.com/u/wolffan)\
**Post date:** [June 8, 2017, 11:31am UTC](https://discuss.circleci.com/t/cant-prevent-circle-from-running-carthage-bootstrap/13209/1 "2017-06-08T11:31:49Z")

</div>

I’ve seen in this forum that people has cached Carthage folder to not build it every time.  
My aim is similar. But I decided to direclty check into the repo al frameworks from Carthage. This way anyone can checkout and run the project.

Problem is no matter what I do, CircleCI always runs `Carthage bootstrap` or `Carthage update` by its own. I’m trying to use override on dependencies to prevent that but there’s no way, one or the other are always run.

Is this a known issue?

CircleCI.yml:

```
machine:
  xcode:
    version: 8.3
dependencies:
  override:
    - carthage version
  cache_directories:
    - "Carthage"
test:
  override:
    - //test command
```

---

<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:34am UTC](https://discuss.circleci.com/t/cant-prevent-circle-from-running-carthage-bootstrap/13209/2 "2018-06-18T11:34:45Z")

</div>

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


