일반 터미널 진행
- node 21.1.0
- ruby 1.3.0
// npx react-native@0.72.6 init matZipApp --version 0.72.6 시 에러 발생
// 이유 : 해당 0.72.6 템플릿이 없다고 생각.
// 해결 : 0.72 install✖ Installing CocoaPods
error An error occured while trying to install CocoaPods, which is required by this template.
Please try again manually: sudo gem install cocoapods.
CocoaPods documentation: https://cocoapods.org/.
info Run CLI with --verbose flag for more details.
// ruby 2.7.6 사용 이슈
sudo gem install cocoapods
Password:
ERROR: Error installing cocoapods:
The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 7.1.5.1. Try installing it withgem install activesupport -v 7.1.5.1
and then running the current command again
activesupport requires Ruby version >= 3.1.0. The current ruby version is 2.7.6.219.