Skip to content

Commit

Permalink
fix(ios): add header paths required for use_frameworks compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy authored Sep 17, 2022
1 parent 2c2fef7 commit e98be83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-native-google-maps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/react-native-maps/react-native-maps.git", :tag=> "v#{s.version}" }
s.source_files = "ios/AirGoogleMaps/**/*.{h,m}"
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1', '-fno-modules'
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "$(inherited) '$(PODS_ROOT)/Google-Maps-iOS-Utils/src/Heatmap' '$(PODS_ROOT)/Headers/Public/'" }

s.dependency 'React-Core'
s.dependency 'GoogleMaps', '7.0.0'
Expand Down

1 comment on commit e98be83

@VictorioMolina
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx!

Please sign in to comment.