Skip to content

Pod install fails with non-error message for fresh installations #3686

@surdu

Description

@surdu

I first noticed the problem on CI when trying to prepare an iOS project on a new machine, but in order to exclude being a problem with the CI itself I managed to find a way to reproduce it also on my local machine:

  1. (Re)Move CocoaPods local caches:
    mv ~/.cocoapods ~/.cocoapods.bkp
    mv ~/Library/Caches/CocoaPods ~/Library/Caches/CocoaPods.bkp
  2. Create new project:
    tns create Test
  3. Add a plugin that has Pods:
    tns plugin add nativescript-plugin-firebase
  4. Try preparing the project:
    tns prepare ios --log trace

This fails with the following error on my local machine, which looks like normal git output, not an error:

Pod install command failed. Error output:   Cloning into 'master'...
  remote: Counting objects: 2221781, done.        
  remote: Compressing objects: 100% (480/480), done.        
  remote: Total 2221781 (delta 237), reused 248 (delta 99), pack-reused 2221183        
  Receiving objects: 100% (2221781/2221781), 546.46 MiB | 7.19 MiB/s, done.
  Resolving deltas: 100% (1270873/1270873), done.
  Checking out files: 100% (245557/245557), done.

On our CI machine the error is more detailed, but still looks like normal git output.

Versions:

nativescript: 4.0.2
tns-ios: 4.0.1

$ pod --version
1.5.3

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions