-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Solved] Compile issues using pod framework. #58
Comments
Just a hunch, I wonder if this is related to the zip distribution of firebase-ios-sdk (which this pre-compiled framework distribution is based on) having a minimum deployment target of iOS 11, vs the previous 10. It looks pretty similar, and if it was working with Firestore integrated "normally" (that is, not with this repo integrated) then that's the only real difference right now |
Hmm, so this is my
|
@mikehardy consider this issue resolved and a possible duplicate. ResolvedTL;DR: IDE
Build timesReduced build times, from around +6min to ~3 min. Current Configuration
|
Note that 9.6.0 is out as of yesterday, and fixes a firestore CPU consumption bug on 9.5.0. There were not other breaking changes or anything so it should be safe to substitute directly, and will make your users happy (by using less CPU on their devices...) Glad your build is working either way though, good luck with your project! |
Hmm, check this out. Just gave Latest # https://firebase.google.com/support/release-notes/ios
def firebase_sdk_version!()
'9.5.0'
end See: feat: Bump Firebase iOS SDK to 9.5.0 Note the version, it will be referenced later (in error output) Configuration
Steps to reproduce(from existing project)
Output from steps above:
For now, I'll use |
You need to override it I think https://firebase.flutter.dev/docs/manual-installation#iosmacos |
Perfect, updated
Should this be considered a temporary fix until |
Yep, an override is always just until core is updated. If you haven't logged an issue for them to update yet or there isn't one already, might be good to do so in order to subscribe to it so you know to unpin the version later as they resolve/ merge an update |
PR in progress, I collaborated on it over there, nothing more actionable here and I know you're subscribed there so I think we're all good. Cheers! |
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 PodfileNote: I've had to change mine to 9.3.0 (see output below)
XCode: 13.3.1
Flutter Doctor
Project pubspec dependencies
Steps: (intermediate integration during development)
Podfile
contentrm Podfile.lock
pod install --repo-update
Success.
Time to run
XCode compile errors (see image):
Compile Errors
Changing to version (from
Podfile
) from9.3.0
to .e.g9.5.0
or9.6.0
results in the errors below, confirming I have to use9.3.0
Adding:
Results in:
Changing to
9.3.0
results in the following output (apologies for the additional packages):Adding
Results in:
Is this an issue on my side?
Feel free to request additional information - I'd like to assist resolving this issue ASAP.
The text was updated successfully, but these errors were encountered: