-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. #22
Comments
I am having the same issue . |
Is Geo fire still a valid flutter package? |
getting import <firebase/firebase.h> error when I run on IOS please fix this ! |
im having the same problem, Please fix it.. |
Same error too pleas help. |
Try this Geofire Fix |
didn't worked |
run flutter clean then delete pod folder in ios and the podfile.lock, Then run flutter run. |
it still have the same issue. not fixed yet. Why its closed issue? |
exactly! im still getting errors how is it marked closed? very confused can anyone test if they get same error. have a simple app even default counter app is fine.import packages -firebase core link it with firebase and by link I mean put google service firebase files
now import package flutter geo fire. and now completely close app and build again. do you get errors too? im using m1 airbook |
@Moatsem12347 @officialFlutterDeveloper Can you share the podfile and pubsec.yaml file? |
Uncomment this line to define a global platform for your projectplatform :ios, '10.0' CocoaPods analytics sends network stats synchronously affecting flutter build latency.ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Runner', { def flutter_root File.foreach(generated_xcode_build_settings_path) do |line| require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Runner' do flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) pod 'GeoFire', :git => 'https://github.com/mrdishant/geofire-objc', :tag => '4.3.0' end post_install do |installer| |
and these are the used dependencies.environment: dependencies: The following adds the Cupertino Icons font to your application.Use with the CupertinoIcons class for iOS style icons.cupertino_icons: ^1.0.2 |
@mrdishant
Exception: Error running pod install |
Failed to build iOS app Xcode's output: Could not build the application for the simulator. |
I dislike seeing that fatal error: Flutter/Flutter.h so so much. someone please find a solution |
cupertino_icons: ^1.0.2 google_maps_flutter: ^2.0.5geolocator: ^7.0.3http: ^0.13.3provider: ^4.3.2+2flutter_polyline_points: ^0.2.4flutter_geofire: ^1.0.3 url_launcher: ^6.0.4smooth_star_rating: ^1.1.1 my dependencies |
Change your ios version on your podfile from 10.0 to 11.0.. |
@danielwond did that... |
@mrdishant The issue is with Geofire if I comment the dependencie (flutter_geofire: ^2.0.0) it works fine. |
even the latest geofier 2.0.0 update doesn't work and if we don't do make it an raising issue we will never get a solution trust me its been almost 2 months of me trying to find a solution |
Also picked up this issue with the geofire on version 2.0.0 and the worst part is that i cant use an older version since it has a dependency on firebase database. Please do help urgently. |
@socrates-hlapolosa @officialFlutterDeveloper @Moatsem12347 This is my podfile Uncomment this line to define a global platform for your projectplatform :ios, '11.0' CocoaPods analytics sends network stats synchronously affecting flutter build latency.ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Runner', { def flutter_root File.foreach(generated_xcode_build_settings_path) do |line| require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Runner' do flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) post_install do |installer| This is my yaml file Change s.ios.dependency 'GeoFire', '~> 4.3.0' in flutter_geofire.podsec First clean your project delete pod file and pod.lock. |
@heinzan I tried again by replacing my files with your files but It still got me the same issue. at this point I'm confused. |
I think that is your error Specs satisfying the |
Hello,
|
@heinzan your solution worked. thanks man. |
Please share how to fix the issue of : The plugin |
This doesn't work for me as well.
` |
When ever i run my project i get this error:
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo update
Error running pod install
Error launching application on iPhone 11.
I tried to run 'pod repo update' no luck.
my pubspec.yaml:
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
firebase_core: ^1.0.1
firebase_auth: ^1.0.1
firebase_database: ^6.1.0
connectivity: ^3.0.3
google_maps_flutter: ^2.0.1
outline_material_icons: ^0.1.1
geolocator: ^7.0.1
http: ^0.13.1
provider: ^4.3.3
flutter_polyline_points: ^0.2.4
font_awesome_flutter: ^8.11.0
animated_text_kit: ^3.1.2
flutter_geofire: ^2.0.0
dev_dependencies:
flutter_test:
sdk: flutter
my podfile:
Uncomment this line to define a global platform for your project
platform :ios, '10.0'
#use_frameworks!
use_modular_headers!
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
The text was updated successfully, but these errors were encountered: