forked from transistorsoft/react-native-background-fetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNBackgroundFetch.podspec
25 lines (21 loc) · 1.01 KB
/
RNBackgroundFetch.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.cocoapods_version = '>= 1.10.0'
s.name = 'RNBackgroundFetch'
s.version = package['version']
s.summary = package['description']
s.description = <<-DESC
iOS BackgroundFetch API Implementation
DESC
s.homepage = package['homepage']
s.license = package['license']
s.author = package['author']
s.source = { :git => 'https://github.com/transistorsoft/react-native-background-fetch.git', :tag => s.version }
s.requires_arc = true
s.platform = :ios, '8.0'
s.dependency 'React-Core'
s.preserve_paths = 'docs', 'CHANGELOG.md', 'LICENSE', 'package.json', 'RNBackgroundFetch.ios.js'
s.source_files = 'ios/RNBackgroundFetch/RNBackgroundFetch.h', 'ios/RNBackgroundFetch/RNBackgroundFetch.m'
s.vendored_frameworks = 'ios/RNBackgroundFetch/TSBackgroundFetch.xcframework'
end