Blame view

ios/StoreKit.podspec 757 Bytes
6e98ffcef   Thanh Phạm   Initial commit ht...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  require 'json'
  package = JSON.parse(File.read('../package.json'))
  
  Pod::Spec.new do |s|
    s.name                      = "Permission-StoreKit"
    s.dependency                  "RNPermissions"
  
    s.version                   = package["version"]
    s.license                   = package["license"]
    s.summary                   = package["description"]
    s.authors                   = package["author"]
    s.homepage                  = package["homepage"]
  
    s.platform                  = :ios, "9.0"
    s.ios.deployment_target     = "9.0"
    s.tvos.deployment_target    = "11.0"
    s.requires_arc              = true
  
    s.source                    = { :git => package["repository"]["url"], :tag => s.version }
    s.source_files              = "StoreKit/*.{h,m}"
  end