-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathRNYamap.podspec
More file actions
25 lines (21 loc) · 902 Bytes
/
RNYamap.podspec
File metadata and controls
25 lines (21 loc) · 902 Bytes
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
require "json"
Pod::Spec.new do |s|
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
s.name = "RNYamap"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = "MIT"
s.author = { package["author"]["name"] => package["author"]["email"] }
s.platform = :ios, "13.0"
s.source = { :git => "https://github.com/author/RNYamap.git", :tag => "master" }
s.source_files = "ios/**/*.{h,m,mm,cpp}"
s.static_framework = true
if ENV['USE_YANDEX_MAPS_LITE'] == '1' then
s.dependency "YandexMapsMobile", "4.33.1-lite"
else
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) USE_YANDEX_MAPS_FULL=1' }
s.dependency "YandexMapsMobile", "4.33.1-full"
end
install_modules_dependencies(s)
end