Skip to content
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

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

Open
MacKaSL opened this issue Apr 28, 2020 · 0 comments
Open

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

MacKaSL opened this issue Apr 28, 2020 · 0 comments

Comments

@MacKaSL
Copy link

MacKaSL commented Apr 28, 2020

I followed steps here it solved the issue I had.
#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant