Closed samyakb-work closed 11 months ago
Have opened an issue under cloud_firestore
repo as well.
From flutterfire/cloud_firestore/issue#12032:
The plugin (
single_factor_auth_flutter
) seems to be importing an ambiguous Base64.h and picking up the one from the BoringSSL install.
This might help :)
This is the issue assciated with cloud_firestore sdk in iOS. Attaching some post relates to it:
https://stackoverflow.com/questions/67822031/fatal-error-openssl-x509-h-file-not-found-in-flutter-ios-build-after-integrat https://stackoverflow.com/questions/59128847/xcode-grpc-core-error-openssl-grpc-ssl-h-file-not-found https://stackoverflow.com/questions/50111556/openssl-base-h-file-not-found-firestore https://github.com/CocoaPods/CocoaPods/issues/10772 https://github.com/firebase/firebase-ios-sdk/issues/4007
Hey Devs,
I am facing an issue while using your package along with
cloud_firestore
. This is working just fine in Android, but facing the issue in iOS.In iOS,
single_factor_auth_flutter
depends on OpenSSL whereascloud_firestore
depends on BoringSSL (BoringSSL is a fork of OpenSSL that is designed to meet Google's needs).When using both the packages simultaneously, BoringSSL is tampering with OpenSSL files, which is manipulating it's header files.
As a result we are getting the following error while running for iOS:
Here is a minimal reproducible example. In this, I have just added
cloud_firestore
andsingle_factor_auth_flutter
and trying to build for iOS.Here are some system info: