# IOS Build failing due to pod install error for cordova plugins only on Bitrise.io

**URL:** https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739
**Category:** Builds
**Created:** [April 24, 2020, 9:13pm UTC](https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739 "2020-04-24T21:13:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![francobostico](https://avatars.discourse-cdn.com/v4/letter/f/e56c9b/32.png) [@francobostico](https://discuss.bitrise.io/u/francobostico)
#### Post date: [April 24, 2020, 9:13pm UTC](https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739/1 "2020-04-24T21:13:29Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Getting error for pod install in the Ionic Archive build step.  
Even rebuilding builds that were succesfull in the past.

```
Installing "cordova-plugin-googleplus" for ios
Running command: pod install --verbose
Failed to install 'cordova-plugin-googleplus': Error: pod: Command failed with exit code 1
at ChildProcess.whenDone (/Users/vagrant/git/node_modules/cordova-common/src/superspawn.js:135:23)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
Failed to restore plugin "cordova-plugin-googleplus" from config.xml. You might need to try adding it again. Error: Error: pod: Command failed with exit code 1

```

## Environment:

**Where did the issue happen?**

[Bitrise.io](http://Bitrise.io) - Xcode 11.4.x, on macOS 10.15.4 (Catalina) Stack

**Which build Step causes the issue and which version of the step?**

Ionic archive: 2.1.1

## Reproducibility

- \_Does a “Rebuild” help?: **NO**
- \_Does a rebuild without caches help?: **NOT USING CACHE**
- _Does the issue happen sporadically, or every time?_ : **EVERY TIME**
- _Does upgrading the build Step to the latest version help?_ : **NO**
- _When did the issue start?_ : **1 WEEK AGO APROX.**

### Local reproduction

The complete local debug guide was followed and the build is successful in local environments, with a clean clone of the code.

We did not test with the Docker Image locally.

## Build log

bitrise failing build:  
[https://app.bitrise.io/build/111fc4ff8e45e383#?tab=log](https://app.bitrise.io/build/111fc4ff8e45e383#?tab=log)

---

<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: [May 13, 2020, 8:31am UTC](https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739/2 "2020-05-13T08:31:07Z")

</div>

Hi @francobostico! Can you initially please confirm to us that there were no relevant source code changes?

If rebuilding old builds that used to succeed fail now, that would likely indicate the problem being in the code. We will request you to do a [completely clean build locall](https://blog.bitrise.io/how-to-debug-your-build-locally)y and send us the outputs of that in case it succeeds.

---

<div class="post-metadata">

### Author: ![francobostico](https://avatars.discourse-cdn.com/v4/letter/f/e56c9b/32.png) [@francobostico](https://discuss.bitrise.io/u/francobostico)
#### Post date: [May 14, 2020, 12:21pm UTC](https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739/3 "2020-05-14T12:21:57Z")

</div>

Hey @bitce, thanks for your reply. Yes i can confirm there are no code changes between the last working build and current builds. I have have a master branch that was succeeding, then I started to see this error on the develop branch with the new changes, but couldn’t find a relation with the code changes to this issue. So I tested again with the master branch (without the new changes) and was also failing with the same error. That led me to believe there might be some environmental issue.

Here is a link to the working local build logs in a txt file, to avoid pasting the complete logs here.

> **[bitriseLocal.txt](https://www.dropbox.com/s/8j0yxntx8cug096/bitriseLocal.txt?dl=0)**
>
> Shared with Dropbox

Thank you!!

---

<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: [June 13, 2020, 12:21pm UTC](https://discuss.bitrise.io/t/ios-build-failing-due-to-pod-install-error-for-cordova-plugins-only-on-bitrise-io/12739/4 "2020-06-13T12:21:57Z")

</div>

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