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

참고:

https://stackoverflow.com/questions/64443888/flutter-cocoapodss-specs-repository-is-too-out-of-date-to-satisfy-dependencies

 

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

 

반응형

'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