[Flutter] Firebase iOS 실행 오류
2025. 1. 29. 02:09
dependencies에 firebase 추가 후 iOS로 run 했을 때 아래와 같은 에러 발생할 경우
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module
'firebase_database.FLTFirebaseDatabaseObserveStreamHandler':
'/Users/heitor.candido/Documents/inteliApp/inteli/ios/Pods/Headers/Public/Firebase/Firebase.h'
/Users/heitor.candido/.pub-cache/hosted/pub.dev/firebase_database-11.1.1/ios/Classes/FLTFirebaseDatabaseObserveStreamHandler.h:3:8
ios - Runner.xcworkspace를 Finder에서 열어서 더블클릭으로 실행.
Runner 클릭해서 Build Settings에서
"Allow Non-modular Includes in Framework Modules" 검색해서 Yes로 변경해주면 에러없이 실행됩니다.
'플러터 > Flutter 에러' 카테고리의 다른 글
[Flutter] source value 8 is obsolete and will be removed in a future release 에러 (0) | 2025.02.09 |
---|