-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Protobuf erro after upgrade 'protobuf/Any.pbobjc.h' file not found! #2780
Comments
Probably not a fix per se, but I'd use at least iOS pods 6.8.1 as they didn't fix UIWebView references until then which causes App Store warnings when you try to publish. I consider it the minimum viable version at this point for the iOS Firebase SDKs That said, maybe there's some sort of pod cache corruption issue - I'd nuke everything with |
@mikehardy I did what you suggested but not work in my case. With nowhere else to look at, I started digging and pay more attention to this issue and MYHO is there is an issue with the firebase-ios-sdk pod spec for protobuf. I think the 3.10.0 Protobuf spec fix the issue, But it have to be updated across all dependent modules. After all I fixed by enabling Have to say I use other dependencies but they have already a fix for case-sensitive file systems, so I just upgrade them. |
Maybe we could add something on the template for environment asking if you are on a case-sensitive macOS system, as I think that's what bit you @alexxsanchezm ? Glad you got it fixed and it seems that Firebase iOS Pods version 6.11.0 at least contain that (or allow its use if you pod update) so this should go away in the future as people update |
Yeah, I think it could be added on the template. I did setup my file system as case sensitive because other requirements. And yeah I think this problem will go away after devs start updating their dependencies. |
Hey @Salakar / @Ehesp I just looked through v6 docs and I don see any place that has a matrix of supported version combinations like in v5. I was trying to think where I'd drop a note for people that 6.11.0 was the minimum for case-sensitive filesystems on macOS and I don't know where would be best 🤔 |
I added RNFB v6 to a new RN 0.61.2 project but I get same error, everything works fine in Android
BTW I'm using cocapods 1.18 which uses CDN to install dependencies |
@mikehardy What do you mean by version 6.11.0? The latest available version is 6.0.3. Or I'm missing something? Also, here's the same issue at the And on the firebase-ios-sdk I've moved to the case insensitive file system for the time being, but that is not a solution. |
@mnemanja that was a note for the maintainers who can handle a shorter short-hand for versions, sorry. 6.11.0 was a reference to the underlying google ios sdk pod versions, and actually they are on 6.13.0 now. react-native-firebase is currently at 6.0.4 |
Someone found a solution ? I got the same error... |
@anthlasserre including with firebase ios pods 6.13.0 ? |
Hello 👋, to help manage issues we automatically close stale issues.
|
Please remove the protobuf from the files(approx 20 30 times u have to remove this till the error gone) |
That does not seem like any kind of a solution - I think you just need to make sure the versions are all correct (iOS pods are on 6.14.0 I believe), and it should work. You might need to |
Hello all folks, last time I was in this problem my temporary solution was to go back and use previous version of RNFirebase 5.X.X, But now I was forced to go forward and use 6.X.X, which take me back here again.
|
Yeah, I'm going to close this one as there is nothing we can do (it is an upstream bug) but that workaround from protocolbuffers/protobuf#6803 does seem to be the ticket for now. I'll cross-link from there so you can just see status on the related issue at a glance here |
The upstream bug was just closed. I imagine a protobuf release after "Protocol Buffers v3.11.3" (which does not contain the fix - it was the prior release) will have it |
is there such a release? we're still running into this. |
v3.12.1 is shown as a tag in the related commit protocolbuffers/protobuf@56c48ae and shows up on cocoapods https://github.com/CocoaPods/Specs/blob/master/Specs/e/c/d/Protobuf/3.12.0/Protobuf.podspec.json - this is visible @petergaultney if you follow through associated links but it takes a while to know where to look - hope this helps now + future :-) |
Issue
Describe your issue here
This problem came up after upgrading to react-native 0.61.2 and RNFirebase modules. I have to say I wanted to use the new npm package version which uses
@react-native-firebase/*
but I changed again to the currentreact-native-firebase
since the new packages are not completed yet.Everything seems to be compiling fine until i get the next error
I'm not sure if I'm missing something or something is broken under Pods.
Project Files
iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:5.5.6
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
Think
react-native-firebase
is great? Please consider supporting all of the project maintainers and contributors by donating via our Open Collective where all contributors can submit expenses. [Learn More]React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: