瀏覽代碼

Remove React pod dependency

Mathieu Acthernoene 7 年之前
父節點
當前提交
9bc20b3b19
共有 1 個檔案被更改,包括 13 行新增15 行删除
  1. 13
    15
      ReactNativePermissions.podspec

+ 13
- 15
ReactNativePermissions.podspec 查看文件

@@ -3,21 +3,19 @@ require 'json'
3 3
 package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4 4
 
5 5
 Pod::Spec.new do |s|
6
-  s.name                = 'ReactNativePermissions'
7
-  s.version             = package['version']
8
-  s.summary             = package['description']
9
-  s.description         = package['description']
10
-  s.homepage            = package['homepage']
11
-  s.license             = package['license']
12
-  s.author              = package['author']
13
-  s.source              = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }
6
+  s.name                   = 'ReactNativePermissions'
7
+  s.version                = package['version']
8
+  s.summary                = package['description']
9
+  s.description            = package['description']
10
+  s.homepage               = package['homepage']
11
+  s.license                = package['license']
12
+  s.author                 = package['author']
13
+  s.source                 = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }
14 14
 
15
-  s.platform              = :ios, '9.0'
16
-  s.ios.deployment_target = '8.0'
15
+  s.platform               = :ios, '9.0'
16
+  s.ios.deployment_target  = '8.0'
17 17
 
18
-  s.dependency 'React'
19
-
20
-  s.preserve_paths      = 'LICENSE', 'package.json'
21
-  s.source_files        = '**/*.{h,m}'
22
-  s.exclude_files       = 'example/**/*'
18
+  s.preserve_paths         = 'LICENSE', 'package.json'
19
+  s.source_files           = '**/*.{h,m}'
20
+  s.exclude_files          = 'example/**/*'
23 21
 end