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' } }