0
milosn@MacBookPro ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
Run script to upload symbols already exists.
firebase_crashlytics: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_performance: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In Podfile:
    cloud_functions (from `.symlinks/plugins/cloud_functions/ios`) was resolved to 4.7.6, which depends on
      Firebase/Functions (= 10.25.0) was resolved to 10.25.0, which depends on
        FirebaseFunctions (~> 10.25.0) was resolved to 10.25.0, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 2.1)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMAppAuth (< 5.0, >= 4.1.1) was resolved to 4.1.1, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 3.3)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMSessionFetcher/Core (~> 3.3)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 3.5.6, which depends on
      GoogleMLKit/BarcodeScanning (~> 4.0.0) was resolved to 4.0.0, which depends on
        MLKitBarcodeScanning (~> 3.0.0) was resolved to 3.0.0, which depends on
          MLKitVision (~> 5.0) was resolved to 5.0.0, which depends on
            GTMSessionFetcher/Core (< 3.0, >= 1.1)

CocoaPods could not find compatible versions for pod "GoogleUtilities/Logger":
  In Podfile:
    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 2.32.0, which depends on
      Firebase/CoreOnly (= 10.25.0) was resolved to 10.25.0, which depends on
        FirebaseCore (= 10.25.0) was resolved to 10.25.0, which depends on
          GoogleUtilities/Logger (~> 7.12)

    firebase_performance (from `.symlinks/plugins/firebase_performance/ios`) was resolved to 0.9.4-7, which depends on
      Firebase/Performance (= 10.25.0) was resolved to 10.25.0, which depends on
        FirebasePerformance (~> 10.25.0) was resolved to 10.25.0, which depends on
          GoogleUtilities/MethodSwizzler (~> 7.13) was resolved to 7.13.3, which depends on
            GoogleUtilities/Logger (= 7.13.3)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 3.5.6, which depends on
      GoogleMLKit/BarcodeScanning (~> 4.0.0) was resolved to 4.0.0, which depends on
        MLKitBarcodeScanning (~> 3.0.0) was resolved to 3.0.0, which depends on
          MLKitCommon (~> 9.0) was resolved to 9.0.0, which depends on
            GoogleUtilitiesComponents (~> 1.0) was resolved to 1.1.0, which depends on
              GoogleUtilities/Logger

Flutter version:

Flutter 3.29.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision 35c388afb5 (3 weeks ago) • 2025-02-10 12:48:41 -0800 Engine • revision f73bfc4522 Tools • Dart 3.7.0 • DevTools 2.42.2

Pod version: 1.16.2

Macbook M1

Flutter dependencies:

environment:
  sdk: ">=2.16.1 <3.0.0"

dependencies:
  add_2_calendar: ^3.0.1
  animate_do: ^4.2.0
  app_links: ^4.0.1
  auto_route: ^5.0.1
  before_after: ^3.1.0
  bloc: ^8.1.0
  cached_network_image: ^3.2.1
  carousel_slider: ^5.0.0
  cloud_firestore: ^4.15.9
  cloud_functions: ^4.6.9
  collection: ^1.16.0
  cupertino_icons: ^1.0.2
  dartz: ^0.10.1
  dotted_border: ^2.0.0+2
  easy_localization: ^3.0.0
  enum_to_string: ^2.0.1
  equatable: ^2.0.5
  firebase_auth: ^4.17.9
  firebase_core: ^2.27.1
  firebase_crashlytics: ^3.4.19
  firebase_messaging: ^14.7.20
  firebase_performance: ^0.9.3+18
  firebase_storage: ^11.6.10
  flutter:
    sdk: flutter
  flutter_bloc: ^8.1.0
  flutter_datetime_picker_plus: ^2.2.0
  flutter_local_notifications: ^18.0.1
  flutter_map: ^4.0.0
  flutter_markdown: ^0.7.6+2
  flutter_native_splash: ^2.0.5
  form_validator: ^2.1.1
  geocoding: ^3.0.0
  geolocator: ^9.0.1
  get_it: ^7.2.0
  google_sign_in: ^5.2.4
  google_sign_in_ios: ^5.7.5
  http: ^0.13.6
  hydrated_bloc: ^9.0.0
  image_cropper:
    path: ./lib/core/packages/image_cropper/image_cropper
  image_cropper_for_web:
    path: ./lib/core/packages/image_cropper/image_cropper_for_web
  image_cropper_platform_interface:
    path: ./lib/core/packages/image_cropper/image_cropper_platform_interface
  image_gallery_saver: ^2.0.3
  image_picker: ^1.1.2
  internet_connection_checker: ^1.0.0+1
  intl: ^0.17.0
  introduction_screen: ^3.1.14
  # introduction_screen:
  #   path: ./lib/core/packages/introduction_screen
  json_annotation: ^4.4.0
  latlong2: ^0.8.1
  mobile_scanner: ^4.0.0
  path_provider: ^2.0.9
  permission_handler: ^11.4.0
  photo_view:
    git:
      url: https://github.com/bluefireteam/photo_view
      ref: main
  rxdart: ^0.27.3
  share_plus: ^10.0.0
  shared_preferences: ^2.0.13
  shimmer: ^3.0.0
  sign_in_with_apple: ^6.1.4
  timeago: ^3.2.2
  url_launcher: ^6.1.2
  uuid: ^4.5.1

dependency_overrides:
  firebase_core_platform_interface: ^5.0.0
  intl: ^0.18.1
  image_cropper_for_web:
    path: ./lib/core/packages/image_cropper/image_cropper_for_web
  image_cropper_platform_interface:
    path: ./lib/core/packages/image_cropper/image_cropper_platform_interface
  url_launcher_ios: ^6.3.1

dev_dependencies:
  auto_route_generator: ^5.0.2
  build_runner:
  flutter_launcher_icons: ^0.14.3
  flutter_lints: ^5.0.0
  flutter_test:
    sdk: flutter
  json_serializable: ^6.1.5
  pedantic_mono: ^1.17.0
  pixel_perfect: ^1.1.1

1 Answer 1

0

Try this commands:

flutter clean
rm -rf ios/Podfile.lock
pod deintegrate
pod install
pod repo update

Depending on the case, not all commands are useful, but try this first.

Also I see your dart sdk seems outdated.

Can you replace it with:

environment:
  sdk: ^3.7.0
Sign up to request clarification or add additional context in comments.

2 Comments

I have M1 macbook
It's not a problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.