본문 바로가기

오류/Flutter

[Migration] 'Flutter/Flutter.h' file not found

fatal error: 'Flutter/Flutter.h' file not found
flutter clean
rm ios/Podfile.lock pubspec.lock
rm -rf ios/Pods ios/Runner.xcworkspace

 

ios/Podfile 

# firebase_core 오류 시 '9.0'을 '10.0'으로 변경
platform :ios, '10.0'

# 최하단에 추가
post_install do |installer|
	installer.pods_project.targets.each do |target|
	flutter_additional_ios_build_settings(target)
		target.build_configurations.each do |config|
            	config.build_settings['ENABLE_BITCODE'] = 'NO'
		end
	end
end

참고

 

Fatal error: 'Flutter/Flutter.h' file not found · Issue #81462 · flutter/flutter

Steps to Reproduce Run flutter create bug. Run the application for iOS platform like: flutter build ios or run it on an iOS device. You may find that it throws the error: fatal error: 'Flutter/...

github.com

 

'오류 > Flutter' 카테고리의 다른 글

[안드로이드] (HTTPLog)-Static: isSBSettingEnabled false  (0) 2021.06.01