forked from pinpong/react-native-google-maps-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRNGoogleMapsPlus.podspec
More file actions
62 lines (50 loc) · 2.75 KB
/
RNGoogleMapsPlus.podspec
File metadata and controls
62 lines (50 loc) · 2.75 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNGoogleMapsPlus"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => 16.0 }
s.source = { :git => "https://github.com/pinpong/react-native-google-maps-plus.git", :tag => "#{s.version}" }
s.source_files = [
"ios/**/*.{swift}",
"ios/**/*.{h,m,mm}",
"cpp/**/*.{hpp,cpp}",
]
s.resource_bundles = {'RNGoogleMapsPlusPrivacy' => ['Resources/PrivacyInfo.xcprivacy']}
s.dependency 'React-jsi'
s.dependency 'React-callinvoker'
spm_dependency(s,
url: "https://github.com/googlemaps/ios-maps-sdk",
requirement: { :kind => "exactVersion", :version => "10.4.0" },
products: ["GoogleMaps"]
)
spm_dependency(s,
url: "https://github.com/googlemaps/google-maps-ios-utils",
requirement: { :kind => "exactVersion", :version => "6.1.3" },
products: ["GoogleMapsUtils"]
)
spm_dependency(s,
url: "https://github.com/SVGKit/SVGKit",
requirement: { :kind => "exactVersion", :version => "3.0.0" },
products: ["SVGKit"]
)
Pod::UI.puts "\n"
Pod::UI.puts " ╔═══════════════════════════════════════════════════════════════════════════╗".green
Pod::UI.puts " ║ ║".green
Pod::UI.puts " ║ react-native-google-maps-plus ║".green
Pod::UI.puts " ║ ║".green
Pod::UI.puts " ║ Static framework linking is fully supported! ║".green
Pod::UI.puts " ║ ║".green
Pod::UI.puts " ║ If you see a CocoaPods warning about SPM packages with static ║".green
Pod::UI.puts " ║ linking, you can safely ignore it - it's a generic warning. ║".green
Pod::UI.puts " ║ ║".green
Pod::UI.puts " ╚═══════════════════════════════════════════════════════════════════════════╝".green
Pod::UI.puts "\n"
load 'nitrogen/generated/ios/RNGoogleMapsPlus+autolinking.rb'
add_nitrogen_files(s)
install_modules_dependencies(s)
end