mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
39 lines
1.0 KiB
Bash
Executable File
39 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
source ~/utils/utils.sh
|
|
|
|
echo Updating RubyGems...
|
|
gem update --system
|
|
|
|
|
|
# Freeze xcodeproj 1.18.0 because version 1.19.0 contains breaking changes related to CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER flag
|
|
# Related issues:
|
|
# - https://github.com/CocoaPods/CocoaPods/issues/10153
|
|
# - https://github.com/actions/virtual-environments/issues/1804
|
|
# Need to revisit when Cocoapods 1.10.0 is released and added to VM
|
|
gem install xcodeproj -v 1.18.0
|
|
|
|
echo Installing xcode-install utility...
|
|
gem install xcode-install --force
|
|
|
|
echo Installing CocoaPods...
|
|
gem install cocoapods
|
|
|
|
if is_Less_BigSur; then
|
|
# fix nomad-cli installation
|
|
if is_HighSierra; then
|
|
brew install libxml2
|
|
gem install nokogiri -v 1.6.8.1 -- --use-system-libraries --with-xml2-include=$(brew --prefix libxml2)/include/libxml2
|
|
fi
|
|
|
|
echo Installing nomad-cli...
|
|
gem install nomad-cli
|
|
fi
|
|
|
|
echo Installing xcpretty...
|
|
gem install xcpretty
|
|
|
|
echo Installing bundler...
|
|
gem install bundler --force
|
|
|
|
echo Installing fastlane tools...
|
|
gem install fastlane |