-
-
Notifications
You must be signed in to change notification settings - Fork 846
Expand file tree
/
Copy pathRNPermissions.podspec
More file actions
28 lines (21 loc) · 815 Bytes
/
RNPermissions.podspec
File metadata and controls
28 lines (21 loc) · 815 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
27
28
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNPermissions"
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" }
s.requires_arc = true
s.source = { :git => package["repository"]["url"], :tag => s.version }
s.resource_bundles = { 'RNPermissionsPrivacyInfo' => 'ios/PrivacyInfo.xcprivacy' }
s.source_files = "ios/*.{h,mm}"
# s.frameworks = <frameworks>
if ENV['RCT_NEW_ARCH_ENABLED'] == "1" then
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
end