-
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathRNLocalize.podspec
More file actions
25 lines (19 loc) · 700 Bytes
/
RNLocalize.podspec
File metadata and controls
25 lines (19 loc) · 700 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"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNLocalize"
s.version = package["version"]
s.license = package["license"]
s.summary = package["description"]
s.author = package["author"]
s.homepage = package["homepage"]
s.platforms = { :ios => "12.4", :tvos => "12.4", :osx => "10.15", :visionos => "1.0" }
s.requires_arc = true
s.source = { :git => package["repository"]["url"], :tag => s.version }
s.source_files = "ios/**/*.{h,m,mm}"
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
end