Coder Social home page Coder Social logo

invertase / firestore-ios-sdk-frameworks Goto Github PK

View Code? Open in Web Editor NEW
430.0 19.0 48.0 2.09 GB

⚡ Precompiled Firestore iOS SDKs extracted from the Firebase iOS SDK repository release downloads for faster build times.

License: Apache License 2.0

Ruby 100.00%

firestore-ios-sdk-frameworks's Introduction

Firestore iOS SDK Binary Distribution

Precompiled Firestore iOS SDK xcframework files extracted from the Firebase iOS SDK repository release downloads, tagged by Firebase iOS SDK version and presented as a consumable podspec.

Why

Currently the Firestore iOS SDK depends on some 500k lines of mostly C++, which when compiling as part of your Xcode build takes a long time - even more so in CI environments.

Related Issues

Before & After

Before and after timing below, timed when running Xcode build (with cache fully cleared) in a project with Firestore.

Mac mini (2018) 6 cores:

Before:    ~ 240s
After:     ~  45s

GitHub Action CI 2 cores:

Before:    ~ 551s
After:     ~ 174s

Usage

Integrating is as simple as adding 1 line to your main target in your projects Podfile. Any dependencies in your project that already consume the Firebase iOS SDK from pods will then automatically source Firestore from these precompiled binaries rather than from source.

  • For Flutter & React Native this file is usually located at ios/Podfile
  • For Flutter the target is usually called Runner and can be added inside the target 'Runner' do block in your podfile.
  • For React Native this would be inside the target that has all your local React-* pods included.
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.19.0'

⚠️ Note: where the tag says 10.19.0 this should be changed to the pod version of Firebase/Firestore that you or your dependencies are using - in the format X.X.X, for FlutterFire the version that is being used can be seen here, for React Native Firebase here. If no version is specified on your current Firebase/Firestore pod then you can omit , :tag => '10.19.0' from the line above and use the latest version on master.

The first time you pod install a specific version, CocoaPods will remotely retrieve this git repository at the specified tag and cache it locally for use as a source for the FirebaseFirestore pod.

⚠️ Note: if you were previously caching iOS builds on CI you may now find that when using precompiled binaries that caching is no longer required and it may actually slow down your build times by several minutes.

Supported Firebase iOS SDK versions

The below are the currently supported Firebase iOS SDK versions of this repository, this list is updated automatically.

⚠️ Note: if you are looking for a new version that is not listed in the supported versions list, examine the upstream release notes for firebase-ios-sdk carefully. This can happen if the firebase-ios-sdk team issues an interim release to solve some urgent problem, but do not run their full release process. If that happens, don't worry - just wait for the next supported version before moving forward, or temporarily de-integrate this pre-compiled framework if you must use the interim version. 6.31.1 is an example of this, with more details here for why it might happen.

...and more.

License


Built and maintained by Invertase.

firestore-ios-sdk-frameworks's People

Contributors

andersonaddo avatar ehesp avatar ichordedionysos avatar lyokone avatar mikehardy avatar noizycr1cket avatar quentinfarizon avatar russellwheatley avatar salakar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firestore-ios-sdk-frameworks's Issues

Build failure: RNFBFirestoreCommon - Expected a type

I added that one-liner to my Podfile, then removed Pods and Podfile.lock, installed all Pods from scratch and now my build is failing:

Zrzut ekranu 2020-06-16 o 22 00 31

package.json

        "@react-native-firebase/auth": "^8.0.5",
        "@react-native-firebase/crashlytics": "7.1.5",
        "@react-native-firebase/database": "7.2.2",
        "@react-native-firebase/dynamic-links": "7.1.4",
        "@react-native-firebase/firestore": "7.1.7",
        "@react-native-firebase/functions": "7.1.4",
        "@react-native-firebase/messaging": "7.1.5",
        "@react-native-firebase/remote-config": "7.1.4",
        "@react-native-firebase/storage": "7.1.4",

Podfile

...
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '6.25.0'
...

Any hint how can I solve this issue?

ver 8.4.0 issue

HI, I am installing Cordova-plugin-firebasex which pulls this (and other) pods. But I am getting the following error - its similar to another issue already closed, but it looks slightly different.

[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In Podfile:
    FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.4.0`)

Specs satisfying the `FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.4.0`)` dependency were found, but they required a higher minimum deployment target.

Then when I try to install it directly, I get the following:

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.4.0' 

zsh: no such file or directory: https://github.com/invertase/firestore-ios-sdk-frameworks.git,

How can I resolve this?

[SOLVED] Xcode 12.1 required w/Detox, inside Xcode - 12.0 does not work

Hi

I'm trying to use this with detox but I get a lot of errors when building, starting with

/....../app/letsemjoyapp/node_modules/@react-native-firebase/firestore/ios/RNFBFirestore/RNFBFirestoreCommon.h:26:4: expected a type

+ (FIRFirestore *)getFirestoreForApp:(FIRApp *)firebaseApp;
^

My Detox build command is

xcodebuild -workspace ios/emjoy.xcworkspace -UseNewBuildSystem=NO -scheme emjoy -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcpretty

Any idea ? 😻

ld: library not found for -lBoringSSL-GRPC

Without this library, I can successfully build a signed iOS app from both the terminal and within xcode but takes over an hour.

When I use this library, it whizzes through but fails at the last moment with the following message:

ld: library not found for -lBoringSSL-GRPC
clang: error: linker command failed with exit code 1 (use -v to see invocation)

To use the library, I added the following line to the start of the target 'Runner' do method in the Podfile:

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '6.27.0'

Note that it didn't matter whether I used 6.21.0 through to 6.27.0 or even if I left it out to use master.

... then did the following:

cd ios
rm Podfile.lock 
pod install --repo-update
cd ..
flutter build ios

Here's are my Firebase dart dependencies:

  cloud_firestore: ^0.13.4+2
  cloud_functions: ^0.5.0
  firebase_analytics: ^5.0.14
  firebase_auth: ^0.15.5+2
  firebase_core: ^0.4.3+1
  firebase_crashlytics: ^0.1.3+3
  firebase_messaging: ^6.0.13

... and finally flutter doctor

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-GB)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.46.0)

Firebase Remote Config is missing the required GCMSenderID - Flutter Project

Could you please, help me find a solution? This happen just when I build in IOS.... Android device works normaly!

'Terminating app due to uncaught exception 'com.firebase.config', reason: 'Firebase Remote Config is missing the required GCMSenderID property from the configured FirebaseApp and will not be able to function properly. Please fix this issue to ensure that Firebase is correctly configured.'

I'm try use the Firebase remote config with Flutter on IOS too. But has a Crash when build the App. I add the "GoogleService-Info.plist" normaly.
Do you think there are error in the FirebaseRemoteConfig into SKD above?
Thank you!

Error on Apple Silicon: symbol(s) not found for architecture arm64

I'm facing Undefined symbol errors when trying to build and run a flutter app with the precompiled FirebaseFirestore pod installed on an Apple Silicon MBP.
When I remove pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.15.0' from the Podfile, it builds and runs as expected (though way slower 😅).
– Should the pre-compiled FirebaseFirestore pod support developing on Apple silicon?

Build log on simulator:

