firebase / firebase/geofire-objc
'FirebaseDatabase/FirebaseDatabase.h' file not found in v4.0.1
- Dominant language
- Objective-C
- Stars
- 447
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Description
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
```
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
```

Contributor guide
Assessment
This issue has not been assessed yet.