A way easier solution:
- Remove ios/Flutter/Flutter.podspec:
rm ios/Flutter/Flutter.podspec
flutter clean
- Run your app again.
Taken from here
More Related Contents:
- How to run CocoaPods on Apple Silicon (M1)
- CocoaPods could not find compatible versions for pod “Firebase/Core” | cloud_firestore, Flutter
- Missing file `libarclite_iphoneos.a` in Xcode 14.3 after update flutter and Xcode
- Flutter iOS build failure error with Multiple commands after the Xcode upgrade
- Remove or uninstall library previously added : cocoapods
- The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1
- Unexpected CFBundleExecutable key
- Class AMSupportURLConnectionDelegate is implemented in both
- How do I run/test my Flutter app on a real device?
- Cannot install cocoa pods after uninstalling, results in error
- pod install -bash: pod: command not found
- Class is implemented in both, One of the two will be used. Which one is undefined
- Flutter build iOS got error: Requested but did not find extension point with identifier
- How to disable/remove FirebaseAnalytics
- Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo
- Pod install is staying on “Setting up CocoaPods Master repo”
- Libraries not found when using CocoaPods with iOS logic tests
- Error: ld: library not found for -lPods with CocoaPods
- ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension
- ld: framework not found Pods
- The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, in Flutter How can I change the minimum IOS Deploying Target
- How to use local-only project via CocoaPods
- Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist
- when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31
- Navigating to a new screen when stream value in BLOC changes
- How to clear or clean specific pod from the local cocoapods cache
- react-native ios Podfile issue with “use_native_modules!”
- React Native XCode Project Product Archive Fails with duplicate symbols for architecture arm64
- Exclude pod when porting to mac with catalyst
- The sandbox is not in sync with the Podfile.lock-ios