From 2a7065d9753b1e0fab50b52976619692d5fa78fd Mon Sep 17 00:00:00 2001 From: Marten Klitzke Date: Wed, 27 Jul 2016 15:08:07 +0200 Subject: [PATCH] chore(cocoapods): add .podspec file to get cocoapods support --- RNI18n.podspec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 RNI18n.podspec diff --git a/RNI18n.podspec b/RNI18n.podspec new file mode 100644 index 0000000..0f990b9 --- /dev/null +++ b/RNI18n.podspec @@ -0,0 +1,17 @@ +require 'json' +version = JSON.parse(File.read('package.json'))["version"] + +Pod::Spec.new do |s| + s.name = "RNI18n" + s.version = version + s.homepage = "https://github.com/AlexanderZaytsev/react-native-i18n" + s.summary = "React Native + i18n.js" + s.license = "MIT" + s.author = { "Alexander Zaytsev" => "alexander@say26.com" } + s.platform = :ios, "7.0" + s.source = { git: "https://github.com/AlexanderZaytsev/react-native-i18n.git", tag: s.version.to_s } + s.source_files = 'RNI18n/*.{h,m}' + s.preserve_paths = "**/*.js" + + s.dependency 'React' +end