A try to fix cocoapods installation
This commit is contained in:
parent
7346a5f4b0
commit
68d9ff1654
31
RNFS.podspec
31
RNFS.podspec
|
@ -1,21 +1,14 @@
|
|||
require 'json'
|
||||
pjson = JSON.parse(File.read('package.json'))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "RNFS"
|
||||
s.version = pjson["version"]
|
||||
s.homepage = "https://github.com/itinance/react-native-fs"
|
||||
s.summary = pjson["description"]
|
||||
s.license = pjson["license"]
|
||||
s.author = { "Johannes Lumpe" => "johannes@lum.pe" }
|
||||
|
||||
s.ios.deployment_target = '7.0'
|
||||
|
||||
s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" }
|
||||
s.source_files = '*.{h,m}'
|
||||
s.name = "react-native-fs"
|
||||
s.version = "2.9.3"
|
||||
s.summary = "Native filesystem access for react-native"
|
||||
s.requires_arc = true
|
||||
s.license = 'MIT'
|
||||
s.homepage = 'n/a'
|
||||
s.authors = { "Johannes Lumpe" => "johannes@lum.pe" }
|
||||
s.source = { :git => "git@github.com:itinance/react-native-fs.git" }
|
||||
s.source_files = '*.{h,m}'
|
||||
s.preserve_paths = "**/*.js"
|
||||
|
||||
s.dependency 'React'
|
||||
|
||||
end
|
||||
s.platform = :ios, "7.0"
|
||||
s.dependency 'React/Core'
|
||||
end
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-native-fs",
|
||||
"version": "2.9.2",
|
||||
"version": "2.9.3",
|
||||
"description": "Native filesystem access for react-native",
|
||||
"main": "FS.common.js",
|
||||
"scripts": {
|
||||
|
@ -30,8 +30,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"flow-bin": "0.28.0",
|
||||
"react": "^15.4.2",
|
||||
"react-native": "^0.40.0"
|
||||
"react": "^16.0.0",
|
||||
"react-native": "^0.45.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react-native": ">=0.40.0"
|
||||
|
|
Loading…
Reference in New Issue