Flutter/Flutter 에러 해결

[flutter 에러 해결] Framework 'Pods_Runner' not found

딸기케잌🍓 2024. 6. 4. 12:04

재현

flutter plugin 프로젝트 생성

프로젝트 명/example/ios 폴더 우클릭 Flutter -> Open Ios module in XCode 클릭

Xcode에서 Product -> Run 클릭

 

발생한 에러

Framework 'Pods_Runner' not found

Linker command failed with exit code 1 (use -v to see invocation)

 

원인

CocoaPods가 플러터 플러그인 프로젝트의 종속성을 올바르게 설치하지 못했을 때 발생

해결

프로젝트 클린 및 재빌드

flutter clean
flutter pub get
cd ios
pod install
pod update
cd ..
flutter build ios