inflearn logo
강의

Course

Instructor

[Code Factory] [Beginner] Flutter 3.0 App Development - Escape Beginner Status Today with 10 Projects!

flutter doctor를 했더니

Resolved

1660

makin

7 asked

0

[!] Xcode - develop for iOS and macOS (Xcode 14.2)

    ✗ 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.

 

이렇게 느낌표가 있는것이 있어서

 

sudo gem install cocoapods

이렇게 cocoapads를 설치를 했는데 설치가 실패해서 로그를 봤더니

package configuration for libffi is not found

"xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/lib     -lruby.2.6   "

In file included from conftest.c:1:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby.h:33:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found

#include "ruby/config.h"

         ^~~~~~~~~~~~~~~

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: note: did not find header 'config.h' in framework 'ruby' (loaded from '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks')

1 error generated.

checked program was:

/* begin */

1: #include "ruby.h"

2:

3: int main(int argc, char **argv)

4: {

5:   return 0;

6: }

/* end */

 

이렇게 되어 있어요. 어떻게 해야 하나요?

클론코딩 Flutter

Answer 1

1

makin

검색으로 찾았습니다. 루비를 설치를 해야 하더군요.

https://blog.naver.com/makin/222962470756

LocationPermission.denied관련 질문입니다

0

588

1

videocontrollor dispose

0

431

1

onlogotap함수의 video nullable관련질문

0

391

1

setState 사용 차이

1

441

1

블로그 웹앱 배포 방법

0

507

1

sizedbox 위젯에 primary = RED_COLOR

1

434

1

개념 강의 순서 질문

0

409

1

materialstateProperty 다른 메소드관련질문

0

414

1

내 노트 모아보기

0

502

1

SafeArea (iPhone, Android)

0

408

1

web view 실행 안됩니다.

0

408

1

랜덤 숫자 생성기 프로젝트 관련

0

537

2

안도르이드 애뮬레이터 질문

0

384

1

super를 사용하는 건, 부모와 자식 클래스의 파라미터 이름이 꼭 같아야하나요?

0

474

1

선생님 flutter device를 크롬으로 했을때 http 통신이 안됩니다..

0

782

1

no element

0

442

1

암호화

0

235

1

책과 강의

0

387

1

voidcallback함수와 클래스내에 변수선언에 관한질문

0

475

1

android studio 세팅

0

480

1

오늘도 출근 세팅하기

2

563

1

재사용 클래스 임폴트 방법

0

480

1

가상화를 못하는 CPU인건가요? 확인 부탁드립니다.

0

400

1

flutter dispose 관련

0

1390

2