Launching lib/main.dart on iPhone 13 in debug mode...
lib/main.dart:1
Xcode build done.                                            8.9s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[39167]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1da775eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c4f8). One of the two will be used. Which one is undefined.
    objc[39167]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1da775f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c548). One of the two will be used. Which one is undefined.
    objc[39167]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1da775f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c598). One of the two will be used. Which one is undefined.
    objc[39167]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1da775fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c5e8). One of the two will be used. Which one is undefined.
    objc[39167]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1da775ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c638). One of the two will be used. Which one is undefined.
    objc[39167]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1da776040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10482c688). One of the two will be used. Which one is undefined.
    2022-05-15 23:21:19.567 xcodebuild[39167:150152] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-05-15 23:21:19.568 xcodebuild[39167:150152] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **
Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/gc/f02630rs7h1c1wpw8883cn9j086l3v/T/flutter_tools.Pa1sv0/flutter_ios_build_temp_dirW41kxN/temporary_xcresult_bundle
    Undefined symbols for architecture arm64:
      "leveldb::WriteBatch::WriteBatch()", referenced from:
          firebase::firestore::local::LevelDbTransaction::Commit() in FirebaseFirestore(leveldb_transaction.o)
      "leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)", referenced from:
          firebase::firestore::local::LevelDbTransaction::Commit() in FirebaseFirestore(leveldb_transaction.o)
      "leveldb::WriteBatch::~WriteBatch()", referenced from:
          firebase::firestore::local::LevelDbTransaction::Commit() in FirebaseFirestore(leveldb_transaction.o)
      "leveldb::Status::Status(leveldb::Status::Code, leveldb::Slice const&, leveldb::Slice const&)", referenced from:
          firebase::firestore::local::LevelDbTransaction::Get(absl::lts_20211102::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in FirebaseFirestore(leveldb_transaction.o)
      "leveldb::Options::Options()", referenced from:
          firebase::firestore::local::LevelDbPersistence::OpenDb(firebase::firestore::util::Path const&) in FirebaseFirestore(leveldb_persistence.o)
      "leveldb::WriteBatch::Delete(leveldb::Slice const&)", referenced from:
          firebase::firestore::local::LevelDbTransaction::Commit() in FirebaseFirestore(leveldb_transaction.o)
      "leveldb::Status::ToString() const", referenced from:
          firebase::firestore::local::ConvertStatus(leveldb::Status const&) in FirebaseFirestore(leveldb_util.o)
          firebase::firestore::local::LevelDbMigrations::ReadSchemaVersion(leveldb::DB*) in FirebaseFirestore(leveldb_migrations.o)
          firebase::firestore::local::LevelDbTransaction::Iterator::Seek(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in FirebaseFirestore(leveldb_transaction.o)
          firebase::firestore::local::LevelDbTransaction::Iterator::AdvanceLDB() in FirebaseFirestore(leveldb_transaction.o)
          firebase::firestore::local::LevelDbTransaction::Commit() in FirebaseFirestore(leveldb_transaction.o)
          firebase::firestore::local::LevelDbMutationQueue::LookupMutationBatch(int) in FirebaseFirestore(leveldb_mutation_queue.o)
          firebase::firestore::local::LevelDbRemoteDocumentCache::Get(firebase::firestore::model::DocumentKey const&) in FirebaseFirestore(leveldb_remote_document_cache.o)
          ...
      "leveldb::DB::Open(leveldb::Options const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, leveldb::DB**)", referenced from:
          firebase::firestore::local::LevelDbPersistence::OpenDb(firebase::firestore::util::Path const&) in FirebaseFirestore(leveldb_persistence.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    Result bundle written to path:
    	/var/folders/gc/f02630rs7h1c1wpw8883cn9j086l3v/T/flutter_tools.Pa1sv0/flutter_ios_build_temp_dirW41kxN/temporary_xcresult_bundle
Error (Xcode): Undefined symbol: leveldb::WriteBatch::WriteBatch()

Error (Xcode): Undefined symbol: leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)

Error (Xcode): Undefined symbol: leveldb::WriteBatch::~WriteBatch()

Error (Xcode): Undefined symbol: leveldb::Status::Status(leveldb::Status::Code, leveldb::Slice const&, leveldb::Slice const&)

Error (Xcode): Undefined symbol: leveldb::Options::Options()

Error (Xcode): Undefined symbol: leveldb::WriteBatch::Delete(leveldb::Slice const&)

Error (Xcode): Undefined symbol: leveldb::Status::ToString() const

Error (Xcode): Undefined symbol: leveldb::DB::Open(leveldb::Options const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, leveldb::DB**)

Could not build the application for the simulator.
Error launching application on iPhone 13.
Exited

Flutter doctor:

[flutter] flutter doctor -v
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
    • Flutter version 3.0.0 at /Users/abegehr/retention_folder/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (6 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.67.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (4 available)
    • iPhone 13 (mobile)      • AC26429D-AE91-4E0F-AF60-83404CEE5BF9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)         • macos                                • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)            • chrome                               • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.
exit code 0

Podfile:

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

# 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 => '8.15.0'

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      end
    end

    flutter_additional_ios_build_settings(target)
  end
end

Duplicate releases

Latest release script seems to add a new release entry & commit every time the CI Job runs - even if the release already exists:

image

How to use this strategy in a Flutter module?

Integrating is as simple as adding 1 line to your main target in your projects Podfile

How to use this in a module? ( flutter create -t module ... ): Those don't have a Podfile themselves

For production, I suppose you could add it to a Podfile of every app that depends on the module.
For dev, I suppose you can modify the module's .ios/ dir, even though it is ephemeral.

Both of those can be somewhat inconvenient when you try to create an easy-to-use module:

Would it be possible to apply firestore-ios-sdk-frameworks's prebuild strategy from the .podspec of a plugin ( flutter create -t plugin ...) that the module depends on in addition to cloud_firestore? i.e. if firestore-ios-sdk-frameworks itself was a plugin you depended on in pubspec.yaml.

Or would one have to fork cloud_firestore and related plugins and have them themselves ship prebuilt frameworks in order to get that to work?

ios app no longer compiling after what add App Clip project.

I have a previously stable build ios app no longer compiling after what add App Clip project.
Of course, I'm also trying to use Firestore in my App Clip project.
This Problem is resolved by reverting to pure SDKs. (Of course it's very slow)
Does anyone have a solution?

Podfile

# Uncomment the next line to define a global platform for your project
# platform :ios, '14.0'

target 'example' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for example
 pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.16.0'


end

target 'example-app-clip' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for example-app-clip
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.16.0'

end

Error log

Undefined symbols
Linker command failed with exit code 1 (use -v to see invocation)

ld: Undefined symbols:
  _FIRAuthStateDidChangeInternalNotification, referenced from:
      firebase::firestore::credentials::FirebaseAuthCredentialsProvider::FirebaseAuthCredentialsProvider(FIRApp*, id<FIRAuthInterop>) in FirebaseFirestore[arm64][72](firebase_auth_credentials_provider_apple.o)
  _FIRAuthStateDidChangeInternalNotificationAppKey, referenced from:
      ____ZN8firebase9firestore11credentials31FirebaseAuthCredentialsProviderC2EP6FIRAppPU25objcproto14FIRAuthInterop11objc_object_block_invoke in FirebaseFirestore[arm64][72](firebase_auth_credentials_provider_apple.o)
  _FIRAuthStateDidChangeInternalNotificationUIDKey, referenced from:
      ____ZN8firebase9firestore11credentials31FirebaseAuthCredentialsProviderC2EP6FIRAppPU25objcproto14FIRAuthInterop11objc_object_block_invoke in FirebaseFirestore[arm64][72](firebase_auth_credentials_provider_apple.o)
  _FIRIsLoggableLevel, referenced from:
      firebase::firestore::util::LogIsLoggable(firebase::firestore::util::LogLevel) in FirebaseFirestore[arm64][144](log_apple.o)
  _FIRLogBasic, referenced from:
      firebase::firestore::util::(anonymous namespace)::LogMessageV(firebase::firestore::util::LogLevel, NSString*, ...) in FirebaseFirestore[arm64][144](log_apple.o)
  _FIRSetLoggerLevel, referenced from:
      firebase::firestore::util::LogSetLevel(firebase::firestore::util::LogLevel) in FirebaseFirestore[arm64][144](log_apple.o)
      firebase::firestore::util::LogSetLevel(firebase::firestore::util::LogLevel) in FirebaseFirestore[arm64][144](log_apple.o)
  _OBJC_CLASS_$_FIRApp, referenced from:
       in FirebaseFirestore[arm64][74](firebase_metadata_provider_apple.o)
  _OBJC_CLASS_$_FIRComponent, referenced from:
       in FirebaseFirestore[arm64][101](FSTFirestoreComponent.o)
  _OBJC_CLASS_$_FIRComponentType, referenced from:
       in FirebaseFirestore[arm64][85](FIRFirestore.o)
  _OBJC_CLASS_$_FIRDependency, referenced from:
       in FirebaseFirestore[arm64][101](FSTFirestoreComponent.o)
  _deflate, referenced from:
      zlib_compress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _deflateEnd, referenced from:
      zlib_compress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _deflateInit2_, referenced from:
      zlib_compress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _inflate, referenced from:
      zlib_decompress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _inflateEnd, referenced from:
      zlib_decompress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _inflateInit2_, referenced from:
      zlib_decompress(grpc_slice_buffer*, grpc_slice_buffer*, int) in gRPC-Core[arm64][389](message_compress.o)
  _pb_decode, referenced from:
      firebase::firestore::remote::ByteBufferReader::Read(pb_field_s const*, void*) in FirebaseFirestore[arm64][107](grpc_nanopb.o)
      firebase::firestore::nanopb::StringReader::Read(pb_field_s const*, void*) in FirebaseFirestore[arm64][184](reader.o)
  _pb_encode, referenced from:
      firebase::firestore::nanopb::Writer::Write(pb_field_s const*, void const*) in FirebaseFirestore[arm64][240](writer.o)
  _pb_istream_from_buffer, referenced from:
      firebase::firestore::remote::ByteBufferReader::ByteBufferReader(grpc::ByteBuffer const&) in FirebaseFirestore[arm64][107](grpc_nanopb.o)
      firebase::firestore::nanopb::StringReader::StringReader(unsigned char const*, unsigned long) in FirebaseFirestore[arm64][184](reader.o)
  _pb_release, referenced from:
      firebase::firestore::nanopb::FreeNanopbMessage(pb_field_s const*, void*) in FirebaseFirestore[arm64][158](message.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: symbol(s) not found for architecture arm64

During the XCode cli build (in Azure DevOps, Microsoft hosted agent, macOS-11, macOS-12) the error appear:

❌  ld: symbol(s) not found for architecture arm64

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Run script build phase 'Copy www directory' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target '<AppName>' from project '<AppName>')
    Run script build phase 'Crashlytics' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target '<AppName>' from project '<AppName>')
** BUILD FAILED **


The following build commands failed:
	Ld /Users/runner/Library/Developer/Xcode/DerivedData/<AppName>-baugolxbeqirlgfbsumodscnhkyc/Build/Products/Release-iphoneos/<AppName>.app/<AppName> normal (in target '<AppName>' from project '<AppName>')
(1 failure)

I've tried modifying Podfile with the following:

  1. config.build_settings['ENABLE_BITCODE'] = 'NO'
  2. config.build_settings['ENABLE_BITCODE'] = 'YES'
  3. config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'

Nothing helped.

The error appeared after upgrading cordova-plugin-firebasex 13.0.1 -> 15.0.0 and setting IOS_USE_PRECOMPILED_FIRESTORE_POD = true. Upgrading to 16.0.0 doesn't solve the issue.

Error (Xcode): Undefined symbol with version 10.x

Hello, I used 9.6.0 without any problem in my Flutter project. I updated almost all of my dependencies and then I had no choice but to update FirebaseFirestore to 10.0.0. By doing this, I cannot build my project for iOS. This is what I see in the log of Azure CLI for the following command:

flutter build ios --no-codesign --build-number=12899 --target=lib/main_dev.dart
Output Log (Click me)

2022-10-20T16:51:59.3448730Z ##[section]Starting: Build for iOS (Debug)
2022-10-20T16:51:59.3465320Z ==============================================================================
2022-10-20T16:51:59.3465740Z Task : Flutter Build Task
2022-10-20T16:51:59.3466040Z Description : Build a Flutter application project.
2022-10-20T16:51:59.3466320Z Version : 0.3.5
2022-10-20T16:51:59.3466530Z Author : Hey24sheep
2022-10-20T16:51:59.3466900Z Help : More Information
2022-10-20T16:51:59.3467340Z ==============================================================================
2022-10-20T16:51:59.5789140Z [command]/Users/runner/work/1/s/flutter/bin/flutter build ios --no-codesign --build-number=12899 --target=lib/main_dev.dart
2022-10-20T16:52:29.2558220Z Running "flutter pub get" in s... 28.4s
2022-10-20T16:52:30.6795910Z Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
2022-10-20T16:52:49.0210410Z Building com.ATCO.CustomerOutageNotification for device (ios-release)...
2022-10-20T16:59:11.8309070Z Running pod install... 374.0s
2022-10-20T17:05:19.0617120Z Running Xcode build...
2022-10-20T17:05:19.0620560Z Xcode build done. 367.2s
2022-10-20T17:05:20.5896710Z Failed to build iOS app
2022-10-20T17:05:20.5915480Z Error output from Xcode build:
2022-10-20T17:05:20.5916530Z ↳
2022-10-20T17:05:20.5918620Z ** BUILD FAILED **
2022-10-20T17:05:20.5919480Z
2022-10-20T17:05:20.5919820Z
2022-10-20T17:05:20.5920390Z Xcode's output:
2022-10-20T17:05:20.5920800Z ↳
2022-10-20T17:05:20.5940100Z Writing result bundle at path:
2022-10-20T17:05:20.5940800Z /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/flutter_tools.CuwB9v/flutter_ios_build_temp_diryBTe5y/temporary_xcresult_bundle
2022-10-20T17:05:20.5941270Z
2022-10-20T17:05:20.5941680Z 1 warning generated.
2022-10-20T17:05:20.5943120Z /Users/runner/work/1/s/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.9.1/ios/Classes/FlutterLocalNotificationsPlugin.m:13:3: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
2022-10-20T17:05:20.5944210Z UILocalNotification *_launchNotification;
2022-10-20T17:05:20.5944550Z ^
2022-10-20T17:05:20.5945340Z In module 'UIKit' imported from /Users/runner/work/1/s/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
2022-10-20T17:05:20.5946770Z /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
2022-10-20T17:05:20.5947740Z @interface UILocalNotification : NSObject<NSCopying, NSCoding>
2022-10-20T17:05:20.5948140Z ^
2022-10-20T17:05:20.5949360Z /Users/runner/work/1/s/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.9.1/ios/Classes/FlutterLocalNotificationsPlugin.m:335:4: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
2022-10-20T17:05:20.5950540Z - (UILocalNotification *)buildStandardUILocalNotification:
2022-10-20T17:05:20.5950940Z ^
2022-10-20T17:05:20.5951720Z In module 'UIKit' imported from /Users/runner/work/1/s/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
2022-10-20T17:05:20.5953140Z /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
2022-10-20T17:05:20.5955090Z @interface UILocalNotification : NSObject<NSCopying, NSCoding>
2022-10-20T17:05:20.5955470Z ^
2022-10-20T17:05:20.5956750Z /Users/runner/work/1/s/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.9.1/ios/Classes/FlutterLocalNotificationsPlugin.m:935:34: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
2022-10-20T17:05:20.5957860Z didReceiveLocalNotification:(UILocalNotification *)notification {
2022-10-20T17:05:20.5958300Z ^
2022-10-20T17:05:20.5959080Z In module 'UIKit' imported from /Users/runner/work/1/s/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
2022-10-20T17:05:20.5960510Z /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
2022-10-20T17:05:20.5961890Z @interface UILocalNotification : NSObject<NSCopying, NSCoding>
2022-10-20T17:05:20.5962280Z ^
.
.
.
.
.
2022-10-20T17:05:20.6344860Z
2022-10-20T17:05:20.6344980Z
2022-10-20T17:05:20.6345610Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC0D16DecodingStrategyO6base64yA2EmFWC
2022-10-20T17:05:20.6345960Z
2022-10-20T17:05:20.6346470Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC19KeyDecodingStrategyO14useDefaultKeysyA2EmFWC
2022-10-20T17:05:20.6346840Z
2022-10-20T17:05:20.6347320Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC19keyDecodingStrategyAC03KeygH0OvsTj
2022-10-20T17:05:20.6347670Z
2022-10-20T17:05:20.6348220Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO6customyAE10Foundation0F0Vs0E0_pKccAEmFWC
2022-10-20T17:05:20.6348640Z
2022-10-20T17:05:20.6349130Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20dataDecodingStrategyAC0dgH0OvsTj
2022-10-20T17:05:20.6349470Z
2022-10-20T17:05:20.6349970Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20dateDecodingStrategyAC04DategH0OvsTj
2022-10-20T17:05:20.6350320Z
2022-10-20T17:05:20.6350870Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj
2022-10-20T17:05:20.6351290Z
2022-10-20T17:05:20.6351810Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC34NonConformingFloatDecodingStrategyO5throwyA2EmFWC
2022-10-20T17:05:20.6352190Z
2022-10-20T17:05:20.6352710Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC34nonConformingFloatDecodingStrategyAC03NonghiJ0OvsTj
2022-10-20T17:05:20.6353090Z
2022-10-20T17:05:20.6353570Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC6decode_4fromxxm_yptKSeRzlFTj
2022-10-20T17:05:20.6354320Z
2022-10-20T17:05:20.6354840Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC8userInfoSDys010CodingUserG3KeyVypGvsTj
2022-10-20T17:05:20.6355200Z
2022-10-20T17:05:20.6355680Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC0D16EncodingStrategyO6base64yA2EmFWC
2022-10-20T17:05:20.6356030Z
2022-10-20T17:05:20.6356530Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC19KeyEncodingStrategyO14useDefaultKeysyA2EmFWC
2022-10-20T17:05:20.6356910Z
2022-10-20T17:05:20.6357380Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC19keyEncodingStrategyAC03KeygH0OvsTj
2022-10-20T17:05:20.6357730Z
2022-10-20T17:05:20.6358350Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO6customyAEy10Foundation0F0V_s0E0_ptKccAEmFWC
2022-10-20T17:05:20.6358800Z
2022-10-20T17:05:20.6359390Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20dataEncodingStrategyAC0dgH0OvsTj
2022-10-20T17:05:20.6360100Z
2022-10-20T17:05:20.6360650Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20dateEncodingStrategyAC04DategH0OvsTj
2022-10-20T17:05:20.6361000Z
2022-10-20T17:05:20.6361550Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj
2022-10-20T17:05:20.6361970Z
2022-10-20T17:05:20.6362490Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC34NonConformingFloatEncodingStrategyO5throwyA2EmFWC
2022-10-20T17:05:20.6362870Z
2022-10-20T17:05:20.6363490Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC34nonConformingFloatEncodingStrategyAC03NonghiJ0OvsTj
2022-10-20T17:05:20.6363880Z
2022-10-20T17:05:20.6364350Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC6encodeyypxKSERzlFTj
2022-10-20T17:05:20.6364660Z
2022-10-20T17:05:20.6365170Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC8userInfoSDys010CodingUserG3KeyVypGvsTj
2022-10-20T17:05:20.6365520Z
2022-10-20T17:05:20.6366030Z Error (Xcode): Undefined symbol: _$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq
2022-10-20T17:05:20.6366390Z
2022-10-20T17:05:20.6366730Z Encountered error while building for device.
2022-10-20T17:05:20.6878110Z ##[error]Error: The process '/Users/runner/work/1/s/flutter/bin/flutter' failed with exit code 1
2022-10-20T17:05:20.6896480Z ##[section]Finishing: Build for iOS (Debug)

FirebaseFirestore as packaged here is missing direct dependency on nanopb

1- FirebaseFirestore requires nanopb
2- Upstream, FirebaseCore used to depend on FirebaseCoreDiagnostics, which transitively gave us a dependency on nanopb
3- FirebaseCoreDiagnostics was removed from FirebaseCore dependency chain for v10+ of firebase-ios-sdk meaning we no longer have this "free" transitive dependency
4. "most" other modules also depend directly or transitively on nanopb but not all do:

  • Have nanopb: analytics (via GoogleAppMeasurement), app-distribution (via GoogleDataTransport), crashlytics, in-app-messaging, messaging, performance
  • Do not have nanopb: all the rest (e.g., app-check, auth, database, dynamic-links, firestore, functions, installations, ml, remote-config, storage)
  1. Any combination of modules that includes this distribution of FirebaseFirestore without also including one of the other modules that depends on nanopb will result in nanopb not being found and a build failure

Temporary resolution is to add a dependency on nanopb with correct version constraints to consumers of this dependency:

https://github.com/firebase/firebase-ios-sdk/blob/bb4c6382cd52e805a721f981c1838eaa815f6dbd/FirebaseFirestore.podspec#L105

  s.dependency 'nanopb', '>= 2.30908.0', '< 2.30910.0'

More complete fix will involve adding something similar to the leveldb dependency here, where we attempt to detect if leveldb exists by examining the other deps to see if one of them is in the list above, or allowing consumer to specify it directly, or...something else if there is a better solution

9.4.0 or 9.4.1 is not available

Can we make a new release for version 9.4.1? This is a pretty important updated since some annoying crashes from 9.3.0 were fixed.

Add compatible versions to each tag?

This project is invaluable - without it, Flutter and Firestore compilation take forever.

Knowing which package versions are compatible with each tag release, is difficult, and sometimes costs me a lot of time.

An example of failure

For example, here are the latest package versions:

  firebase_core: ^1.19.2
  firebase_auth: ^3.4.2
  firebase_analytics: ^9.2.0
  firebase_storage: ^10.3.2
  cloud_firestore: ^3.3.0
  firebase_crashlytics: ^2.8.5
  firebase_dynamic_links: ^4.3.2
  firebase_messaging: ^12.0.0
  cloud_functions: ^3.3.2

They are not compatible with 9.3.0 or 9.2.0 or 9.1.0. How can I find out what the most recent compatible release those are compatible with?

An example of success

  firebase_core: ^1.17.1
  firebase_auth: ^3.3.19
  firebase_analytics: ^9.1.9
  firebase_storage: ^10.2.17
  cloud_firestore: ^3.1.17
  firebase_crashlytics: ^2.8.1
  firebase_dynamic_links: ^4.2.5
  firebase_messaging: ^11.4.1
  cloud_functions: ^3.2.16

These packages are compatible with
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.15.0'

Summary

Is there some way to associate with each release some package version numbers so we can determine compatibility?

Thank you!

Multiple commands produce

When I try this frameworks in my flutter project Xcode throw this error in archiving step.

Multiple commands produce '/Users/cagrialtay/Library/Developer/Xcode/DerivedData/Runner-fkvkflrsozxbklbeilydskbmkijs/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstanceID.framework': 1) Target 'FirebaseInstanceID-iOS10.0' has create directory command with output '/Users/cagrialtay/Library/Developer/Xcode/DerivedData/Runner-fkvkflrsozxbklbeilydskbmkijs/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstanceID.framework' 2) Target 'FirebaseInstanceID-iOS14.4' has create directory command with output '/Users/cagrialtay/Library/Developer/Xcode/DerivedData/Runner-fkvkflrsozxbklbeilydskbmkijs/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstanceID.framework'

