개발/Flutter
Could not build the application for the simulator 해결하기
문둘기
2022. 12. 6. 14:18
문제
Swift Compiler Error (Xcode): Cannot find 'FlutterErrorNotImplemented' in scope
~~~ 파일 경로들 ~~~~
Could not build the application for the simulator
Error launching application on iPhone 14 Pro Max.
손놓은지 반년은 훨씬 넘은 Flutter 앱을 다시 유지보수해야되는 상황이생겼다.
안드로이드는 어떻게든 됐는데, ios는 자꾸 위 에러가 발생하면서 빌드가안됐다.
해결
프로젝트 루트 폴더에서 차례대로 실행
rm ios/Podfile
flutter pub upgrade
flutter pub get
cd ios
pod update
cd ..
flutter clean
flutter run