-
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: Swift Compiler Error (Xcode): 'headerValue()' is unavailable in Swift: Use asyncHeaderValue() async -> String?
instead.
#13527
Comments
+1 |
Based on my investigations, we are using FirebaseSDK 11.4.0 while Flutterfire is only compatible with FirebaseSDK 11.2.0 @wantroba |
So an alternative would be to downgrade the FirebaseSDK in the pod file? |
It's fixed a version here, but PodFile is using a newer version: I think yes, but I'm developing for android and ios without using a mac (building it with codemagic.io) Do you know how to do it? |
+1 |
I also use code magic! I tried adding a line to the podfile (ios/PodFile)
But didnt work :( |
+1 |
1 similar comment
+1 |
I have the same error too. In my case, I think that happens after executing |
+1 |
I tried two approaches: 1. I downgraded the firebase version to 11.2 and also 11.1 and the problem persists.
2. Upgrade firebase to 11.4
When I try to force upgrade to version 11.4 I am facing another problem:
I've already tried to upgrade the minimum iOS version to 14 and the error persists. If anyone has a project that doesn't use analytcs, they might get different results. |
Hi all, thanks for reporting and apologies for the trouble. This is indeed a regression from today's 11.4.0 firebase-ios-sdk release. The culprit is the |
@wantroba, when fully downgrading, it may be better in this case to pin to the exact minor, else the Example (removed the
|
You are right. I forgot about that. I'll try with 11.2 first |
Sorry, I am @bonusclub-crm, replying from another browser. |
Donwgrading to 11.2 didnt worked for me |
Guys, try downgrading only
|
Great idea @NarekManukyan! As @ncooke3 mentioned the problem is in version 11.4 so I downgraded to version 11.3 and it also worked! This way we can build and stay just 1 version behind until they solve the problem with 11.4.
|
It' worked well for me too! ;) |
@ncooke3, please let us know when to test your fixes, ok ;) |
Yes, this is just a workaround for those who can't wait for the fix. The ideal is to wait |
Yes. This is a temporary solution. Until @ncooke3's PR passes all tests )) |
+1 |
non has actually worked for me. |
[!] CocoaPods could not find compatible versions for pod "FirebaseCoreExtension":
|
my deployment target is currently 14 |
Hi @jenkinsernest, do you have a snippet of what the relevant part of your Podfile looks like? It also would be helpful to know how you ran into this issue? (e.g. was on version X and then upgraded to version Y where the build error happened) |
ok thanks, once i deleted my pod lock it went through. having issues now with video_editor |
+1 |
I was able to get a temporary workaround using this post install script, it should do the trick for those wanting to dev asap: At bottom of pod file: In root project directory, run:
|
@ncooke3 - over in react-native-firebase I pinned our transitive deps (where we depend on firebase-ios-sdk) to We can't pin the exact version because (for example) FirebaseCoreExtension doesn't always version, there was a 10.23.1 release or similar where everything went to 10.23.1 except that one which stayed at 10.23.0, so I removed the version on that one. And I think that led to this problem 😩 . But specifying our transitives as PR where I did it - has the lock as well --> invertase/react-native-firebase#8074 |
Same issue |
+1 |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
My development environment:
Firebase libs:
The output during iOS build:
I was able to build until last Friday (10/18/2024). I didn't update any libs from Friday until today and this error appeared
Reproducing the issue
I will paste here the code snippet where I use firebase auth, I use it together with the game services lib (https://github.com/Abedalkareem/games_services), but I don't know if it is related to it, it seems to be something with the firebase auth core lib:
Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: