forked from react-native-maps/react-native-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-native-google-maps.podspec
28 lines (24 loc) · 1.11 KB
/
react-native-google-maps.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "react-native-google-maps"
s.version = package['version']
s.summary = package["description"]
s.authors = package["author"]
s.homepage = package["homepage"]
s.license = package["license"]
s.platform = :ios, "15.0"
s.source = { :git => "https://github.com/pankajsoftyoi/react-native-maps.git" }
# s.source = { :git => "https://github.com/pankajsoftyoi/react-native-maps.git", :tag=> "v#{s.version}" }
s.source_files = "ios/AirGoogleMaps/**/*.{h,m}"
s.resource_bundles = {
'GoogleMapsPrivacy' => ['ios/AirGoogleMaps/Resources/GoogleMapsPrivacy.bundle']
}
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1'
s.pod_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_CONFIGURATION_BUILD_DIR}/react-native-maps"' }
s.dependency 'React-Core'
s.dependency 'GoogleMaps', '8.4.0'
s.dependency 'Google-Maps-iOS-Utils', '5.0.0'
# s.dependency 'GoogleMaps', '7.4.0'
# s.dependency 'Google-Maps-iOS-Utils', '4.2.2'
end