# Failed to check if cocoapods 1.7.5 installed, error: exit status 1

**URL:** <https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278>\
**Category:** Tooling Issues\
**Tags:** ios\
**Created:** [September 19, 2019, 12:34pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278 "2019-09-19T12:34:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmorier](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mmorier/32/2223_2.png) [@mmorier](https://discuss.bitrise.io/u/mmorier)\
**Post date:** [September 19, 2019, 12:34pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/1 "2019-09-19T12:34:11Z")

</div>

Hello

Since one week, our iOS build can not build anymore. CocoaPods step failed with the message `Failed to check if cocoapods 1.7.5 installed, error: exit status 1`. It’s quite strange because this is the latest version of CocoaPods. Why it cannot installed it?

The logs to have more details.  
±-----------------------------------------------------------------------------+  
| (1) cocoapods-install |  
±-----------------------------------------------------------------------------+  
| id: cocoapods-install |  
| version: 1.8.0 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2019-09-16T12:49:37Z |  
±-----------------------------------------------------------------------------+  
| |  
INFO[12:49:37] \* [OK] Step dependency (go) installed, available.  
Configs:  
- SourceRootPath: /Users/vagrant/git  
- PodfilePath: react-native/doctor/ios/Podfile  
- IsUpdateCocoapods: false  
- InstallCocoapodsVersion:  
- Verbose: true  
- IsCacheDisabled: false  
Using Podfile: /Users/vagrant/git/react-native/doctor/ios/Podfile  
Determining required cocoapods version  
Searching for Podfile.lock  
Found Podfile.lock: /Users/vagrant/git/react-native/doctor/ios/Podfile.lock  
Required CocoaPods version (from Podfile.lock): 1.7.5  
Installing cocoapods  
Checking cocoapods 1.7.5 gem  
Failed to check if cocoapods 1.7.5 installed, error: exit status 1  
| |  
±–±--------------------------------------------------------------±---------+  
| x | cocoapods-install (exit code: 1) | 7.17 sec |  
±–±--------------------------------------------------------------±---------+

---

<div class="post-metadata">

**Author:** ![mitchellporter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mitchellporter/32/2529_2.png) [@mitchellporter](https://discuss.bitrise.io/u/mitchellporter)\
**Post date:** [September 25, 2019, 9:08pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/2 "2019-09-25T21:08:50Z")

</div>

Just started experiencing this yesterday.

@mmorier Have you made any progress on this?

---

<div class="post-metadata">

**Author:** ![Connal](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@Connal](https://discuss.bitrise.io/u/Connal)\
**Post date:** [September 26, 2019, 2:57pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/3 "2019-09-26T14:57:54Z")

</div>

@mmorier is on vacation so I’ll reply on his behalf.  
@mitchellporter - No, we’ve had no success so far. Bitrise support hasn’t been too helpful either. Our next step will probably be to look for an alternative to Bitrise.

---

<div class="post-metadata">

**Author:** ![mitchellporter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mitchellporter/32/2529_2.png) [@mitchellporter](https://discuss.bitrise.io/u/mitchellporter)\
**Post date:** [September 26, 2019, 4:57pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/4 "2019-09-26T16:57:09Z")

</div>

Thanks for the fast response. Did bitrise provide you with any steps to take to try and fix this? If so would be great if you could share and then I could test on my end.

---

<div class="post-metadata">

**Author:** ![Connal](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@Connal](https://discuss.bitrise.io/u/Connal)\
**Post date:** [September 27, 2019, 10:52am UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/5 "2019-09-27T10:52:29Z")

</div>

nope, they just asked us to send them additional info a couple of times.  
we of course gave them what they asked for … but they don’t seem too interested in helping to identify/solve the problem ☹

---

<div class="post-metadata">

**Author:** ![mitchellporter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mitchellporter/32/2529_2.png) [@mitchellporter](https://discuss.bitrise.io/u/mitchellporter)\
**Post date:** [September 27, 2019, 4:14pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/6 "2019-09-27T16:14:37Z")

</div>

Over the past few days in their live chat there was a notice about most of their team being gone for an event, and it said they’d be back to normal on the 27th which is today. Hopefully they’re just a bit backlogged and will be in touch with us soon.

---

<div class="post-metadata">

**Author:** ![denniskoluris](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@denniskoluris](https://discuss.bitrise.io/u/denniskoluris)\
**Post date:** [September 30, 2019, 6:48am UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/7 "2019-09-30T06:48:04Z")

</div>

Bump for this thread, I got the exact same problem, not sure what is causing it.

---

<div class="post-metadata">

**Author:** ![Connal](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@Connal](https://discuss.bitrise.io/u/Connal)\
**Post date:** [September 30, 2019, 11:37am UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/8 "2019-09-30T11:37:35Z")

</div>

@denniskoluris @mitchellporter are you guys having any more luck with Bitrise support then we did?

---

<div class="post-metadata">

**Author:** ![mitchellporter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/mitchellporter/32/2529_2.png) [@mitchellporter](https://discuss.bitrise.io/u/mitchellporter)\
**Post date:** [September 30, 2019, 5:11pm UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/9 "2019-09-30T17:11:01Z")

</div>

I contacted bitrise support 4 days ago and the ticket still hasn’t been seen. Will update this thread as soon as I hear back from them.

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [October 1, 2019, 6:20am UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/10 "2019-10-01T06:20:45Z")

</div>

Hi @mmorier, @mitchellporter, @Connal, @denniskoluris

Sorry for us being so silent on this. This problem is caused by the `.ruby-version` file in your project. Due to version differences this have been causing problems in the past, but with different steps and different errors.

You can either remove this file completely, or just add the following script step:

```
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x

rm ~/git/.ruby-version

```

For more context on how this delay happened, we were out due to company events last week, but the main reason is that we are starting to receive about a hundreds of requests daily (the likes of which we can’t always be solved within one day) while our team is still just made up of a few people.

We are aware of the situation and doing everything in our power combat this both on a company and on a team level, but for now, we have to ask your patience often when it comes to problems that require a bit of investigating, as we have to a lot of those.

Thanks for being patient so far and all of your understanding!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [October 31, 2019, 6:20am UTC](https://discuss.bitrise.io/t/failed-to-check-if-cocoapods-1-7-5-installed-error-exit-status-1/10278/11 "2019-10-31T06:20:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