This is my pod file

`

Uncomment this line to define a global platform for your project

platform :ios, '9.0'

CocoaPods analytics sends network stats synchronously affecting flutter build latency.

ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

pod 'Firebase/Analytics'

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!

flutter_install_all_ios_pods File.dirname(File.realpath(FILE))

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.3.0'

end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end

target 'ImageNotification' do
use_frameworks!

pod 'Firebase/Messaging'
end

`

No such module 'FirebaseCore' with 6.34.0 and 7.1.0

Hello, after running into a lot of problems with cocoapods-binary I was hoping this would be an alternative to reduce the massive build complexity this exists to address. My project was running fine without prebuilds, I swapped out FirebaseFirestore for this and tried both 6.34.0 and 7.1.0 but both times when I try to build it says

No such module 'FirebaseCore'

I also couldn't import regular Firebase.
I had this import so I could call
FirebaseApp.configure()

Is there a way to call this differently with just FirebaseFirestore that I'm not aware of?

ReactNative stuck at Running script '[CP] Prepare Artifacts'

It seems that when you add the precompiled sdk the above step freezes.

Might be a cocoapods issue, but I wonder fi you have any idea?

In the Pods/Target Support Files/Pods-{target}-artifacts.sh the below line will freeze (no idea why 😅)

ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt"
cat > $ARTIFACT_LIST_FILE

OSX Mojave
Xcode 11.2.1
Latest RNFirebase.
RN: 0.61.4

Thank you 😻

Build Failed: Using bridging headers with module interfaces is unsupported

Hi friends,

I updated the firestore-ios-sdk-frameworks from 9.6.0 to 10.0.0, also all the firebase packages in pubspec.yaml:
firebase_core: ^2.1.1
cloud_functions: ^4.0.3
firebase_messaging: ^14.0.4
firebase_in_app_messaging: ^0.7.0+4
cloud_firestore: ^4.0.4
firebase_storage: ^11.0.4
firebase_auth: ^4.1.1
firebase_dynamic_links: ^5.0.4
google_sign_in: ^5.4.2
firebase_analytics: ^10.0.4
google_mobile_ads: ^2.2.0
in_app_purchase: ^3.0.8
google_maps_flutter: ^2.2.1
sign_in_with_apple: ^4.2.0
flutter_facebook_auth: ^5.0.6

