Bring back pod dependency React

I will see after https://github.com/facebook/react-native/pull/15460
being released
This commit is contained in:
Mathieu Acthernoene 2017-09-08 21:29:22 +02:00
parent 5b1a37aefc
commit 31f54d1a95
1 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
require 'json'
version = JSON.parse(File.read('package.json'))["version"]
require "json"
version = JSON.parse(File.read("package.json"))["version"]
Pod::Spec.new do |s|
s.name = "RNI18n"
@ -9,9 +9,11 @@ Pod::Spec.new do |s|
s.summary = "React Native + i18n.js"
s.license = "MIT"
s.author = { "Alexander Zaytsev" => "alexander@say26.com" }
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.ios.deployment_target = "7.0"
s.tvos.deployment_target = "9.0"
s.source = { git: "https://github.com/AlexanderZaytsev/react-native-i18n.git", tag: s.version.to_s }
s.source_files = "ios/**/*.{h,m}"
s.requires_arc = true
s.dependency "React"
end