iOS (2) [Flutter] CocoaPods checking for ffi.h... *** extconf.rb failed *** CocoaPods는 Ruby로 구축되었으며 macOS에서 시스템 기본 Ruby를 사용할때 버전이 낮으면 오류가 발생된다. Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/ext/ffi_c /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6.. [Flutter] macOS에서 Flutter iOS 개발 환경 구성(설치) 1. Flutter 소스를 GitHub에서 직접 다운로드 https://docs.flutter.dev/get-started/install/macos 오피셜 가이드 참고. 애플 실리콘 맥 환경의 경우 터미널앱을 실행하고 아래 명령 실행이 필요할수 있다. $ sudo softwareupdate --install-rosetta --agree-to-license 터미널앱을 실행하고 아래 git clone 명령을 실행하여 SDK를 다운로드 한다. $ git clone https://github.com/flutter/flutter.git -b stable 터미널앱을 실행하고 아래 명령을 실행하여 설정을 완료하기 위해 설치해야 하는 종속성이 있는지 확인한다.(자세한 출력의 경우 -v플래그 추가). $ flutter .. 이전 1 다음