firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.71k stars 3.97k forks source link

[FIREBASE_STORAGE]: No such module 'GTMSessionFetcherCore' #13096

Closed isenbj closed 3 months ago

isenbj commented 3 months ago

Is there an existing issue for this?

Which plugins are affected?

Storage

Which platforms are affected?

iOS

Description

I have been using various firebase libraries in my flutter project for a while now and am adding a feature needing firebase_storage.

From documentation, the only thing necessary should be adding the dependency and rebuilding. but any time I upgrade flutter, upgrade firestore dependencies, or add new ones I ALWAYS have issues with firestore related dependencies.

Could we get clarity on how to resolve issues like this, how the integration works with firestore and things like the COCOAPODS macro, how dependency relations are handled, etc? Because I have no idea how to resolve this issue beyond created a new project and copying everything to it. Deleting the podfile.lock, deleting the build, symlink, and pods folder doesn't work, deleting the ios directory is a tough resolution because I have a lot of native ios code in my project, various config for storekit, etc.

My only other idea is to copy everything over to the new project that works and hope it fixes my issue. But this is pretty bad when all I want to do is add a dependency....

When attempting to run in ios, I get the following errors:

Running pod install...
Running Xcode build...
Xcode build done.                                           33.2s
Failed to build iOS app
Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): No such module 'GTMSessionFetcherCore'
/Users/jermi/Development/apps/OneStopAdjuster/one_stop_adjuster_app/ios/Pods/FirebaseStorage/FirebaseStorage/Sources/Storage.swift:22:9

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

pubspec:

firebase_core: 3.2.0 firebase_auth: 5.1.2 firebase_messaging: 15.0.3 firebase_analytics: 11.2.0 firebase_storage: 12.1.1 cloud_firestore: 5.1.0

podfile:

  # Uncomment this line to define a global platform for your project
platform :ios, '16'

# 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
  use_frameworks!
  use_modular_headers!
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.28.0'

  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)
##     target.build_configurations.each do |config|
##       config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64 i386"
##     end
#  end
#end

post_install do |installer|
  installer.aggregate_targets.each do |target|
    target.xcconfigs.each do |variant, xcconfig|
      xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
      IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
    end
  end
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
        xcconfig_path = config.base_configuration_reference.real_path
        IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
      end
    end
  end

  installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
      end
  end
  installer.pods_project.targets.each do |target|
      flutter_additional_ios_build_settings(target)
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'

      end
  end
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDISABLE_TRUEDEPTH_API'
    end
  end
end

podfile.lock:

