fix broken objc test jobs (#31304)

pull/31307/head
Jan Tattermusch 2 years ago committed by GitHub
parent 1733c66932
commit 1267b0c0f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/internal_ci/helper_scripts/prepare_build_macos_rc

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

Loading…
Cancel
Save