Browse Source

Merge pull request #107 from hoastoolshop/master

Add podspec
wkh237 8 years ago
parent
commit
2bf1ddd66a
2 changed files with 20 additions and 0 deletions
  1. 7
    0
      README.md
  2. 13
    0
      src/react-native-fetch-blob.podspec

+ 7
- 0
README.md View File

@@ -57,6 +57,13 @@ Link package using [rnpm](https://github.com/rnpm/rnpm)
57 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 67
 ### Manually link the package (Android)
61 68
 
62 69
 If rnpm link command failed to link the package automatically, you might try manually link the package.

+ 13
- 0
src/react-native-fetch-blob.podspec View File

@@ -0,0 +1,13 @@
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 = 'ios/**/*.{h,m}'
11
+  s.platform     = :ios, "7.0"
12
+  s.dependency 'React/Core'
13
+end