浏览代码

Add podspec

Andreas Amsenius 9 年前
父节点
当前提交
236c13fe39
共有 2 个文件被更改,包括 20 次插入0 次删除
  1. 7
    0
      README.md
  2. 13
    0
      react-native-fetch-blob.podspec

+ 7
- 0
README.md 查看文件

57
 rnpm link
57
 rnpm link
58
 ```
58
 ```
59
 
59
 
60
+Or if using CocoaPods, add the pod to your `Podfile`, for example:
61
+
62
+```
63
+pod 'react-native-fetch-blob,
64
+    :path => '../node_modules/react-native-fetch-blob
65
+```
66
+
60
 ### Manually link the package (Android)
67
 ### Manually link the package (Android)
61
 
68
 
62
 If rnpm link command failed to link the package automatically, you might try manually link the package.
69
 If rnpm link command failed to link the package automatically, you might try manually link the package.

+ 13
- 0
react-native-fetch-blob.podspec 查看文件

1
+Pod::Spec.new do |s|
2
+  s.name             = "react-native-fetch-blob"
3
+  s.version          = "0.9.3"
4
+  s.summary          = "A project committed to make file acess and data transfer easier, effiecient for React Native developers."
5
+  s.requires_arc = true
6
+  s.license      = 'MIT'
7
+  s.homepage     = 'n/a'
8
+  s.authors      = { "wkh237" => "xeiyan@gmail.com" }
9
+  s.source       = { :git => "https://github.com/wkh237/react-native-fetch-blob" }
10
+  s.source_files = 'src/ios/**/*.{h,m}'
11
+  s.platform     = :ios, "7.0"
12
+  s.dependency 'React/Core'
13
+end