forked from henninghall/react-native-date-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native-date-picker.podspec
More file actions
26 lines (18 loc) · 889 Bytes
/
react-native-date-picker.podspec
File metadata and controls
26 lines (18 loc) · 889 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
26
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
Pod::Spec.new do |s|
s.name = "react-native-date-picker"
s.version = package['version']
s.summary = "React Native Date Picker component for Android and iOS"
s.authors = { "henninghall" => "henning.hall@hotmail.com" }
s.homepage = "https://github.com/henninghall/react-native-date-picker"
s.license = package['license']
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/henninghall/react-native-date-picker.git", :tag => "v#{s.version.to_s}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.dependency 'React-Core'
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
install_modules_dependencies(s)
end
end