Skip to content

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

Description

@MacKaSL

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions