Comments (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.
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.
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)
- storage: file storage with dynamic directory not visible in gcsfuse HOT 3
- [📚] Your documentation feedback title (CHANGE ME)
- cloud_firestore: iOS includeMetadataChanges does not recieve isFromCache false after first run HOT 14
- [firebase_auth]: [firebase_auth/unknown-error] An internal error has occurred. (when calling signinwithemailandpassword on windows) HOT 10
- [FileSystemEntity]: <Is it a bug? I can't read json file via File.readAsStringSync or File.readAsString> HOT 1
- [firebase_auth]: <Requests from this Android client application <empty> are blocked.> HOT 2
- FirebaseAuth.instance.currentUser always null on windows app flutter !! HOT 3
- Firebase Auth: reCaptcha shows up even after configuring Silent APN correctly HOT 2
- Google SignIn Crashing on iOS
- [firebase_core]: not working with cocoapods 1.15.2 HOT 8
- [BUG]: Error: Unable to get Xcode project information ... Unable to read project 'Runner.xcodeproj'. After Running Flutterfire Configure on MACOS HOT 1
- [firebase_messaging]: iOS Background receive Message HOT 2
- [firebase_core]: 'pod update' cannot be done when 'firebase core' is updated to the latest version HOT 5
- Lost connection to device in desktop flutter app Firebase Storage ! HOT 3
- [remote_config]: setConfigSettings on windows raises an exception HOT 1
- Problem with GoogleUtilities after Declaring :linkage => :static in Podfile HOT 3
- [📚] Your documentation feedback title (CHANGE ME)
- [Firebase auth]: about:blank page firebase auth verifyPhoneNumber HOT 3
- [firebaseAnalytics]: logScreenView doesn't send the name and class to GA4 in flutter web HOT 17
- [firestore]: Firestore snapshot does return empty data for existing doc HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire.