Cocoapods install step failing

Description of the issue

The build process for iOS project fails at cocoapods installation step with following error:
ArgumentError - Malformed version number string

Running pod update/install on my local mac works fine

Environment:

Where did the issue happen?

Ruby version installed on my mac machine is 2.4.1p111 while seen in bitrise logs while project build is 2.5.1

on Bitrise.io , failed at Step 5 i.e.cocoapod install. Version is 1.7.2 (Xcode 9.4.x, on macOS 10.13 (High Sierra)

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : =NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Everytime
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Since beginning

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried. No

Local reproduction: Linux / Android (docker based) stack builds

No

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .

Build log

_https://app.bitrise.io/build/6e9643034bc8187a

Hi @Vineet2412,

Could you enable Support Access to the app on the app’s settings page so we can have a look at the configuration?

@tamasbazsonyi : Done, please check.

Hi @Vineet2412, sorry for the delay here!

Could you please include your Podfile as well? It might be better to take this issue to our on-site chat!

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