inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Flutter 초입문 왕초보편

Flutter 설치오류

733

Maitri_7

작성한 질문수 14

0

안녕하세요

에러 여쭙고자 문의드립니다.

Stackoverflow 등을 뒤져도 도저히 답을 구할 수가 없어 문의남깁니다.

현재 flutter 설치받았는데 실행이 안됩니다.

강사님처럼 직접 SDK 다운하여 환경설정도 해보고,

homebrew 통해 다운로드 받아보았으나 둘 다 작동하지 않았습니다.

 

컴퓨터는 맥북 m1 모델입니다.

[에러코드]

Semantic Issue (Xcode): Function does not return NSString

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:371:51

Semantic Issue (Xcode): Function does not return NSString

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386:52

Semantic Issue (Xcode): Function does not return string type

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:388:82

Semantic Issue (Xcode): Function does not return string type

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:394:113

Semantic Issue (Xcode): Function does not return string type

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:395:96

Semantic Issue (Xcode): Function does not return NSString

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:90:142

Parse Issue (Xcode): Expected ')'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:504:185

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:7:8

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:18:8

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:14:8

Parse Issue (Xcode): Could not build module 'IOSurface'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:25:9

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:7:9

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:7:8

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:11:8

Parse Issue (Xcode): Could not build module 'Foundation'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:7:8

 

 

flutter dart android ios Flutter

답변 1

0

오준석

혹시 Android 환경도 잘 안 되시나요?

iOS 환경은 공식문서를 따라서 여러가지 작업이 필요한데요.
https://docs.flutter.dev/get-started/install/macos#ios-setup 를 참고하시기 바랍니다.

프로젝트 생성시에 web을 체크하시면 chrome 에서도 실행이 가능합니다. 일단 web으로 진행하셔도 학습에는 무방합니다.

0

Maitri_7

늦은 시각 답변 감사합니다.. 마지막으로 자기 전에 컴퓨터를 껐다 키니 작동하는 우스운 현상이 나타났습니다.. 뭐가 문제인지는 아직도 모르겠네요.

답변 주셔서 감사합니다.

사실 작동이 돼서 질문 삭제하려고 왔으나(이상한 질문으로 시간이 뻇기진 않을까 하여) 다른 분들도 참고할 수 있게끔 남겨두겠습니다.

감사합니다. ^^

0

오준석

다행이네요. 안드로이드 스튜디오 버그도 많아서 뭔가 이상할 때 한번씩 껐다 켜 줘야 합니다.

실로폰 음원 재생 오류 해결 (do.1.wav)

1

72

2

Emulate Device Frame 관련 질문입니다.

0

89

2

124강 DB에 Todo 등록

0

78

1

webview import가 원활하지 않습니다 도와주세요

0

117

3

webview 버전

0

105

2

섹션3. 비만도계산기 문자열 입력가능 오류 관련

0

92

2

appbar 오류

0

62

2

mac 사용자만 들으면 되는 강의인가요?

0

64

2

Error: Unable to find git in your PATH.

0

186

2

60. 053. 결과화면 작성

0

58

1

구글지도 사용에서

0

50

2

todo리스트 강의중에서..

0

66

2

강의가 오래 된거 같은데

1

78

2

const 적용

0

49

1

soundpool 라이브러리가 없습니다

0

103

2

비만계산기 강의에 대해서 질문

0

126

2

webview 영상처럼 3.0.4 버전으로 할경우 AGP 문제

0

205

3

dispose 오버라이드 메소드 자동완성이 안 됩니다.

0

159

2

에뮬레이터 실행 안됨 오류

0

602

1

안드로이드 앱 핑테스트

0

509

1

현업에서 로컬 DB 활용시 Hive 사용했을때 구현 패턴 문의

0

319

1

지도위에 이동 경로 스리기

0

624

1

구글 맵 플랫폼

0

392

1

floatingActionButton 미출력 문의

0

257

1