개발/flutter
[Flutter] fatal error: 'FirebaseCore/FIRLogger.h' file not found 에러
덤벨로퍼
2020. 8. 3. 14:30
Signing iOS app for device deployment using developer identity: "Apple Development: Hwi kang (35KTN6X7R2)"
Running pod install... 35.2s
Xcode build done. 54.3s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/hwikang/8daysplus/dev_plus_flutter/mobile/ios/Pods/FirebaseInstallations/FirebaseInstallations/Source/Library/InstallationsStore/FIRInstallationsStoredItem.m:19:
/Users/hwikang/8daysplus/dev_plus_flutter/mobile/ios/Pods/FirebaseInstallations/FirebaseInstallations/Source/Library/FIRInstallationsLogger.h:19:9: fatal error: 'FirebaseCore/FIRLogger.h' file not found
#import <FirebaseCore/FIRLogger.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Flutter 프로젝트/ ios 폴더에 가서
Runner.xcworkspace
Podfile.lock 파일을 삭제한후
pod install 하여 다시 파일을 생성해준뒤 flutter run 으로 빌드하니 에러가 해결되었다.