PODS:
  - AppAuth (1.7.5):
    - AppAuth/Core (= 1.7.5)
    - AppAuth/ExternalUserAgent (= 1.7.5)
  - AppAuth/Core (1.7.5)
  - AppAuth/ExternalUserAgent (1.7.5):
    - AppAuth/Core
  - camera_avfoundation (0.0.1):
    - Flutter
  - cloud_firestore (5.1.0):
    - Firebase/Firestore (= 10.28.0)
    - firebase_core
    - Flutter
  - device_calendar (0.0.1):
    - Flutter
  - device_info_plus (0.0.1):
    - Flutter
  - DKImagePickerController/Core (4.3.9):
    - DKImagePickerController/ImageDataManager
    - DKImagePickerController/Resource
  - DKImagePickerController/ImageDataManager (4.3.9)
  - DKImagePickerController/PhotoGallery (4.3.9):
    - DKImagePickerController/Core
    - DKPhotoGallery
  - DKImagePickerController/Resource (4.3.9)
  - DKPhotoGallery (0.0.19):
    - DKPhotoGallery/Core (= 0.0.19)
    - DKPhotoGallery/Model (= 0.0.19)
    - DKPhotoGallery/Preview (= 0.0.19)
    - DKPhotoGallery/Resource (= 0.0.19)
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Core (0.0.19):
    - DKPhotoGallery/Model
    - DKPhotoGallery/Preview
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Model (0.0.19):
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Preview (0.0.19):
    - DKPhotoGallery/Model
    - DKPhotoGallery/Resource
    - SDWebImage
    - SwiftyGif
  - DKPhotoGallery/Resource (0.0.19):
    - SDWebImage
    - SwiftyGif
  - emoji_picker_flutter (0.0.1):
    - Flutter
  - file_picker (0.0.1):
    - DKImagePickerController/PhotoGallery
    - Flutter
  - file_selector_ios (0.0.1):
    - Flutter
  - Firebase/Analytics (10.28.0):
    - Firebase/Core
  - Firebase/Auth (10.28.0):
    - Firebase/CoreOnly
    - FirebaseAuth (~> 10.28.0)
  - Firebase/Core (10.28.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (~> 10.28.0)
  - Firebase/CoreOnly (10.28.0):
    - FirebaseCore (= 10.28.0)
  - Firebase/Firestore (10.28.0):
    - Firebase/CoreOnly
    - FirebaseFirestore (~> 10.28.0)
  - Firebase/Messaging (10.28.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 10.28.0)
  - Firebase/Storage (10.28.0):
    - Firebase/CoreOnly
    - FirebaseStorage (~> 10.28.0)
  - firebase_analytics (11.2.0):
    - Firebase/Analytics (= 10.28.0)
    - firebase_core
    - Flutter
  - firebase_auth (5.1.2):
    - Firebase/Auth (= 10.28.0)
    - firebase_core
    - Flutter
  - firebase_core (3.2.0):
    - Firebase/CoreOnly (= 10.28.0)
    - Flutter
  - firebase_messaging (15.0.3):
    - Firebase/Messaging (= 10.28.0)
    - firebase_core
    - Flutter
  - firebase_storage (12.1.1):
    - Firebase/Storage (= 10.28.0)
    - firebase_core
    - Flutter
  - FirebaseAnalytics (10.28.0):
    - FirebaseAnalytics/AdIdSupport (= 10.28.0)
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseAnalytics/AdIdSupport (10.28.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleAppMeasurement (= 10.28.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseAppCheckInterop (10.29.0)
  - FirebaseAuth (10.28.0):
    - FirebaseAppCheckInterop (~> 10.17)
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
    - RecaptchaInterop (~> 100.0)
  - FirebaseAuthInterop (10.29.0)
  - FirebaseCore (10.28.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.12)
    - GoogleUtilities/Logger (~> 7.12)
  - FirebaseCoreExtension (10.28.0):
    - FirebaseCore (~> 10.0)
  - FirebaseCoreInternal (10.29.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseFirestore (10.28.0):
    - FirebaseFirestoreBinary (= 10.28.0)
  - FirebaseFirestoreAbseilBinary (1.2024011601.0)
  - FirebaseFirestoreBinary (10.28.0):
    - FirebaseCore (= 10.28.0)
    - FirebaseCoreExtension (= 10.28.0)
    - FirebaseFirestoreInternalBinary (= 10.28.0)
    - FirebaseSharedSwift (= 10.28.0)
  - FirebaseFirestoreGRPCBoringSSLBinary (1.62.1)
  - FirebaseFirestoreGRPCCoreBinary (1.62.1):
    - FirebaseFirestoreAbseilBinary (= 1.2024011601.0)
    - FirebaseFirestoreGRPCBoringSSLBinary (= 1.62.1)
  - FirebaseFirestoreGRPCCPPBinary (1.62.1):
    - FirebaseFirestoreAbseilBinary (= 1.2024011601.0)
    - FirebaseFirestoreGRPCCoreBinary (= 1.62.1)
  - FirebaseFirestoreInternalBinary (10.28.0):
    - FirebaseCore (= 10.28.0)
    - FirebaseFirestoreAbseilBinary (= 1.2024011601.0)
    - FirebaseFirestoreGRPCCPPBinary (= 1.62.1)
    - leveldb-library (~> 1.22)
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseInstallations (10.29.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - FirebaseMessaging (10.28.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.3)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Reachability (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseSharedSwift (10.28.0)
  - FirebaseStorage (10.28.0):
    - FirebaseAppCheckInterop (~> 10.0)
    - FirebaseAuthInterop (~> 10.25)
    - FirebaseCore (~> 10.0)
    - FirebaseCoreExtension (~> 10.0)
    - GoogleUtilities/Environment (~> 7.12)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
  - Flutter (1.0.0)
  - flutter_barcode_scanner (2.0.0):
    - Flutter
  - flutter_email_sender (0.0.1):
    - Flutter
  - flutter_image_compress_common (1.0.0):
    - Flutter
    - Mantle
    - SDWebImage
    - SDWebImageWebPCoder
  - flutter_keyboard_visibility (0.0.1):
    - Flutter
  - flutter_localization (0.0.1):
    - Flutter
  - flutter_native_splash (0.0.1):
    - Flutter
  - fluttertoast (0.0.2):
    - Flutter
    - Toast
  - geocoding_ios (1.0.5):
    - Flutter
  - geolocator_apple (1.2.0):
    - Flutter
  - google_maps_flutter_ios (0.0.1):
    - Flutter
    - GoogleMaps (< 10.0, >= 8.4)
  - google_sign_in_ios (0.0.1):
    - Flutter
    - FlutterMacOS
    - GoogleSignIn (~> 7.0)
  - GoogleAppMeasurement (10.28.0):
    - GoogleAppMeasurement/AdIdSupport (= 10.28.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleAppMeasurement/AdIdSupport (10.28.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 10.28.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleAppMeasurement/WithoutAdIdSupport (10.28.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleDataTransport (9.4.1):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleMaps (9.0.0):
    - GoogleMaps/Maps (= 9.0.0)
  - GoogleMaps/Base (9.0.0)
  - GoogleMaps/Maps (9.0.0):
    - GoogleMaps/Base
  - GoogleSignIn (7.1.0):
    - AppAuth (< 2.0, >= 1.7.3)
    - GTMAppAuth (< 5.0, >= 4.1.1)
    - GTMSessionFetcher/Core (~> 3.3)
  - GoogleUtilities/AppDelegateSwizzler (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
    - GoogleUtilities/Privacy
  - GoogleUtilities/Environment (7.13.3):
    - GoogleUtilities/Privacy
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Privacy
  - GoogleUtilities/MethodSwizzler (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/Network (7.13.3):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Privacy
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.13.3)":
    - GoogleUtilities/Privacy
  - GoogleUtilities/Privacy (7.13.3)
  - GoogleUtilities/Reachability (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/UserDefaults (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GTMAppAuth (4.1.1):
    - AppAuth/Core (~> 1.7)
    - GTMSessionFetcher/Core (< 4.0, >= 3.3)
  - GTMSessionFetcher/Core (3.5.0)
  - image_cropper (0.0.4):
    - Flutter
    - TOCropViewController (~> 2.7.4)
  - image_picker_ios (0.0.1):
    - Flutter
  - leveldb-library (1.22.5)
  - libwebp (1.3.2):
    - libwebp/demux (= 1.3.2)
    - libwebp/mux (= 1.3.2)
    - libwebp/sharpyuv (= 1.3.2)
    - libwebp/webp (= 1.3.2)
  - libwebp/demux (1.3.2):
    - libwebp/webp
  - libwebp/mux (1.3.2):
    - libwebp/demux
  - libwebp/sharpyuv (1.3.2)
  - libwebp/webp (1.3.2):
    - libwebp/sharpyuv
  - Mantle (2.2.0):
    - Mantle/extobjc (= 2.2.0)
  - Mantle/extobjc (2.2.0)
  - map_launcher (0.0.1):
    - Flutter
  - nanopb (2.30910.0):
    - nanopb/decode (= 2.30910.0)
    - nanopb/encode (= 2.30910.0)
  - nanopb/decode (2.30910.0)
  - nanopb/encode (2.30910.0)
  - package_info_plus (0.4.5):
    - Flutter
  - path_provider_foundation (0.0.1):
    - Flutter
    - FlutterMacOS
  - pdf_merger (0.0.1):
    - Flutter
  - pencil_kit (0.0.1):
    - Flutter
  - permission_handler_apple (9.3.0):
    - Flutter
  - PromisesObjC (2.4.0)
  - purchases_flutter (6.30.1):
    - Flutter
    - PurchasesHybridCommon (= 11.1.0)
  - purchases_ui_flutter (6.30.1):
    - Flutter
    - PurchasesHybridCommonUI (= 11.1.0)
  - PurchasesHybridCommon (11.1.0):
    - RevenueCat (= 4.43.2)
  - PurchasesHybridCommonUI (11.1.0):
    - PurchasesHybridCommon (= 11.1.0)
    - RevenueCatUI (= 4.43.2)
  - RecaptchaInterop (100.0.0)
  - RevenueCat (4.43.2)
  - RevenueCatUI (4.43.2):
    - RevenueCat (= 4.43.2)
  - SDWebImage (5.19.4):
    - SDWebImage/Core (= 5.19.4)
  - SDWebImage/Core (5.19.4)
  - SDWebImageWebPCoder (0.14.6):
    - libwebp (~> 1.0)
    - SDWebImage/Core (~> 5.17)
  - share_plus (0.0.1):
    - Flutter
  - shared_preferences_foundation (0.0.1):
    - Flutter
    - FlutterMacOS
  - sign_in_with_apple (0.0.1):
    - Flutter
  - speech_to_text (0.0.1):
    - Flutter
    - Try
  - "sqlite3 (3.45.3+1)":
    - "sqlite3/common (= 3.45.3+1)"
  - "sqlite3/common (3.45.3+1)"
  - "sqlite3/fts5 (3.45.3+1)":
    - sqlite3/common
  - "sqlite3/perf-threadsafe (3.45.3+1)":
    - sqlite3/common
  - "sqlite3/rtree (3.45.3+1)":
    - sqlite3/common
  - sqlite3_flutter_libs (0.0.1):
    - Flutter
    - sqlite3 (~> 3.45.1)
    - sqlite3/fts5
    - sqlite3/perf-threadsafe
    - sqlite3/rtree
  - SwiftyGif (5.4.5)
  - syncfusion_flutter_pdfviewer (0.0.1):
    - Flutter
  - Toast (4.1.1)
  - TOCropViewController (2.7.4)
  - Try (2.1.1)
  - url_launcher_ios (0.0.1):
    - Flutter
  - vibration (1.7.5):
    - Flutter
  - video_player_avfoundation (0.0.1):
    - Flutter
    - FlutterMacOS

DEPENDENCIES:
  - camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
  - cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
  - device_calendar (from `.symlinks/plugins/device_calendar/ios`)
  - device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
  - emoji_picker_flutter (from `.symlinks/plugins/emoji_picker_flutter/ios`)
  - file_picker (from `.symlinks/plugins/file_picker/ios`)
  - file_selector_ios (from `.symlinks/plugins/file_selector_ios/ios`)
  - firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
  - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
  - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
  - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
  - firebase_storage (from `.symlinks/plugins/firebase_storage/ios`)
  - FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `10.28.0`)
  - Flutter (from `Flutter`)
  - flutter_barcode_scanner (from `.symlinks/plugins/flutter_barcode_scanner/ios`)
  - flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`)
  - flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`)
  - flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
  - flutter_localization (from `.symlinks/plugins/flutter_localization/ios`)
  - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
  - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
  - geocoding_ios (from `.symlinks/plugins/geocoding_ios/ios`)
  - geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`)
  - google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
  - google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`)
  - image_cropper (from `.symlinks/plugins/image_cropper/ios`)
  - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
  - map_launcher (from `.symlinks/plugins/map_launcher/ios`)
  - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
  - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
  - pdf_merger (from `.symlinks/plugins/pdf_merger/ios`)
  - pencil_kit (from `.symlinks/plugins/pencil_kit/ios`)
  - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
  - purchases_flutter (from `.symlinks/plugins/purchases_flutter/ios`)
  - purchases_ui_flutter (from `.symlinks/plugins/purchases_ui_flutter/ios`)
  - share_plus (from `.symlinks/plugins/share_plus/ios`)
  - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
  - sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
  - speech_to_text (from `.symlinks/plugins/speech_to_text/ios`)
  - sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`)
  - syncfusion_flutter_pdfviewer (from `.symlinks/plugins/syncfusion_flutter_pdfviewer/ios`)
  - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
  - vibration (from `.symlinks/plugins/vibration/ios`)
  - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`)

SPEC REPOS:
  trunk:
    - AppAuth
    - DKImagePickerController
    - DKPhotoGallery
    - Firebase
    - FirebaseAnalytics
    - FirebaseAppCheckInterop
    - FirebaseAuth
    - FirebaseAuthInterop
    - FirebaseCore
    - FirebaseCoreExtension
    - FirebaseCoreInternal
    - FirebaseFirestoreAbseilBinary
    - FirebaseFirestoreBinary
    - FirebaseFirestoreGRPCBoringSSLBinary
    - FirebaseFirestoreGRPCCoreBinary
    - FirebaseFirestoreGRPCCPPBinary
    - FirebaseFirestoreInternalBinary
    - FirebaseInstallations
    - FirebaseMessaging
    - FirebaseSharedSwift
    - FirebaseStorage
    - GoogleAppMeasurement
    - GoogleDataTransport
    - GoogleMaps
    - GoogleSignIn
    - GoogleUtilities
    - GTMAppAuth
    - GTMSessionFetcher
    - leveldb-library
    - libwebp
    - Mantle
    - nanopb
    - PromisesObjC
    - PurchasesHybridCommon
    - PurchasesHybridCommonUI
    - RecaptchaInterop
    - RevenueCat
    - RevenueCatUI
    - SDWebImage
    - SDWebImageWebPCoder
    - sqlite3
    - SwiftyGif
    - Toast
    - TOCropViewController
    - Try

EXTERNAL SOURCES:
  camera_avfoundation:
    :path: ".symlinks/plugins/camera_avfoundation/ios"
  cloud_firestore:
    :path: ".symlinks/plugins/cloud_firestore/ios"
  device_calendar:
    :path: ".symlinks/plugins/device_calendar/ios"
  device_info_plus:
    :path: ".symlinks/plugins/device_info_plus/ios"
  emoji_picker_flutter:
    :path: ".symlinks/plugins/emoji_picker_flutter/ios"
  file_picker:
    :path: ".symlinks/plugins/file_picker/ios"
  file_selector_ios:
    :path: ".symlinks/plugins/file_selector_ios/ios"
  firebase_analytics:
    :path: ".symlinks/plugins/firebase_analytics/ios"
  firebase_auth:
    :path: ".symlinks/plugins/firebase_auth/ios"
  firebase_core:
    :path: ".symlinks/plugins/firebase_core/ios"
  firebase_messaging:
    :path: ".symlinks/plugins/firebase_messaging/ios"
  firebase_storage:
    :path: ".symlinks/plugins/firebase_storage/ios"
  FirebaseFirestore:
    :git: https://github.com/invertase/firestore-ios-sdk-frameworks.git
    :tag: 10.28.0
  Flutter:
    :path: Flutter
  flutter_barcode_scanner:
    :path: ".symlinks/plugins/flutter_barcode_scanner/ios"
  flutter_email_sender:
    :path: ".symlinks/plugins/flutter_email_sender/ios"
  flutter_image_compress_common:
    :path: ".symlinks/plugins/flutter_image_compress_common/ios"
  flutter_keyboard_visibility:
    :path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
  flutter_localization:
    :path: ".symlinks/plugins/flutter_localization/ios"
  flutter_native_splash:
    :path: ".symlinks/plugins/flutter_native_splash/ios"
  fluttertoast:
    :path: ".symlinks/plugins/fluttertoast/ios"
  geocoding_ios:
    :path: ".symlinks/plugins/geocoding_ios/ios"
  geolocator_apple:
    :path: ".symlinks/plugins/geolocator_apple/ios"
  google_maps_flutter_ios:
    :path: ".symlinks/plugins/google_maps_flutter_ios/ios"
  google_sign_in_ios:
    :path: ".symlinks/plugins/google_sign_in_ios/darwin"
  image_cropper:
    :path: ".symlinks/plugins/image_cropper/ios"
  image_picker_ios:
    :path: ".symlinks/plugins/image_picker_ios/ios"
  map_launcher:
    :path: ".symlinks/plugins/map_launcher/ios"
  package_info_plus:
    :path: ".symlinks/plugins/package_info_plus/ios"
  path_provider_foundation:
    :path: ".symlinks/plugins/path_provider_foundation/darwin"
  pdf_merger:
    :path: ".symlinks/plugins/pdf_merger/ios"
  pencil_kit:
    :path: ".symlinks/plugins/pencil_kit/ios"
  permission_handler_apple:
    :path: ".symlinks/plugins/permission_handler_apple/ios"
  purchases_flutter:
    :path: ".symlinks/plugins/purchases_flutter/ios"
  purchases_ui_flutter:
    :path: ".symlinks/plugins/purchases_ui_flutter/ios"
  share_plus:
    :path: ".symlinks/plugins/share_plus/ios"
  shared_preferences_foundation:
    :path: ".symlinks/plugins/shared_preferences_foundation/darwin"
  sign_in_with_apple:
    :path: ".symlinks/plugins/sign_in_with_apple/ios"
  speech_to_text:
    :path: ".symlinks/plugins/speech_to_text/ios"
  sqlite3_flutter_libs:
    :path: ".symlinks/plugins/sqlite3_flutter_libs/ios"
  syncfusion_flutter_pdfviewer:
    :path: ".symlinks/plugins/syncfusion_flutter_pdfviewer/ios"
  url_launcher_ios:
    :path: ".symlinks/plugins/url_launcher_ios/ios"
  vibration:
    :path: ".symlinks/plugins/vibration/ios"
  video_player_avfoundation:
    :path: ".symlinks/plugins/video_player_avfoundation/darwin"

CHECKOUT OPTIONS:
  FirebaseFirestore:
    :git: https://github.com/invertase/firestore-ios-sdk-frameworks.git
    :tag: 10.28.0

SPEC CHECKSUMS:
  AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa
  camera_avfoundation: 759172d1a77ae7be0de08fc104cfb79738b8a59e
  cloud_firestore: 71f0ffec97ce23c51587ec906f4cc470c518bc70
  device_calendar: 9cb33f88a02e19652ec7b8b122ca778f751b1f7b
  device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d
  DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
  DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
  emoji_picker_flutter: fe2e6151c5b548e975d546e6eeb567daf0962a58
  file_picker: ce3938a0df3cc1ef404671531facef740d03f920
  file_selector_ios: b6a6c6667913d571590169ef946afbafe3b52688
  Firebase: 5121c624121af81cbc81df3bda414b3c28c4f3c3
  firebase_analytics: e51d02e2da883fd058f2a4f151f6a80acdfe67aa
  firebase_auth: e778ee89483b86fe4200d1f8e9a1c52aa5fb64a8
  firebase_core: a9d0180d5285527884d07a41eb4a9ec9ed12cdb6
  firebase_messaging: ccc82a143a74de75f440a4e413dbbb37ec3fddbc
  firebase_storage: f7cd2f66840540e243e77325f4e272e2c0dc0603
  FirebaseAnalytics: 1e06fe7d246af7230b08d1d9cdca54a4624dd461
  FirebaseAppCheckInterop: 6a1757cfd4067d8e00fccd14fcc1b8fd78cfac07
  FirebaseAuth: 3d872fbbfc4223edeb72769e488f325fa8b0a4a9
  FirebaseAuthInterop: 17db81e9b198afb0f95ce48c133825727eed55d3
  FirebaseCore: 857dc1c6dd1255675047404d8466f7dfaac5d779
  FirebaseCoreExtension: f63147b723e2a700fe0f34ec6fb7f358d6fe83e0
  FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934
  FirebaseFirestore: 992ccba0fb5e5bd4c53facb241a9e2466f316d4b
  FirebaseFirestoreAbseilBinary: bd0451946879e0e01327c8efc35896bb273009c4
  FirebaseFirestoreBinary: 93543ac3d053002f6fa130ce51a26bf2aa999c41
  FirebaseFirestoreGRPCBoringSSLBinary: c3007e61593e4583ec3bb8b34ce654663663b690
  FirebaseFirestoreGRPCCoreBinary: 1243fc6604a52912694635f891916976924931ed
  FirebaseFirestoreGRPCCPPBinary: e447b3a7c060c0abfc4e2c9f6fb53bf7635ded66
  FirebaseFirestoreInternalBinary: 403a5475a2f8481606864443f2ab3d592b67fe4d
  FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd
  FirebaseMessaging: 087a7c7cadef7b9239f005bc4db823894844f323
  FirebaseSharedSwift: 48de4aec81a6b79bb30404e5e6db43ea74848fed
  FirebaseStorage: b152225e6782299fce586cd5c90aca60c1bb9607
  Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
  flutter_barcode_scanner: 7a1144744c28dc0c57a8de7218ffe5ec59a9e4bf
  flutter_email_sender: 02d7443217d8c41483223627972bfdc09f74276b
  flutter_image_compress_common: ec1d45c362c9d30a3f6a0426c297f47c52007e3e
  flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
  flutter_localization: f43b18844a2b3d2c71fd64f04ffd6b1e64dd54d4
  flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778
  fluttertoast: 31b00dabfa7fb7bacd9e7dbee580d7a2ff4bf265
  geocoding_ios: a389ea40f6f548de6e63006a2e31bf66ff80769a
  geolocator_apple: 6cbaf322953988e009e5ecb481f07efece75c450
  google_maps_flutter_ios: 5bc2be60ad012e79b182ce0fb0ef5030a50fb03e
  google_sign_in_ios: 989eea5abe94af62050782714daf920be883d4a2
  GoogleAppMeasurement: 55a4a3c8000c1280d68bf4c084adbfef20c49db1
  GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
  GoogleMaps: 4907d0d42bf8cd58f56743e31f91d23c10682745
  GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db
  GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
  GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de
  GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
  image_cropper: 37d40f62177c101ff4c164906d259ea2c3aa70cf
  image_picker_ios: b545a5f16c0fa88e3ecbbce3ed4de45567a8ec18
  leveldb-library: e8eadf9008a61f9e1dde3978c086d2b6d9b9dc28
  libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009
  Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
  map_launcher: e325db1261d029ff33e08e03baccffe09593ffea
  nanopb: 438bc412db1928dac798aa6fd75726007be04262
  package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
  path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
  pdf_merger: 488fa9454fa422922ee8df77c4b6b8dc21639989
  pencil_kit: 97b56e7e011e7bddd920311849a2105c4b0b7923
  permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
  PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
  purchases_flutter: a7dba78a5da88e0672a881372d2a34478e723537
  purchases_ui_flutter: be9f0e3bdd2b0ad7588520ef662a1b6f7478d0ea
  PurchasesHybridCommon: 4022d5944cb30ec44ba5159e42aa161fe0e30175
  PurchasesHybridCommonUI: fb80871b28d3d21ae2d0a2102e228331931e6856
  RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21
  RevenueCat: 3d934653b7e8b09af88fd47e9e84cfaf5d0a89ba
  RevenueCatUI: 1417f375baf005eaf3afa8bc99724f567abfd6da
  SDWebImage: 066c47b573f408f18caa467d71deace7c0f8280d
  SDWebImageWebPCoder: e38c0a70396191361d60c092933e22c20d5b1380
  share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
  shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
  sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
  speech_to_text: b43a7d99aef037bd758ed8e45d79bbac035d2dfe
  sqlite3: 02d1f07eaaa01f80a1c16b4b31dfcbb3345ee01a
  sqlite3_flutter_libs: af0e8fe9bce48abddd1ffdbbf839db0302d72d80
  SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
  syncfusion_flutter_pdfviewer: bb9998884b864cfedf72628df3503bdf57e397c0
  Toast: 1f5ea13423a1e6674c4abdac5be53587ae481c4e
  TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654
  Try: 5ef669ae832617b3cee58cb2c6f99fb767a4ff96
  url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586
  vibration: 7d883d141656a1c1a6d8d238616b2042a51a1241
  video_player_avfoundation: 02011213dab73ae3687df27ce441fbbcc82b5579

PODFILE CHECKSUM: 66cd0d16e36f0360c0bc27ab6cb88b6f6b8f8867

COCOAPODS: 1.15.2

Reproducing the issue

I have created a new project, and imported the same dependencies and it works fine. So repro is hard. My main question is help understanding how to resolve this issue in my current project. I am not an ios developer and only really understand the flutter side of things right now.

doctor: [βœ“] Flutter (Channel stable, 3.22.2, on macOS 14.1.1 23B81 darwin-arm64, locale en-US) [βœ“] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 15.0) [βœ“] Chrome - develop for the web [βœ“] Android Studio (version 2023.3) [βœ“] VS Code (version 1.91.1) [βœ“] Connected device (5 available) [βœ“] Network resources

Firebase Core version

3.2.0

Flutter Version

3.22.3

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```

Additional context and comments

related issue only has the resolution "user config issue" but I can't accept that. What's the config issue? I am not an iOS dev so I can't troubleshoot that. I import this module as instructed and it doesn't work. All the steps there dont work.

Lyokone commented 3 months ago

Hello; Usually, when there is an issue with Cocoapod resolution, you can safely delete Podfile.lock, Pods folder, then run flutter clean. You can then run flutter pub get, and if you want more information, go into the ios folder and run pod install (otherwise you are fine just running you app directly).

This is not directly related to FlutterFire, but occurs when using FlutterFire because we are using native dependencies. We are ready to move to Swift Package Manager which will be a LOT easier to use as soon as Flutter will support it.

isenbj commented 3 months ago

Hi Lyokone, this doesn't work (as shown in my post).

What other options are there? Pod Install works just fine. This only happens during the build.