Dev/Flutter
Flutter - Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
healthyryu
2022. 2. 8. 10:54
내용 :
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
참고:
Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies
Current, I was trying to add firebase_core: ^0.5.0+1 and firebase_crashlytics: ^0.2.1+1 packages in my flutter project with the latest versions, It works without any trouble in Android but in iOS, ...
stackoverflow.com
반응형