내용 :
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
해결책
1. Go to /ios folder inside your Project.
2. Delete Podfile.lock (YourPoject/ios/Podfile.lock)
3. Here you have to do it according to the chip of your Mac, here I have given for both. thanks @Kamal Panara for identified this
For Intel chip users
Run pod install --repo-update
(Make sure your cd into the iOS directory of the flutter app)
For M1 chip Users
install ffi first (if not) In regular terminal using command:
sudo arch -x86_64 gem install ffi then arch -x86_64 pod install --repo-update
4. Run flutter clean
5. Once complete, rebuild your Flutter application: flutter run
참고:
반응형
'Dev > Flutter' 카테고리의 다른 글
Flutter iOS 개발시 주의할 사항 (0) | 2022.04.14 |
---|---|
VSCode 로 개발할때, 빌드모드 변경하는 방법 (0) | 2022.03.23 |
Flutter - error (0) | 2022.01.19 |
Flutter - TextField (0) | 2022.01.19 |
Flutter - iOS 앱 업로드 for TestFlight (0) | 2022.01.12 |