I am using Firebase as a part of my App, after installing firebase_core: ^1.22.0
& cloud_firestore: ^3.4.9
the Running Xcode build is taking between 15 to 20 min. while earlier it was taking 1 to 3 min. only, the same is applicable for physical devices & simulators… I have no issues uploading to Android devices, the uploading time is between 2 to 3 min only, moreover it is slowing the App performance… can anybody help me in this
2
Answers
Firebase provides Precompiled Firestore iOS SDK xcframework files. Really cuts down on compile times.
You can read more here: https://github.com/invertase/firestore-ios-sdk-frameworks#supported-firebase-ios-sdk-versions
and here:
Firestore iOS SDK depends on some 500k lines of mostly C++. That’s why it takes too much time in build. You need to add this line in
Podfile
:For more information:
https://github.com/invertase/firestore-ios-sdk-frameworks
If there is a problem with the deployment target, update platform value to 11.0 or 12.0 in
Podfile
.Run
pod install
inios
folder to update the project.