Search code examples
xcodeswiftfirebasegeofire

"Expected a type" errors using GeoFire with Firebase 3.2.1


I'm getting some errors after updating from Firebase 2.5.1. It seems to me that GeoFire has lost some critical components, and being a beginner I am immediately lost. Has anyone seen this issue yet?

Below is a screenshot of my list of errors. enter image description here

To add a little more info, here are the lines where the errors are occurring in GFQuery.h:

- (FirebaseHandle)observeEventType:(GFEventType)eventType withBlock:(GFQueryResultBlock)block;

- (FirebaseHandle)observeReadyWithBlock:(GFReadyBlock)block;

- (void)removeObserverWithFirebaseHandle:(FirebaseHandle)handle;

Solution

  • The current geofire version is not compatible with Firebase 3 the team is currently working in a compatible version

    You can follow the issue here

    https://github.com/firebase/geofire-objc/issues/37