[ 작업 환경 ]

// flutter --version
Flutter 3.16.4 • channel stable • https://github.com/flutter/flutter.git
Engine • revision 54a7145303
Tools • Dart 3.2.3 • DevTools 2.28.4

 

 

 

 

 

 

1. 문제 상황

 

 

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      and macOS development.
      Download at: https://developer.apple.com/xcode/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

 

 

 

 

 

2. 문제 1 해결방법

 

 - 문제 1 : Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.

// 해결방법
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

 

 

 - 문제 2 : CocoaPods not installed.

// 해결방법
sudo gem install cocoapods

 

 

 - 만약 아래와 같은 오류 발생시, 해당 포스트 참조해 해결 가능합니다.

ERROR:  Error installing cocoapods:
	The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.5. Try installing it with `gem install drb -v 2.0.5` and then running the current command again
	drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

 

https://growingsaja.tistory.com/847

 

[SOLVED] ERROR: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was

1. 문제 상황 필자의 경우 cacaopads 설치 시도 중 문제가 발생했습니다. sudo gem install cocoapods 문제 에러 안내 문구 ERROR: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & Rub

growingsaja.tistory.com

 

 

 

 

 

+ Recent posts