pod 'Firebase'
pod 'Firebase/Database'
pod 'GeoFire'
Now here is a new issue in GFQuery.m 'FirebaseDatabase/FirebaseDatabase.h' file not found
at the end of pod file I have this:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'GeoFire' then
target.build_configurations.each do |config|
config.build_settings['FRAMEWORK_SEARCH_PATHS'] = "#{config.build_settings['FRAMEWORK_SEARCH_PATHS']} ${PODS_ROOT}/FirebaseDatabase/Frameworks/ $PODS_CONFIGURATION_BUILD_DIR/GoogleToolboxForMac $PODS_CONFIGURATION_BUILD_DIR/nanopb $PODS_CONFIGURATION_BUILD_DIR/leveldb-library"
config.build_settings['OTHER_LDFLAGS'] = "#{config.build_settings['OTHER_LDFLAGS']} -framework FirebaseDatabase"
end
end
end
I followed steps here it solved the issue I had. https://github.com/firebase/geofire-objc/issues/89
I have installed v4.0.1 pod with
Now here is a new issue in GFQuery.m
'FirebaseDatabase/FirebaseDatabase.h' file not found
at the end of pod file I have this: