Giter VIP home page Giter VIP logo

Comments (3)

Whaleman0423 avatar Whaleman0423 commented on June 3, 2024 3

change to pod 'BoringSSL-GRPC', '0.0.24'
reference: invertase/react-native-firebase#7695 (comment)

my Podfile

#  參考: https://stackoverflow.com/questions/64362285/flutter-on-ios-fatal-error-module-cloud-firestore-not-found
# 因為 podfile 無法獲取到 flutter 所需要的套件, 需要額外更新此份檔案後, 執行 pod install
 platform :ios, '13.0'

 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!

   # 固定 BoringSSL-GRPC 版本
   pod 'BoringSSL-GRPC', '0.0.24'

   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

from flutterfire.

Whaleman0423 avatar Whaleman0423 commented on June 3, 2024

Hi, your error message is exactly the same as mine. I use flutter for ios app.

A few days ago, my software department manager deployed the APP I developed and executed it according to the deployment process I wrote. Finally, this error occurred during the testflight test.

However, when I followed the deployment process, deployed and executed flutter build ipa on my other apple mac, and then ran the testflight test again, I found that there was no such error.

Therefore, I suspect that there may be a problem with the Xcode or cocoapods version that causes problems in building the ipa, or an exception occurs when the flutter package is installed into the ios package.

my cocoapods version:
1.15.2
XCode version:
Version 14.3.1 (14E300c)

my flutter package version:

  cached_network_image: ^3.3.1
  cloud_firestore: ^4.15.9
  file_picker: ^6.2.0
  firebase_analytics: ^10.8.10
  firebase_auth: ^4.17.9
  firebase_core: ^2.27.1
  firebase_storage: ^11.6.10
  firebase_ui_auth: ^1.13.1
  firebase_ui_oauth_google: ^1.3.1
  flutter_line_sdk: ^2.3.6
  flutter_udid: ^3.0.0
  google_mobile_ads: ^4.0.0
  http: ^1.2.1
  image: ^4.1.7
  infinite_scroll_pagination: ^4.0.0
  jwt_decoder: ^2.0.1
  logger: ^2.1.0
  path_provider: ^2.1.2
  pigeon: ^17.1.2
  shared_preferences: ^2.2.2
  uuid: ^4.3.3
  universal_html: ^2.2.4
  video_player: ^2.8.3

from flutterfire.

TarekkMA avatar TarekkMA commented on June 3, 2024

Hi @GustavoDuregger, @Whaleman0423, this issue appears widespread among ReactNative users as well (see invertase/react-native-firebase#7695), indicating it might stem from the native library, potentially due to a migration to OpenSSL.

In the meantime, please consider upvoting firebase/firebase-ios-sdk#12606 and sharing your crash report there for visibility.

from flutterfire.

Related Issues (20)

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.