인프런 커뮤니티 질문&답변

Maitri_7님의 프로필 이미지
Maitri_7

작성한 질문수

Flutter 초입문 왕초보편

Flutter 설치오류

작성

·

626

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

 

 

답변 1

0

오준석님의 프로필 이미지
오준석
지식공유자

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

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

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

Maitri_7님의 프로필 이미지
Maitri_7
질문자

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

답변 주셔서 감사합니다.

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

감사합니다. ^^

오준석님의 프로필 이미지
오준석
지식공유자

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

Maitri_7님의 프로필 이미지
Maitri_7

작성한 질문수

질문하기