fix: iOS CocoaPods

This commit is contained in:
jaybo
2018-10-31 15:03:13 +08:00
parent 81b575156e
commit d9c256f8bc
2 changed files with 18 additions and 24 deletions
-24
View File
@@ -1,24 +0,0 @@
Pod::Spec.new do |s|
s.name = "RNBackgroundDownload"
s.version = "1.0.0"
s.summary = "RNBackgroundDownload"
s.description = <<-DESC
RNBackgroundDownload
DESC
s.homepage = ""
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "author" => "author@domain.cn" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/author/RNBackgroundDownload.git", :tag => "master" }
s.source_files = "RNBackgroundDownload/**/*.{h,m}"
s.requires_arc = true
s.dependency "React"
#s.dependency "others"
end
@@ -0,0 +1,18 @@
Pod::Spec.new do |s|
s.name = 'react-native-background-downloader'
s.version = '1.0.0'
s.summary = 'React Native background downloader'
s.description = <<-DESC
A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.
DESC
s.author = 'elad@helleko.com'
s.homepage = 'https://github.com/EkoLabs/react-native-background-downloader'
s.license = 'MIT'
s.platform = :ios, '7.0'
s.source = { git: 'https://github.com/EkoLabs/react-native-background-downloader.git', tag: 'master' }
s.source_files = 'ios/**/*.{h,m}'
s.requires_arc = true
s.dependency 'React'
end