diff --git a/README.md b/README.md index 77f7cbb0c..9b94da34a 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,13 @@ Link package using [rnpm](https://github.com/rnpm/rnpm) rnpm link ``` +Or if using CocoaPods, add the pod to your `Podfile`, for example: + +``` +pod 'react-native-fetch-blob, + :path => '../node_modules/react-native-fetch-blob +``` + ### Manually link the package (Android) If rnpm link command failed to link the package automatically, you might try manually link the package. diff --git a/src/react-native-fetch-blob.podspec b/src/react-native-fetch-blob.podspec new file mode 100644 index 000000000..ce554f580 --- /dev/null +++ b/src/react-native-fetch-blob.podspec @@ -0,0 +1,13 @@ +Pod::Spec.new do |s| + s.name = "react-native-fetch-blob" + s.version = "0.9.3" + s.summary = "A project committed to make file acess and data transfer easier, effiecient for React Native developers." + s.requires_arc = true + s.license = 'MIT' + s.homepage = 'n/a' + s.authors = { "wkh237" => "xeiyan@gmail.com" } + s.source = { :git => "https://github.com/wkh237/react-native-fetch-blob" } + s.source_files = 'ios/**/*.{h,m}' + s.platform = :ios, "7.0" + s.dependency 'React/Core' +end