-
Notifications
You must be signed in to change notification settings - Fork 4k
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
firebase_auth: Unable to find a specification for firebase_core
depended upon by firebase_auth
#16670
Comments
Hi @penguinography, I wasn't able to reproduce the issue. Could you please provide a complete minimal repository reproducing this issue? |
Hi @SelaseKay , I created a new Flutter project and did a test run to see if it runs on the emulator. Then, I added the firebase_core and firebase_auth packages and tried to run the app again, and it failed exactly the same way. I have uploaded the repo here: https://github.com/penguinography/firebase_issue_repro |
I also tried to add this line to the pod file based on these two issues: But it still didn't resolve the problem. Terminal output for pod install --repo-update: You have either:
Terminal output based on SPM - launching app in debug:
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. Error running pod install Exited (1). |
Hi @penguinography, your example repo seems to run fine after I deleted |
Hi @SelaseKay , which macOS version are you using? Mine is Sequoia Version 15.2 Beta (24C5079e), and this issue started happening once I updated the system and downloaded and installed the latest iOS in Xcode -> Settings -> Components
|
I'm running on macOS 15.0 at the moment. |
I tried to heavily downgrade the packages:
And this one seems like worked:
This is already a small win, but this is a heavily downgraded package, and I don't feel good about it. So I tried again to update the packages |
Same issue
Descripton I tried |
Here having the same problem. |
@furkandvrckrc, @Xelorium, what version of Xcode are you experiencing this on? |
16.1 |
Has anyone found a resolution to this yet? |
I deleted the Flutter SDK and reinstalled it. This problem occurs on channel main, I think I got it when I tried to use swift package manager and I could not use it. |
I have the same issue when using SPM |
I tried to use it with SPM and it failed. Same issue. Going to disable it for now |
I have also been facing the same issues last 6 days I tried some common ways but it is still the same, Does anyone have any solutions about it pod repo update You have either:
|
The only solution for firebase core users is to not use the SPM for anything. Downgrade the project to not use SPM. The Firebase SPM iOS GitHub package has something misconfigured (other packages relying on firebase core within the overall package) and should be updated sometime. |
@craigm26 It doesn't function without the SPM either. CocoaPods also fail with the same result. |
That's odd. After I stopped using SPM, it worked fine for me. I'd clean up the project as best as possible according g to the flutter docs on uninstalling SPM methods. |
Well, I was not using SPM just CocoaPods and from one day to the other my apps stopped compiling for iOS. It's really odd. I also created a clean project adding only two packages (see attached repo) and it is just broken for me 🙃 |
@craigm26 @SelaseKay I have started experimenting again with this issue. If I remove Firebase Auth and only install firebase_core: ^3.8.1 (the latest version), then Firebase Core installs without any issues.
The moment I add Firebase Auth, it falls apart still with the same error message 😖 |
@penguinography - have you followed the warnings in your console?
See example for how your or |
Is this fix released? Facing the same issue "Unable to find a specification for firebase_core depended upon by firebase_analytics" |
@russellwheatley awesome! I'll take a stab at the package I was trying to add and at the same time, look at migrating to SPM. Looks cleaner than pods. |
@russellwheatley I am not able to run the iOS project with SPM enabled, here are the reproduction steps:
Result:
|
Hi @craigm26 and anyone trying out SPM. SPM support still hasn't been released for the majority of packages. We had a small window of opportunity to release last week but we had a problem with our release pipeline. Unfortunately, We have a release freeze around this time of year so it won't be out until the new year I'm afraid. Sorry for the inconvenience 🙏 |
Any updates? |
Hi everyone, I don't know how good my method is - but here is the solution, I changed the versions of my dependencies and it started working
my flutter version - |
Is there an existing issue for this?
Which plugins are affected?
Core, Auth
Which platforms are affected?
iOS, macOS
Description
When using a Mac running on MacOS 15.2 Beta (24C5073e) using Xcode Version 16.1 (16B40), I cannot compile a Flutter app as Cocoapods fails to download and install the necessary packages for Firebase Auth and Core.
I have the latest Cocoapods.
I have updated the packages.
I have deleted the following folders:
I have changed the minimum iOS to 16 (and later to 17).
I have also deleted the Flutter packages cache -
flutter pub cache clean
I switched between Flutter channel Beta and Master and ran
pod repo update
multiple times.Reproducing the issue
Run
pod install
orpod install --repo-update
on MacOS 15.2 Beta (24C5073e) using Xcode Version 16.1 (16B40) with the latest Firebase Core and Auth dependencies.Try to run an app on the iPhone 16 (iOS 18.1) simulator.
Firebase Core version
3.7.0
Flutter Version
3.27.0-0.1.pre
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: