From ae7f2cc96f00d694f855db5679ce9490dfe7bf19 Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Wed, 15 Mar 2023 12:31:38 +0530 Subject: [PATCH] nix-update-cocoapods-version maybe we need a sudo in there hmmm we cant sudo update nix-update-cocoapods-version command --- Makefile | 4 ++++ ci/Jenkinsfile.ios | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4d970be5b34c..8d7954f222ca 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,10 @@ nix-update-pods: export TARGET := ios nix-update-pods: ##@nix Update CocoaPods in ios/Podfile.lock cd ios && pod update +nix-update-cocoapods-version: export TARGET := ios +nix-update-cocoapods-version: ##@nix Update CocoaPods Version to latest + cd ios && gem uninstall cocoapods && gem install cocoapods + #---------------- # General targets #---------------- diff --git a/ci/Jenkinsfile.ios b/ci/Jenkinsfile.ios index 321a5f920841..d2b81e0f9352 100644 --- a/ci/Jenkinsfile.ios +++ b/ci/Jenkinsfile.ios @@ -51,6 +51,7 @@ pipeline { utils.doGitRebasePR() utils.symlinkEnv() println("Build Number: ${utils.genBuildNumber()}") + sh 'make nix-update-cocoapods-version' sh 'npx react-native info' } }