-
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
cloud_firestore on ios: implicit declaration of function 'grpc_empty_slice' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
#1855
Comments
@chinmaygarde commented on Apr 15, 2018, 3:15 AM UTC: I looks like this plugin is compiling its native files with warnings treated as errors. @collinjackson Do we control the build rules for plugin code? I am not too familiar with CocoaPods. |
@fuzzybinary commented on Apr 23, 2018, 7:26 PM UTC: I believe this probably broke when gRPC updated (sometime between 1.9.1 and 1.11.0). By downgrading FirebaseFirestore manually (and all of its associated dependencies) to 0.10.1 I was able to build properly. The plugin at https://github.com/flutter/plugins/tree/master/packages/cloud_firestore/ios should probably specify a version instead of taking the latest. Also, can we get that error log posted to Gist? That's a long way to scroll.... |
@collinjackson commented on Apr 23, 2018, 7:30 PM UTC: I agree, we should specify a version instead of taking the latest. |
@pinkfish commented on May 9, 2018, 9:52 PM UTC: I am getting this error too. I upgrade everything to work with cocapods 1.5 and everything works except the performance package... |
@pinkfish commented on May 16, 2018, 8:44 AM UTC: Still getting this error :( Is there a way to fix this? Building flutter for ios seems to be an endless source of issues :( |
@fuzzybinary commented on May 16, 2018, 1:36 PM UTC: @pinkfish I occasionally get this error and can usually fix it by deleting ios/Pods as well as the Podfile.lock, running pod install manually, then opening the .xcworkspace and clean building. When it happens again (which is rarely unfotunately) I'll see if I can track down what settings change causes this to happen. |
@pinkfish commented on May 16, 2018, 7:07 PM UTC: I just deleted all my pod files. the
Which is kind of weird, since the fact grpc_slice exists as a struct means it should also have included the file that defines the grpc_slice_unref from what I can see, it seems to be including the wrong slice.h file in there somewhere... Not sure how to solve that... |
@pinkfish commented on May 16, 2018, 7:11 PM UTC: Ok, I fixed this by copying the contents of the include file into the .m files. Not great, but it does compile now at least... |
@pinkfish commented on Jun 5, 2018, 12:09 AM UTC: Still running into this issue. It varies between fixing and the not working at all again. Any solutions about it? |
@hemanthrajv commented on Jun 8, 2018, 11:07 AM UTC: Any way to get rid of this issue? |
@koyachi commented on Jun 16, 2018, 9:14 PM UTC: |
@zoechi commented on Dec 21, 2018, 10:02 AM UTC: Might be #20685 (comment) |
@vmwsree commented on Feb 23, 2019, 8:38 AM UTC: Can you update your fix with latest versions |
Hi @ykphuah are you still experiencing the issues |
Closing due to lack of interaction. Please create a new issue if this problem will occurs with the latest versions of Flutter & the plugin. |
@ykphuah commented on Apr 14, 2018, 8:11 AM UTC:
Steps to Reproduce
Trying to include cloud_firestore into my project, but running flutter run causes the following error:
Logs
Run your application with
flutter run
and attach all the log output.Run
flutter analyze
and attach any output of that command also.Flutter Doctor
Paste the output of running
flutter doctor -v
here.This issue was moved by jmagman from flutter/flutter#16585.
The text was updated successfully, but these errors were encountered: