[CI] Upgraded cocoapods to 1.12.0 (#36053)

This is needed to accommodate the recent Protobuf v26 change requiring cocoapod 1.12 or later.

Closes #36053

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36053 from veblush:cocoapod-1.12 ab94e124a6
PiperOrigin-RevId: 612942897
pull/35367/merge
Esun Kim 9 months ago committed by Copybara-Service
parent 6f6f0df2ba
commit 52fc023bae
  1. 2
      tools/internal_ci/helper_scripts/prepare_build_macos_rc

@ -99,7 +99,7 @@ then
# cocoapods # cocoapods
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# use "sudo" to avoid permission error on kokoro monterey image # use "sudo" to avoid permission error on kokoro monterey image
time sudo gem install cocoapods --version 1.11.3 --no-document --user-install time sudo gem install cocoapods --version 1.12.0 --no-document --user-install
# pre-fetch cocoapods master repo's most recent commit only # pre-fetch cocoapods master repo's most recent commit only
mkdir -p ~/.cocoapods/repos mkdir -p ~/.cocoapods/repos
time git clone --depth 1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master time git clone --depth 1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master

Loading…
Cancel
Save