소스 검색

Add podspec

Andreas Amsenius 8 년 전
부모
커밋
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