firebase / firebase/geofire-objc

'FirebaseDatabase/FirebaseDatabase.h' file not found in v4.0.1

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
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
```

Screen Shot 2020-04-28 at 7 54 42 AM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.