and now my build failed, tried to go back with the changes the problem stills :(

My flutter doctor -v

✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.73.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!
razvanu@Razvans-MacBook-Pro finalup % flutter doctor -v
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale en-GB)
    • Flutter version 3.3.7 on channel stable at /Users/razvanu/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (8 days ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/razvanu/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (2 available)
    • Buraca’s iPhone (mobile) • 00008110-001645D43C8A801E • ios            • iOS 16.0 20A362
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Error screenshot:
Screenshot 2022-11-09 at 22 29 39

Error log:

SwiftDriver Runner normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Runner' from project 'Runner')
cd /Users/razvanu/Documents/FlutterProjects/finalup/ios
builtin-SwiftDriver -- /Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Runner -Onone -enforce-exclusivity=checked @/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.SwiftFileList -D COCOAPODS -sdk /Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk -target arm64-apple-ios14.0 -enable-bare-slash-regex -g -module-cache-path /Users/razvanu/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -enable-library-evolution -swift-version 5 -I /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/AppAuth -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKImagePickerController -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKPhotoGallery -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FMDB -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseABTesting -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAppCheckInterop -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuth -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuthInterop -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCore -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreExtension -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreInternal -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseDynamicLinks -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseFunctions -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInAppMessaging -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInstallations -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessaging -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessagingInterop -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseSharedSwift -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseStorage -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMAppAuth -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMSessionFetcher -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleDataTransport -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleSignIn -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleUtilities -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/IosAwnCore -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/LiveChat -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/MTBBarcodeScanner -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/PromisesObjC -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/ReachabilitySwift -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SDWebImage -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SwiftyGif -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/Toast -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/awesome_notifications -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/camera_avfoundation -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_firestore -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_functions -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/connectivity_plus -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/device_info_plus -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/easy_pdf_viewer -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/file_picker -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_analytics -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_auth -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_core -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_dynamic_links -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_in_app_messaging -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_messaging -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_storage -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_facebook_auth -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_keyboard_visibility -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_native_splash -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_secure_storage -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_unity_widget -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/fluttertoast -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geocoding -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geolocator_apple -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_maps_flutter_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_mobile_ads -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_sign_in_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_editor -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_picker_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/in_app_purchase_storekit -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/livechatt -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nanopb -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nb_utils -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/package_info_plus -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/path_provider_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/permission_handler_apple -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_gallery -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_manager -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/qr_code_scanner -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/share_plus -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/shared_preferences_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sign_in_with_apple -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sqflite -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/url_launcher_ios -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/vibration -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_compress -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_player_avfoundation -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/wakelock -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/webview_flutter_wkwebview -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBAEMKit/XCFrameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKCoreKit/XCFrameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKCoreKit_Basics/XCFrameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKLoginKit/XCFrameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FirebaseAnalytics/Frameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FirebaseFirestore/FirebaseFirestore -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleAppMeasurement/Frameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleMaps/Base/Frameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleMaps/Maps/Frameworks -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBAEMKit -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKCoreKit -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKCoreKit_Basics -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKLoginKit -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/WithLeveldb -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/Google-Mobile-Ads-SDK -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleUserMessagingPlatform -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/UnityLibrary -F /Users/razvanu/Documents/FlutterProjects/finalup/ios/.symlinks/flutter/ios-release -F /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -parse-as-library -c -j10 -enable-batch-mode -incremental -output-file-map /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.swiftmodule -emit-module-interface-path /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.swiftinterface -emit-private-module-interface-path /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.private.swiftinterface -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Runner-generated-files.hmap -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Runner-own-target-headers.hmap -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Runner-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Runner-project-headers.hmap -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/include -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/AppAuth/AppAuth.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKImagePickerController/DKImagePickerController.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKPhotoGallery/DKPhotoGallery.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FMDB/FMDB.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseABTesting/FirebaseABTesting.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAppCheckInterop/FirebaseAppCheckInterop.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuth/FirebaseAuth.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuthInterop/FirebaseAuthInterop.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreExtension/FirebaseCoreExtension.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseDynamicLinks/FirebaseDynamicLinks.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseFunctions/FirebaseFunctions.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInAppMessaging/FirebaseInAppMessaging.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessaging/FirebaseMessaging.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessagingInterop/FirebaseMessagingInterop.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseSharedSwift/FirebaseSharedSwift.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseStorage/FirebaseStorage.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMAppAuth/GTMAppAuth.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleSignIn/GoogleSignIn.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/IosAwnCore/IosAwnCore.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/LiveChat/LiveChat.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/MTBBarcodeScanner/MTBBarcodeScanner.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/PromisesObjC/FBLPromises.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/ReachabilitySwift/Reachability.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SDWebImage/SDWebImage.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SwiftyGif/SwiftyGif.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/Toast/Toast.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/awesome_notifications/awesome_notifications.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/camera_avfoundation/camera_avfoundation.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_firestore/cloud_firestore.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_functions/cloud_functions.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/connectivity_plus/connectivity_plus.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/device_info_plus/device_info_plus.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/easy_pdf_viewer/easy_pdf_viewer.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/file_picker/file_picker.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_analytics/firebase_analytics.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_auth/firebase_auth.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_core/firebase_core.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_dynamic_links/firebase_dynamic_links.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_in_app_messaging/firebase_in_app_messaging.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_messaging/firebase_messaging.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_storage/firebase_storage.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_facebook_auth/flutter_facebook_auth.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_keyboard_visibility/flutter_keyboard_visibility.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_native_splash/flutter_native_splash.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_secure_storage/flutter_secure_storage.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_unity_widget/flutter_unity_widget.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/fluttertoast/fluttertoast.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geocoding/geocoding.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geolocator_apple/geolocator_apple.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_maps_flutter_ios/google_maps_flutter_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_mobile_ads/google_mobile_ads.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_sign_in_ios/google_sign_in_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_editor/image_editor.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_picker_ios/image_picker_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/in_app_purchase_storekit/in_app_purchase_storekit.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/livechatt/livechatt.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nb_utils/nb_utils.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/package_info_plus/package_info_plus.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/path_provider_ios/path_provider_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/permission_handler_apple/permission_handler_apple.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_gallery/photo_gallery.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_manager/photo_manager.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/qr_code_scanner/qr_code_scanner.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/share_plus/share_plus.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/shared_preferences_ios/shared_preferences_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sign_in_with_apple/sign_in_with_apple.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sqflite/sqflite.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/url_launcher_ios/url_launcher_ios.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/vibration/vibration.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_compress/video_compress.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_player_avfoundation/video_player_avfoundation.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/wakelock/wakelock.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/Headers/Public -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/Headers/Public/Firebase -Xcc -I/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/Firebase/CoreOnly/Sources -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/DerivedSources-normal/arm64 -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/DerivedSources/arm64 -Xcc -I/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -DDEBUG=1 -Xcc -DPB_FIELD_32BIT=1 -Xcc -DPB_NO_PACKED_STRUCTS=1 -Xcc -DPB_ENABLE_MALLOC=1 -emit-objc-header -emit-objc-header-path /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner-Swift.h -import-objc-header /Users/razvanu/Documents/FlutterProjects/finalup/ios/Runner/Runner-Bridging-Header.h -pch-output-dir /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/PrecompiledHeaders -working-directory /Users/razvanu/Documents/FlutterProjects/finalup/ios -experimental-emit-module-separately

error: Using bridging headers with module interfaces is unsupported (in target 'Runner' from project 'Runner')
Command SwiftDriver emitted errors but did not return a nonzero exit code to indicate failure

Using bridging headers with module interfaces is unsupported

Command SwiftDriver emitted errors but did not return a nonzero exit code to indicate failure

Ld /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/Runner.app/Runner normal (in target 'Runner' from project 'Runner')
cd /Users/razvanu/Documents/FlutterProjects/finalup/ios
/Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios14.0 -isysroot /Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk -L/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/EagerLinkingTBDs -L/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -L/Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk/usr/lib/swift -F/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/EagerLinkingTBDs -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/AppAuth -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKImagePickerController -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/DKPhotoGallery -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FMDB -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseABTesting -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAppCheckInterop -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuth -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseAuthInterop -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCore -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreExtension -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseCoreInternal -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseDynamicLinks -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseFunctions -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInAppMessaging -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseInstallations -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessaging -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseMessagingInterop -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseSharedSwift -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/FirebaseStorage -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMAppAuth -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GTMSessionFetcher -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleDataTransport -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleSignIn -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/GoogleUtilities -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/IosAwnCore -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/LiveChat -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/MTBBarcodeScanner -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/PromisesObjC -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/ReachabilitySwift -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SDWebImage -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/SwiftyGif -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/Toast -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/awesome_notifications -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/camera_avfoundation -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_firestore -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/cloud_functions -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/connectivity_plus -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/device_info_plus -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/easy_pdf_viewer -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/file_picker -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_analytics -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_auth -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_core -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_dynamic_links -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_in_app_messaging -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_messaging -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/firebase_storage -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_facebook_auth -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_keyboard_visibility -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_native_splash -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_secure_storage -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/flutter_unity_widget -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/fluttertoast -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geocoding -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/geolocator_apple -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_maps_flutter_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_mobile_ads -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/google_sign_in_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_editor -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/image_picker_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/in_app_purchase_storekit -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/livechatt -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nanopb -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/nb_utils -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/package_info_plus -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/path_provider_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/permission_handler_apple -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_gallery -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/photo_manager -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/qr_code_scanner -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/share_plus -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/shared_preferences_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sign_in_with_apple -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/sqflite -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/url_launcher_ios -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/vibration -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_compress -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/video_player_avfoundation -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/wakelock -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/webview_flutter_wkwebview -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBAEMKit/XCFrameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKCoreKit/XCFrameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKCoreKit_Basics/XCFrameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FBSDKLoginKit/XCFrameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/FirebaseFirestore/FirebaseFirestore -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleMaps/Base/Frameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleMaps/Maps/Frameworks -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/GoogleUserMessagingPlatform/Frameworks/Release -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBAEMKit -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKCoreKit -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKCoreKit_Basics -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FBSDKLoginKit -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/WithLeveldb -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/Google-Mobile-Ads-SDK -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/XCFrameworkIntermediates/GoogleUserMessagingPlatform -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/../UnityLibrary -F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/../.symlinks/flutter/ios-release -F/Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos -filelist /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode-14.1.0-Release.Candidate.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner.swiftmodule -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework AVKit -framework Accelerate -framework AppAuth -framework AudioToolbox -framework BoringSSL-GRPC -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreMedia -framework CoreTelephony -framework CoreText -framework CoreVideo -framework DKImagePickerController -framework DKPhotoGallery -framework FBAEMKit -framework FBLPromises -framework FBSDKCoreKit -framework FBSDKCoreKit_Basics -framework FBSDKLoginKit -framework FMDB -framework FirebaseABTesting -framework FirebaseAnalytics -framework FirebaseAppCheckInterop -framework FirebaseAuth -framework FirebaseAuthInterop -framework FirebaseCore -framework FirebaseCoreExtension -framework FirebaseCoreInternal -framework FirebaseDynamicLinks -framework FirebaseFirestore -framework FirebaseFirestoreSwift -framework FirebaseFunctions -framework FirebaseInAppMessaging -framework FirebaseInstallations -framework FirebaseMessaging -framework FirebaseMessagingInterop -framework FirebaseSharedSwift -framework FirebaseStorage -framework Foundation -framework GLKit -framework GTMAppAuth -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleDataTransport -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GoogleMobileAds -framework GoogleSignIn -framework GoogleUtilities -framework ImageIO -framework IosAwnCore -framework Libuv-gRPC -framework LiveChat -framework LocalAuthentication -framework MTBBarcodeScanner -framework MediaPlayer -framework MessageUI -framework Metal -framework MobileCoreServices -framework OpenGLES -framework Photos -framework PhotosUI -framework QuartzCore -framework Reachability -framework SDWebImage -framework SafariServices -framework Security -framework StoreKit -framework SwiftyGif -framework SystemConfiguration -framework Toast -framework UIKit -framework UnityFramework -framework UserMessagingPlatform -framework WebKit -framework abseil -framework awesome_notifications -framework camera_avfoundation -framework cloud_firestore -framework cloud_functions -framework connectivity_plus -framework device_info_plus -framework easy_pdf_viewer -framework file_picker -framework firebase_analytics -framework firebase_auth -framework firebase_core -framework firebase_dynamic_links -framework firebase_in_app_messaging -framework firebase_messaging -framework firebase_storage -framework flutter_facebook_auth -framework flutter_keyboard_visibility -framework flutter_native_splash -framework flutter_secure_storage -framework flutter_unity_widget -framework fluttertoast -framework gRPC-C++ -framework gRPC-Core -framework geocoding -framework geolocator_apple -framework google_maps_flutter_ios -framework google_mobile_ads -framework google_sign_in_ios -framework image_editor -framework image_picker_ios -framework in_app_purchase_storekit -framework leveldb-library -framework livechatt -framework nanopb -framework nb_utils -framework package_info_plus -framework path_provider_ios -framework permission_handler_apple -framework photo_gallery -framework photo_manager -framework qr_code_scanner -framework share_plus -framework shared_preferences_ios -framework sign_in_with_apple -framework sqflite -framework url_launcher_ios -framework vibration -framework video_compress -framework video_player_avfoundation -framework wakelock -framework webview_flutter_wkwebview -weak_framework AdSupport -weak_framework AuthenticationServices -weak_framework JavaScriptCore -weak_framework LinkPresentation -weak_framework SafariServices -weak_framework UserNotifications -weak_framework WebKit -framework Pods_Runner -framework UnityFramework -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat -o /Users/razvanu/Documents/FlutterProjects/finalup/build/ios/Debug-iphoneos/Runner.app/Runner

ld: warning: directory not found for option '-F/Users/razvanu/Documents/FlutterProjects/finalup/ios/Pods/../.symlinks/flutter/ios-release'
Undefined symbols for architecture arm64:
"_$s19FirebaseSharedSwift0A11DataDecoderC0D16DecodingStrategyO6base64yA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC19KeyDecodingStrategyO14useDefaultKeysyA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC19keyDecodingStrategyAC03KeygH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO6customyAE10Foundation0F0Vs0E0_pKccAEmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO0a9FirestoreC0E9timestampAEvgZ in FirebaseFirestoreSwift(TimestampDecodingStrategy.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC20dataDecodingStrategyAC0dgH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC20dateDecodingStrategyAC04DategH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC34NonConformingFloatDecodingStrategyO5throwyA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC34nonConformingFloatDecodingStrategyAC03NonghiJ0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC6decode_4fromxxm_yptKSeRzlFTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataDecoderC8userInfoSDys010CodingUserG3KeyVypGvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC0D16EncodingStrategyO6base64yA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC19KeyEncodingStrategyO14useDefaultKeysyA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC19keyEncodingStrategyAC03KeygH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO6customyAEy10Foundation0F0V_s0E0_ptKccAEmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO0a9FirestoreC0E9timestampAEvgZ in FirebaseFirestoreSwift(TimestampEncodingStrategy.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC20dataEncodingStrategyAC0dgH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC20dateEncodingStrategyAC04DategH0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC34NonConformingFloatEncodingStrategyO5throwyA2EmFWC", referenced from:
_$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC34nonConformingFloatEncodingStrategyAC03NonghiJ0OvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC6encodeyypxKSERzlFTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift0A11DataEncoderC8userInfoSDys010CodingUserG3KeyVypGvsTj", referenced from:
$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
"
$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq", referenced from:
l_got.$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq in FirebaseFirestoreSwift(CodablePassThroughTypes.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC0D16DecodingStrategyO6base64yA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC19KeyDecodingStrategyO14useDefaultKeysyA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC19keyDecodingStrategyAC03KeygH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO6customyAE10Foundation0F0Vs0E0_pKccAEmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20dataDecodingStrategyAC0dgH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC20dateDecodingStrategyAC04DategH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC34NonConformingFloatDecodingStrategyO5throwyA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC34nonConformingFloatDecodingStrategyAC03NonghiJ0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC6decode_4fromxxm_yptKSeRzlFTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataDecoderC8userInfoSDys010CodingUserG3KeyVypGvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC0D16EncodingStrategyO6base64yA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC19KeyEncodingStrategyO14useDefaultKeysyA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC19keyEncodingStrategyAC03KeygH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO6customyAEy10Foundation0F0V_s0E0_ptKccAEmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20dataEncodingStrategyAC0dgH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC20dateEncodingStrategyAC04DategH0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC34NonConformingFloatEncodingStrategyO5throwyA2EmFWC

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC34nonConformingFloatEncodingStrategyAC03NonghiJ0OvsTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC6encodeyypxKSERzlFTj

Undefined symbol: _$s19FirebaseSharedSwift0A11DataEncoderC8userInfoSDys010CodingUserG3KeyVypGvsTj

Undefined symbol: _$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq

Please guide me how to fix this issue, thanks in advance!

Support Apple Silicon ARM simulators

The simulator binary is missing the arm64 slice needed to run on Apple Silicon arm64 simulators.

ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore: Mach-O universal binary with 2 architectures: [i386:current ar archive] [x86_64]
ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore (for architecture i386):	current ar archive
ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore (for architecture x86_64):	current ar archive

I think it creates a ios-arm64_x86_64-simulator directory in the bundle though I'm not 100% sure on the name.

CocoaPods could not find compatible versions for pod "FirebaseFirestore":

I am trying to run an app IOS that is dependent on cloud fire store. The app installs but crashes immediately. When I run pod install I get the error "CocoaPods could not find compatible versions for pod "FirebaseFirestore":In Podfile:" I have already tried pod update, deleting the pod.lock file and other similar solutions online. Please find the full error message below:
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
FirebaseFirestore (from https://github.com/invertase/firestore-ios-sdk-frameworks.git, tag 7.1.0)
cloud_firestore (from .symlinks/plugins/cloud_firestore/ios) was resolved to 0.14.3, which depends on
Firebase/Firestore (> 6.33.0) was resolved to 6.33.0, which depends on
FirebaseFirestore (
> 1.18.0)

Steps to reproduce:
run pod instal --repo-update

The pod file contents are below:

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

# 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 => '7.1.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)
  end
end

# add the Firebase pod for Google Analytics

Overview for SDK version and corresponding package versions range

I would like to update from SDK version 9.3.0 to 9.6.0, but i don't know (up to) which Firebase package versions i may enter in my pubspec.yaml in order that the ios build, deploy and run works fine.
Is there an overview which SDK versions correspond to the published Firebase package version ranges?

E.g. when i tried to build with version 9.6.0 i got lots of errors since the package versions of the several Firebase plugins i entered in pubspec.yaml seem to be too new.

Sorry for the dumb question, perhaps i'm completely wrong here, then just correct me. Thank you.

[Archiving failing] [XCode 14.3] Multiple commands produce GoogleUtilities

Hi friends,

I have a problem suddenly by archiving my app in XCode 14.3 I'm getting this strange error:

Showing All Errors Only

Prepare build
note: Building targets in dependency order
error: Multiple commands produce '/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
    note: Target 'GoogleUtilities-00567490' (project 'Pods') has create directory command with output '/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
    note: Target 'GoogleUtilities-54e75ca4' (project 'Pods') has create directory command with output '/Users/razvanu/Library/Developer/Xcode/DerivedData/Runner-aeiwqtydtcicmbcjpyzoxtfwhzig/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'

I tried all of the solutions from the web nothing works for me 😦 please help/guide me with this issue, thanks in advance!

P.S: I'm able to build but not archive the app!

Building for real iOS Device fails, Simulator works fine

Hi,

I have been trying to build my Flutter App to test it on a real iOS Device. But I cannot figure out how to resolve the error below, while still including the pre-compiled binaries:
ld: in /path/to/app/build/ios/Debug-iphoneos/BoringSSL-GRPC.framework/BoringSSL-GRPC(BoringSSL-GRPC-dummy.o), building for iOS, but linking in object file built for iOS Simulator, file '/path/to/app/build/ios/Debug-iphoneos/BoringSSL-GRPC.framework/BoringSSL-GRPC' for architecture arm64

When I remove the pre-compiled binary dependency from my Podfile (e.g. pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.3.0') and run

rm -rf ~/Library/Developer/Xcode/DerivedData/
flutter clean

it builds fine and starts on my iOS Device.

Here is some more info which might be relevant to the issue:
In pubspec.yml I depend on cloud_firestore: ^0.16.0
macOS: 11.2.1 (Intel x86)
XCode: 12.4 (12D4e)
Flutter:

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (3 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

I never really use Xcode, so it might be something really obvious I am missing. When trying to search for the error above I only found people having the reverse Issue, e.g. trying to build for Simulator and failing.

The obvious workaround for now is not to include the pre-compiled binaries, which is fine but I would prefer a more permanent solution which still uses the binaries and have the build time improvements.

Any help would be much appreciated and if I can provide more info on my setup I will gladly do so. Thanks!

App crashes when using precompiled sdk

Using the precompiled sdk for Flutter, causes the app to crash when debugging.
Setup in Podfile👇:

target 'Runner' do
  use_frameworks!
  use_modular_headers!
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.3.0'
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Screenshot 2023-01-09 at 6 34 55 PM

Output of flutter --version:

❯ flutter --version
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (4 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0

Full Logs for the above error : https://katb.in/yojaziteheg

RN 0.64.3 and duplicate [CP] Prepare Artifacts build phase causing errors

Has anyone been able to build an emulator app using react-native-firebase and firestore-ios-sdk-frameworks on react-native 0.63.4? I haven't been able to (well, I haven't been able to seamlessly).

Here's my environment:

System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 30.86 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.10 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /Users/andersonaddo/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5522156
    Xcode: 11.7/11E801a - /usr/bin/xcodebuild
  Languages:
    Java: 12.0.1 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.63.4 => 0.63.4 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Due to some the changes that I had to implement when upgrading, my podfile now looks like this:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'

project 'app',
        'Dev.Debug' => :debug,
        'Dev.Release' => :release, 
        'Prod.Debug' => :debug,
        'Prod.Release' => :release

target 'app' do
  # Pods for app
  config = use_native_modules!
  use_react_native!(:path => config["reactNativePath"])

  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.3.0'
  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
  pod 'react-native-geolocation', path: '../node_modules/@react-native-community/geolocation'
  pod 'RNFS', :path => '../node_modules/react-native-fs'

  # Pods for react-native-permissions
  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
  pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"

  target 'appTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!(configurations: ['Dev.Debug', 'Prod.Debug'])
  post_install do |installer|
    flipper_post_install(installer)
  end

end

One notable difference this podfile has from its predecessor is that the inherit mode in the "appTests" target has moved from inherit! :search_paths to inherit! :complete.

I think because of this, I'm getting this error when attempting to build from xcode:

Multiple commands produce '/Users/andersonaddo/Library/Developer/Xcode/DerivedData/app-brcjfkvaegkdwhfoswuqsjdgdpga/Build/Products/Prod.Debug-iphonesimulator/cocoapods-artifacts-Prod.Debug.txt':
1) That command depends on command in Target 'app' (project 'app'): script phase “[CP] Prepare Artifacts”
2) That command depends on command in Target 'appTests' (project 'app'): script phase “[CP] Prepare Artifacts”

And alas, the [CP] Prepare Artifacts script looks like this:
Screen Shot 2021-01-09 at 1 56 15 AM

And this phase is in both targets, hence the error.
I think it has to do with the inherit! :search_paths vs inherit! :complete change, but I also think that if this was a problem others were facing it would've been mentioned somewhere, no?

Xcode 12.4 Module 'FirebaseFirestore' not found

Hi, I'm trying to build my iOS app developed on ionic. When building on Xcode, I get the error.

Screenshots:
image
image

As for my Podfile, here is the content:
image

Also, if I build with $ ionic cordova build ios --prod --release. I get this error

The following build commands failed:
	CompileC /Users/jans/Library/Developer/Xcode/DerivedData/Jan-bbcnrsrdkhulxxgtcbuzbbwmxmej/Build/Intermediates.noindex/Jan.build/Release-iphonesimulator/Jan.build/Objects-normal/arm64/AppDelegate+FirebasePlugin.o Jan/Plugins/cordova-plugin-firebasex/AppDelegate+FirebasePlugin.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running subprocess cordova.

Build breaks in flutter project

After adding the specified pod to my Podfile I am no longer able to build the app and it fails with below output.
This only happens after ive added the documented pod to my podfile and run pod install.
Ive also tried to remove Podfile.lock and rerun pod install but it has no effect.
If I remove pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0' from Podfile it works again.

Im not experienced with iOS development so I did not know how to exactly title this issue.

Flutter pubspec.yaml:

...
  #
  # Firebase dependencies
  #
  firebase_analytics: ^9.3.0
  firebase_auth: ^3.5.1
  firebase_core: ^1.20.0
  firebase_crashlytics: ^2.8.6
  firebase_dynamic_links: ^4.1.1
  firebase_messaging: ^12.0.1
  firebase_storage: ^10.3.3
  firebase_remote_config: ^2.0.13
  cloud_firestore: ^3.4.3
  cloud_functions: ^3.3.3
  firebase_app_check: ^0.0.6+18
  firebase_performance: ^0.8.2+1

...

Podfile:

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

# 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!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

  # See https://github.com/invertase/firestore-ios-sdk-frameworks
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

Output:

Error output from Xcode build:
↳
    2022-08-04 17:02:30.182 xcodebuild[24482:1409455] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-08-04 17:02:30.182 xcodebuild[24482:1409455] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **


Xcode's output:
↳
    Writing result bundle at path:
        /var/folders/39/gmxs8gmd6b98tg0n8dsz0zjw0000gn/T/flutter_tools.UcLLVR/flutter_ios_build_temp_dirLqs2Bi/temporary_xcresult_bundle

    4 warnings generated.
    1 warning generated.
    4 warnings generated.
    1 warning generated.
    35 warnings generated.
    warning: [CP] FirebaseFirestore.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-simulator ios-arm64 ios-arm64_x86_64-maccatalyst' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] gRPC-Core.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-simulator ios-arm64 ios-arm64_x86_64-maccatalyst' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] Libuv-gRPC.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-maccatalyst ios-arm64_x86_64-simulator ios-arm64' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] gRPC-C++.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-maccatalyst ios-arm64_x86_64-simulator ios-arm64' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] BoringSSL-GRPC.xcframework: Unable to find matching slice in 'ios-arm64 ios-arm64_x86_64-maccatalyst ios-arm64_x86_64-simulator' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] FirebaseFirestoreSwift.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-simulator ios-arm64 ios-arm64_x86_64-maccatalyst' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] abseil.xcframework: Unable to find matching slice in 'ios-arm64_x86_64-simulator ios-arm64 ios-arm64_x86_64-maccatalyst' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    warning: [CP] leveldb-library.xcframework: Unable to find matching slice in 'ios-arm64 ios-arm64_x86_64-maccatalyst ios-arm64_x86_64-simulator' for the current build architectures (arm64 armv7) and platform (-iphoneos).
    /Users/user/Projects/flutter/project/ios/Pods/DKPhotoGallery/DKPhotoGallery/DKPhotoGalleryContentVC.swift:39:52: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
    internal protocol DKPhotoGalleryContentDataSource: class {
                                                       ^~~~~
                                                       AnyObject
    /Users/user/Projects/flutter/project/ios/Pods/DKPhotoGallery/DKPhotoGallery/DKPhotoGalleryContentVC.swift:55:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
    internal protocol DKPhotoGalleryContentDelegate: class {
                                                     ^~~~~
                                                     AnyObject
    remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
    /Users/user/Projects/flutter/project/ios/Pods/DKPhotoGallery/DKPhotoGallery/DKPhotoGalleryContentVC.swift:39:52: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
    internal protocol DKPhotoGalleryContentDataSource: class {
                                                       ^~~~~
                                                       AnyObject
    /Users/user/Projects/flutter/project/ios/Pods/DKPhotoGallery/DKPhotoGallery/DKPhotoGalleryContentVC.swift:55:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
    internal protocol DKPhotoGalleryContentDelegate: class {
                                                     ^~~~~
                                                     AnyObject
    /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/ios/Classes/FLTFirebaseCorePlugin.m:229:50: warning: incompatible pointer to integer conversion sending 'NSNumber * _Nonnull __strong' to parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
        [firebaseApp setDataCollectionDefaultEnabled:enabled];
                                                     ^~~~~~~
    In module 'FirebaseCore' imported from /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/ios/Classes/FLTFirebasePlugin.h:10:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIRApp.h:125:10: note: passing argument to parameter 'dataCollectionDefaultEnabled' here
        BOOL dataCollectionDefaultEnabled;
             ^
    1 warning generated.
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:38: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
                                         ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:97:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:38:47: warning: 'UNNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
                     withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler;
                                                  ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:37:12: note: 'UNNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNNotificationContent : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    2 warnings generated.
    2 warnings generated.
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:38: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
                                         ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:97:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:38:47: warning: 'UNNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
                     withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler;
                                                  ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:37:12: note: 'UNNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNNotificationContent : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    2 warnings generated.
    2 warnings generated.
    /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.5.1/ios/Classes/FLTFirebaseAuthPlugin.m:90:72: warning: sending 'FLTFirebaseAuthPlugin *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
        [[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
                                                                           ^~~~
    In module 'firebase_core' imported from /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.5.1/ios/Classes/FLTFirebaseAuthPlugin.m:7:
    /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter 'firebasePlugin' here
    - (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
                                                                   ^
    1 warning generated.
    /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.5.1/ios/Classes/FLTFirebaseAuthPlugin.m:90:72: warning: sending 'FLTFirebaseAuthPlugin *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
        [[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
                                                                           ^~~~
    In module 'firebase_core' imported from /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.5.1/ios/Classes/FLTFirebaseAuthPlugin.m:7:
    /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.20.0/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter 'firebasePlugin' here
    - (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
                                                                   ^
    1 warning generated.
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:38: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
                                         ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:97:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:38:47: warning: 'UNNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]
                     withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler;
                                                  ^
    In module 'UserNotifications' imported from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:37:12: note: 'UNNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
    @interface UNNotificationContent : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
               ^
    While building module 'FirebaseMessaging' imported from /Users/user/Projects/flutter/project/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
    /Users/user/Projects/flutter/project/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:37:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    2 warnings generated.
    2 warnings generated.
    2 warnings generated.
    1 warning generated.
    In file included from /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:8:
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:43:4: error: expected a type
    + (FIRFirestoreSource)FIRFirestoreSourceFromArguments:(NSDictionary *_Nonnull)arguments;
       ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:45:4: error: expected a type
    + (FIRFirestore *_Nullable)getCachedFIRFirestoreInstanceForKey:(NSString *_Nonnull)key;
       ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:46:40: error: expected a type
    + (void)setCachedFIRFirestoreInstance:(FIRFirestore *_Nonnull)firestore
                                           ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:12:33: error: no type or protocol named 'FIRListenerRegistration'
    @property(readwrite, strong) id<FIRListenerRegistration> listenerRegistration;
                                    ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:19:3: error: use of undeclared identifier 'FIRFirestore'
      FIRFirestore *firestore = arguments[@"firestore"];
      ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:19:17: error: use of undeclared identifier 'firestore'
      FIRFirestore *firestore = arguments[@"firestore"];
                    ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:27:32: error: use of undeclared identifier 'firestore'
      self.listenerRegistration = [firestore addSnapshotsInSyncListener:listener];
                                   ^
    /Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:33:30: error: no known instance method for selector 'remove'
      [self.listenerRegistration remove];
                                 ^~~~~~
    8 errors generated.
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    /Users/user/Projects/flutter/project/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'TOCropViewController-TOCropViewControllerBundle' from project 'Pods')
    /Users/user/Projects/flutter/project/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'TOCropViewController' from project 'Pods')
    /Users/user/Projects/flutter/project/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'FMDB' from project 'Pods')
    /Users/user/Projects/flutter/project/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'AppAuth' from project 'Pods')

    Result bundle written to path:
        /var/folders/39/gmxs8gmd6b98tg0n8dsz0zjw0000gn/T/flutter_tools.UcLLVR/flutter_ios_build_temp_dirLqs2Bi/temporary_xcresult_bundle


Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:42:3

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:44:3

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:45:39

Generics Issue (Xcode): No type or protocol named 'FIRListenerRegistration'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:11:32

Semantic Issue (Xcode): Use of undeclared identifier 'FIRFirestore'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:18:2

Semantic Issue (Xcode): Use of undeclared identifier 'firestore'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:18:16

Semantic Issue (Xcode): Use of undeclared identifier 'firestore'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:26:31

ARC Semantic Issue (Xcode): No known instance method for selector 'remove'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTSnapshotsInSyncStreamHandler.m:32:29

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:82:39

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:89:37

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:135:39

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:143:45

Parse Issue (Xcode): Expected a type
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:166:36

Semantic Issue (Xcode): Use of undeclared identifier 'FIRTimestamp'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:18:35

Semantic Issue (Xcode): Unknown type name 'FIRTimestamp'; did you mean 'CVTimeStamp'?
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:19:4

ARC Casting Rules (Xcode): Implicit conversion of Objective-C pointer type 'id' to C pointer type 'CVTimeStamp *' requires a bridged cast
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:19:30

Semantic Issue (Xcode): Member reference type 'CVTimeStamp *' is a pointer; did you mean to use '->'?
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:20:30

Semantic Issue (Xcode): No member named 'seconds' in 'CVTimeStamp'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:20:31

Semantic Issue (Xcode): Member reference type 'CVTimeStamp *' is a pointer; did you mean to use '->'?
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:21:31

Semantic Issue (Xcode): No member named 'nanoseconds' in 'CVTimeStamp'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:21:32

Semantic Issue (Xcode): Use of undeclared identifier 'FIRGeoPoint'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:25:35

Semantic Issue (Xcode): Use of undeclared identifier 'FIRGeoPoint'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:26:4

Semantic Issue (Xcode): Use of undeclared identifier 'geoPoint'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:26:17

Semantic Issue (Xcode): Use of undeclared identifier 'geoPoint'
/Users/user/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTFirebaseFirestoreWriter.m:27:23

Error (Xcode): too many errors emitted, stopping now

Encountered error while building for device.
make: *** [ios] Error 1

Podspec missing requirements specified by upstream Firestore podspec, causes build failures

I was following the getting started guide, which has an improve ios build times section: So I added the pod 'FirebaseFirestore' line. I tried it with different versions: 6.26.0 as documented there, 7.3.0 (as according to the readme on this page) and 7.8.1 (the newest version), they all have the same errors below:

I get 2 different errors (1 for simulators, and one for my real iPhone): I pasted it here but it was too big, so I've attached txt files:

iPhone 12 build output error

real.txt
Most relevant:

Error output from Xcode build:
↳
    2021-03-20 15:55:59.670 xcodebuild[40159:398433] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
    ** BUILD FAILED **

iPhone 12 simulator build output error

sim.txt

Xcode's output:
↳
    Undefined symbols for architecture x86_64:
      "std::__1::to_string(long)", referenced from:
          grpc_core::channelz::ChannelNode::RenderJson() in gRPC-Core(channelz.o)
          grpc_core::channelz::ChannelNode::PopulateChildRefs(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, grpc_core::Json, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, grpc_core::Json> > >*) in gRPC-Core(channelz.o)
          grpc_core::channelz::ServerNode::RenderServerSockets(long, long) in gRPC-Core(channelz.o)
          grpc_core::channelz::ServerNode::RenderJson() in gRPC-Core(channelz.o)
          grpc_core::channelz::SocketNode::RenderJson() in gRPC-Core(channelz.o)
          grpc_core::channelz::ListenSocketNode::RenderJson() in gRPC-Core(channelz.o)
          grpc_core::channelz::ChannelTrace::TraceEvent::RenderTraceEvent() const in gRPC-Core(channel_trace.o)
          ...

pod install error

Hello,

I get the following error by executing pod install. Can you help me?

cloud_firestore: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In Podfile:
    FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.6.0`)

    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 3.1.0, which depends on
      Firebase/Firestore (= 8.9.0) was resolved to 8.9.0, which depends on
        FirebaseFirestore (~> 8.9.0)

Error CocoaPods could not find compatible versions for pod "FirebaseFirestore"

Since I updated my M1 to MacOS 13 Ventura, I get this error "CocoaPods could not find compatible versions for pod "FirebaseFirestore" " and I don't know if it's a known issue or what. I have been struggling since yesterday.

[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In Podfile:
    FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `10.1.0`)

    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 4.0.3, which depends on
      Firebase/Firestore (= 10.0.0) was resolved to 10.0.0, which depends on
        FirebaseFirestore (~> 10.0.0)

when I change back to 'version 10.0.0' i get the following error
[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
  In Podfile:
    firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 10.0.3, which depends on
      Firebase/Analytics (= 10.0.0) was resolved to 10.0.0, which depends on
        Firebase/Core (= 10.0.0) was resolved to 10.0.0, which depends on
          FirebaseAnalytics (~> 10.0.0) was resolved to 10.0.0, which depends on
            FirebaseAnalytics/AdIdSupport (= 10.0.0) was resolved to 10.0.0, which depends on
              GoogleAppMeasurement (= 10.0.0)

    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
      Google-Mobile-Ads-SDK (= 9.6.0) was resolved to 9.6.0, which depends on
        GoogleAppMeasurement (< 10.0, >= 7.0)

dependencies:

firebase_core: ^2.1.1
firebase_analytics: ^10.0.3
cloud_firestore: ^4.0.3
firebase_auth: ^4.1.0
firebase_messaging: ^14.0.3
firebase_database: ^10.0.3
firebase_remote_config: ^3.0.3

PodFile

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

# 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.1.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)
  end
end

Swift Package Manager Support

Hey there 👋

This looks like a super interesting approach to a frustrating side effect of using Firebase - awesome work!

I was just wondering if you have considered publishing a Package.swift as part of this project?

It would allow Swift Package Manager users to benefit from the same speed improvements of an xcframework rather than recompiling every time 🙌

https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages

Thanks 😄

Issue with using 8.4.0

Hi there ! I ran into this issue

image

I solved it by switching to 8.3.0 and thought perhaps it would be useful to share !

Build fails on macOS

I can successfully use the precompiled Firestore framework on iOS, however, on macOS, the build fails with errors:

Launching lib/main.dart on macOS in debug mode...
 lib/main.dart
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_functions-0.9.0/macos/Classes/FLTFirebaseFunctionsPlugin.m:85:16: warning: 'useFunctionsEmulatorOrigin:' is deprecated: Use useEmulator(host:port:) instead. [-Wdeprecated-declarations]
    [functions useFunctionsEmulatorOrigin:origin];
               ^
In module 'FirebaseFunctions' imported from /Users/*/Projects/*/*/macos/Pods/Headers/Public/Firebase/Firebase.h:56:
/Users/*/Projects/*/*/macos/Pods/FirebaseFunctions/Functions/FirebaseFunctions/Public/FirebaseFunctions/FIRFunctions.h:90:24: note: 'useFunctionsEmulatorOrigin:' has been explicitly marked deprecated here
        __attribute__((deprecated("Use useEmulator(host:port:) instead.")));
                       ^
1 warning generated.
In file included from /Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:8:
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/Private/FLTFirebaseFirestoreUtils.h:42:4: error: expected a type
+ (FIRFirestoreSource)FIRFirestoreSourceFromArguments:(NSDictionary *_Nonnull)arguments;

   ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/Private/FLTFirebaseFirestoreUtils.h:44:4: error: expected a type
+ (FIRFirestore *_Nullable)getCachedFIRFirestoreInstanceForKey:(NSString *_Nonnull)key;

   ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/Private/FLTFirebaseFirestoreUtils.h:45:40: error: expected a type
+ (void)setCachedFIRFirestoreInstance:(FIRFirestore *_Nonnull)firestore

                                       ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:12:33: error: no type or protocol named 'FIRListenerRegistration'

@property(readwrite, strong) id<FIRListenerRegistration> listenerRegistration;
                                ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:19:3: error: use of undeclared identifier 'FIRQuery'
  FIRQuery *query = arguments[@"query"];
  ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:19:13: error: use of undeclared identifier 'query'
  FIRQuery *query = arguments[@"query"];
            ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:21:7: error: use of undeclared identifier 'query'
  if (query == nil) {
      ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:31:19: error: type-id cannot have a name
  id listener = ^(FIRQuerySnapshot *_Nullable snapshot, NSError *_Nullable error) {
                  ^~~~~~~~~~~~~~~~
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:31:36: error: expected ')'
  id listener = ^(FIRQuerySnapshot *_Nullable snapshot, NSError *_Nullable error) {
                                   ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:31:18: note: to match this '('
  id listener = ^(FIRQuerySnapshot *_Nullable snapshot, NSError *_Nullable error) {
                 ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:31:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  id listener = ^(FIRQuerySnapshot *_Nullable snapshot, NSError *_Nullable error) {
                ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:32:9: error: use of undeclared identifier 'error'
    if (error) {
        ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:33:91: error: use of undeclared identifier 'error'
      NSArray *codeAndMessage = [FLTFirebaseFirestoreUtils ErrorCodeAndMessageFromNSError:error];
                                                                                          ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:44:62: error: use of undeclared identifier 'error'
                                          andOptionalNSError:error]);

                                                             ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:48:16: error: use of undeclared identifier 'snapshot'
        events(snapshot);
               ^

/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:54:8: error: use of undeclared identifier 'query'
      [query addSnapshotListenerWithIncludeMetadataChanges:includeMetadataChanges.boolValue

       ^
/Users/*/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.16.0+1/macos/Classes/FLTQuerySnapshotStreamHandler.m:61:30: error: no known instance method for selector 'remove'
  [self.listenerRegistration remove];
                             ^~~~~~
1 warning and 15 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
** BUILD FAILED **

Exception: Build process failed
Exited (sigterm)

Inside my Podfile, I have:

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.3.0'

And my pubspec:

  firebase_core: ^0.7.0
  firebase_auth: ^0.20.1
  cloud_firestore: ^0.16.0+1
  cloud_functions: ^0.9.0

Errors building after XCode update

I have a previously stable build of a flutter macos app no longer compiling after what appears to have been an automatic Xcode update to version 15. (Grrr!)

The build output has four problems:

error: DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead (in target 'Firebase' from project 'Pods')

warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 14.0.99. (in target 'PromisesObjC' from project 'Pods')
...then a repeat of this warning for targets 'nanopb' and 'GoogleUtilities'

It's impossible to change DT_TOOLCHAIN_DIR because it only occurs in generated xcconfig files in the Pods directory. Even if I do change it flutter run will overwrite

I was working on Firestore 10.12.0. I've tried upgrading to 10.15.0. Same issue.

There's also a flood of other warnings that look like below - but I'm not certain they're related to Firestore as the above must be.

2023-09-20 16:36:57.744 xcodebuild[46339:4502861] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22267/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details: createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread: <_NSMainThread: 0x14d60bda0>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

[Solved] Compile issues using pod framework.

As we know, Firestore takes a while to compile for XCode/iOS. For this reason, I attempted to solution: [Update] Cloud Firestore Xcode Build Times

TL;DR
Add the pod... line to Runner Podfile

# ...
target 'Runner' do
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'

# ...
end

Note: I've had to change mine to 9.3.0 (see output below)

XCode: 13.3.1

Flutter Doctor
flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale en-ZA)
    • Flutter version 3.0.5 at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-32, build-tools 30.0.3
    • Java binary at: /Users/mac/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.1 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the
        Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/mac/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7935034/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at /Users/mac/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.5744.223/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.2)
    • IntelliJ at /Users/mac/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/203.7148.57/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.64.2)
    • VS Code at /Users/mac/Downloads/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Charles’s iPhone (white) (mobile) • c264836ff1973fd348162a06320665d8ddc18709 • ios            • iOS 15.5 19F77
    • Charles’s iPhone (black) (mobile) • 49e43e75c23a6199ac3f463bdc14a07d154d4d5e • ios            • iOS 15.5 19F77
    • macOS (desktop)                   • macos                                    • darwin-x64     • macOS 12.4 21F79
      darwin-x64
    • Chrome (web)                      • chrome                                   • web-javascript • Google Chrome
      105.0.5195.125
    ! Error: Charles’s iPhone (white) is busy: Fetching debug symbols for Charles’s iPhone (white). Xcode will continue when
      Charles’s iPhone (white) is finished. (code -10)
    ! Error: Charles’s iPhone (black) is busy: Fetching debug symbols for Charles’s iPhone (black). Xcode will continue when
      Charles’s iPhone (black) is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
Project pubspec dependencies
flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
 
  ... 

  # Core Firebase options
  firebase_core: ^1.19.2

  # Used with firebase_core providing FirebaseOptions in initialization
  flutterfire_ui: ^0.4.2+3

  ...

  # Provides storage interface for uploading resources
  firebase_storage: ^10.3.3

  ...

  # Access Firestore Cloud functions
  cloud_functions: ^3.3.6

  ...

  # Provides notification mechanism for FCM/APN messages
  firebase_messaging: ^13.0.1

Steps: (intermediate integration during development)

  1. Add line above

Podfile content

...
target 'Runner' do
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'
  ...
...
  1. rm Podfile.lock

  2. pod install --repo-update

Success.


Time to run

  • Android Studio, compiles faster, runs successfully!
  • XCode does not want to play ball (however the build jobs count is significantly smaller).

XCode compile errors (see image):

image

Compile Errors
In file included from /Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:11:
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:43:4: error: expected a type
+ (FIRFirestoreSource)FIRFirestoreSourceFromArguments:(NSDictionary *_Nonnull)arguments;
   ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:45:4: error: expected a type
+ (FIRFirestore *_Nullable)getCachedFIRFirestoreInstanceForKey:(NSString *_Nonnull)key;
   ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/Private/FLTFirebaseFirestoreUtils.h:46:40: error: expected a type
+ (void)setCachedFIRFirestoreInstance:(FIRFirestore *_Nonnull)firestore
                                       ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:15:30: error: unknown type name 'FIRLoadBundleTask'
@property(readwrite, strong) FIRLoadBundleTask *task;
                             ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:15:1: error: property with 'retain (or strong)' attribute must be of object type
@property(readwrite, strong) FIRLoadBundleTask *task;
^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:23:3: error: use of undeclared identifier 'FIRFirestore'
  FIRFirestore *firestore = arguments[@"firestore"];
  ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:23:17: error: use of undeclared identifier 'firestore'
  FIRFirestore *firestore = arguments[@"firestore"];
                ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:26:16: error: use of undeclared identifier 'firestore'
  self.task = [firestore
               ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:48:28: error: type-id cannot have a name
  [self.task addObserver:^(FIRLoadBundleTaskProgress *_Nullable progress) {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:48:54: error: expected ')'
  [self.task addObserver:^(FIRLoadBundleTaskProgress *_Nullable progress) {
                                                     ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:48:27: note: to match this '('
  [self.task addObserver:^(FIRLoadBundleTaskProgress *_Nullable progress) {
                          ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:48:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  [self.task addObserver:^(FIRLoadBundleTaskProgress *_Nullable progress) {
                         ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:50:11: error: use of undeclared identifier 'progress'
      if (progress.state != FIRLoadBundleTaskStateError) {
          ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:50:29: error: use of undeclared identifier 'FIRLoadBundleTaskStateError'
      if (progress.state != FIRLoadBundleTaskStateError) {
                            ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:51:16: error: use of undeclared identifier 'progress'
        events(progress);
               ^
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:48:4: error: bad receiver type 'int *'
  [self.task addObserver:^(FIRLoadBundleTaskProgress *_Nullable progress) {
   ^~~~~~~~~
/Users/mac/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.3/ios/Classes/FLTLoadBundleStreamHandler.m:60:4: error: bad receiver type 'int *'
  [self.task removeAllObservers];
   ^~~~~~~~~
1 warning and 15 errors generated.


Changing to version (from Podfile) from 9.3.0 to .e.g 9.5.0 or 9.6.0 results in the errors below, confirming I have to use 9.3.0

Adding:

  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.5.0'  # or '9.6.0'

Results in:

pod install --repo-update
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
Updating local specs repositories

CocoaPods 1.11.3 is available.
To update use: `sudo gem install cocoapods`

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.3

Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `9.5.0`
FirebaseFirestore/AutodetectLeveldb: Detected firebase_database module. Would not include leveldb.
cloud_firestore: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_dynamic_links: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In Podfile:
    FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `9.5.0`)

    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 3.4.3, which depends on
      Firebase/Firestore (= 9.3.0) was resolved to 9.3.0, which depends on
        FirebaseFirestore (~> 9.3.0)

Changing to 9.3.0 results in the following output (apologies for the additional packages):

Adding

  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'

Results in:

pod install --repo-update
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
Updating local specs repositories

CocoaPods 1.11.3 is available.
To update use: `sudo gem install cocoapods`

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.3

Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `9.3.0`
cloud_firestore: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_dynamic_links: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '9.3.0' defined in 'firebase_core'
Downloading dependencies
Installing AppAuth (1.6.0)
Installing FBAEMKit (14.0.0)
Installing FBSDKCoreKit (14.0.0)
Installing FBSDKCoreKit_Basics (14.0.0)
Installing FBSDKLoginKit (14.0.0)
Installing FMDB (2.7.5)
Installing Firebase (9.3.0)
Installing FirebaseAppCheckInterop (9.6.0)
Installing FirebaseAuth (9.3.0)
Installing FirebaseAuthInterop (9.6.0)
Installing FirebaseCore (9.3.0)
Installing FirebaseCoreDiagnostics (9.6.0)
Installing FirebaseCoreExtension (9.6.0)
Installing FirebaseCoreInternal (9.6.0)
Installing FirebaseDatabase (9.3.0)
Installing FirebaseDynamicLinks (9.3.0)
Installing FirebaseFirestore (9.3.0)
Installing FirebaseFunctions (9.3.0)
Installing FirebaseInstallations (9.6.0)
Installing FirebaseMessaging (9.3.0)
Installing FirebaseMessagingInterop (9.6.0)
Installing FirebaseSharedSwift (9.6.0)
Installing FirebaseStorage (9.3.0)
Installing FirebaseStorageInternal (9.6.0)
Installing Flutter (1.0.0)
Installing GTMAppAuth (1.3.1)
Installing GTMSessionFetcher (1.7.2)
Installing GoogleDataTransport (9.2.0)
Installing GoogleMaps (7.1.0)
Installing GoogleSignIn (6.2.3)
Installing GoogleUtilities (7.8.0)
Installing PhoneNumberKit (3.3.4)
Installing PromisesObjC (2.1.1)
Installing Stripe (22.5.1)
Installing StripeApplePay (22.5.1)
Installing StripeCore (22.5.1)
Installing StripeFinancialConnections (22.5.1)
Installing StripeUICore (22.5.1)
Installing TwilioVoice (6.3.1)
Installing cloud_firestore (3.4.3)
Installing cloud_functions (3.3.6)
Installing firebase_auth (3.6.2)
Installing firebase_core (1.20.0)
Installing firebase_database (9.1.0)
Installing firebase_dynamic_links (4.3.3)
Installing firebase_messaging (13.0.1)
Installing firebase_storage (10.3.4)
Installing flutter_facebook_auth (4.4.0)
Installing geocoding (1.0.5)
Installing geolocator_apple (1.2.0)
Installing google_maps_flutter (0.0.1)
Installing google_sign_in_ios (0.0.1)
Installing image_picker_ios (0.0.1)
Installing leveldb-library (1.22.1)
Installing nanopb (2.30909.0)
Installing path_provider_ios (0.0.1)
Installing phone_number (0.12.0)
Installing shared_preferences_ios (0.0.1)
Installing sign_in_with_apple (0.0.1)
Installing sms_autofill (0.0.1)
Installing sqflite (0.0.2)
Installing stripe_ios (0.0.1)
Installing twilio_voice (0.0.1)
Installing twitter_login (0.0.1)
Installing url_launcher_ios (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 26 dependencies from the Podfile and 65 total pods installed.

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).


Is this an issue on my side?

Feel free to request additional information - I'd like to assist resolving this issue ASAP.

ld error with BoringSSL-GRPC

❌  ld: '/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/App-crddnaqtledltaaoywtaqkllohdm/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base/BoringSSL-GRPC.framework/BoringSSL-GRPC(BoringSSL-GRPC-dummy.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/App-crddnaqtledltaaoywtaqkllohdm/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base/BoringSSL-GRPC.framework/BoringSSL-GRPC' for architecture arm64

Podfile

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

$RNFirebaseAsStaticFramework = true

platform :ios, '11.0'

target 'App' do
	use_frameworks! :linkage => :static
  config = use_native_modules!

  use_react_native!(
		:path => config["reactNativePath"],
		:hermes_enabled => true
	)

	permissions_path = '../node_modules/react-native-permissions/ios'
	pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"

	pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.1.0'
	pod 'RNFS', :path => '../node_modules/react-native-fs'

	pod 'Firebase', :modular_headers => true
	pod 'FirebaseCoreInternal', :modular_headers => true
	pod 'GoogleUtilities', :modular_headers => true
	pod 'FirebaseCore', :modular_headers => true
	pod 'FirebaseCoreExtension', :modular_headers => true
	pod 'FirebaseAppCheckInterop', :modular_headers => true
	pod 'FirebaseAuthInterop', :modular_headers => true
	pod 'FirebaseMessagingInterop', :modular_headers => true
	pod 'GTMSessionFetcher', :modular_headers => true

	post_install do |installer|
		react_native_post_install(installer)
		__apply_Xcode_12_5_M1_post_install_workaround(installer)


		installer.pods_project.targets.each do |target|
				if target.name == 'RCT-Folly'
					target.build_configurations.each do |config|
						config.build_settings['HEADER_SEARCH_PATHS'] = "$(inherited) ${PODS_ROOT}/fmt/include"
					end
				end
				target.build_configurations.each do |config|
					config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
				end
		end

	end

end

cloud_firestore: ^3.2.1 compatibility issue

iOS build failing when the following line is added to Podfile

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.2.0'

Despite being much slower, excluding this line results in a successful build.

Error output from Xcode build:

2022-07-02 17:24:29.747 xcodebuild[47717:6413181] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-07-02 17:24:29.747 xcodebuild[47717:6413181] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.68.1)

Keen to put this back when fixed to speed up testing!

Framework not found BoringSSL-GRPC when updating 8.15.0 to 9.2.0

With the new release of https://pub.dev/packages/firebase_core I updated FirebaseFirestore to 9.2.0 and now the build fails.

I played around with use_frameworks and use_modular_headers but no success there.

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.2.0'
end

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.