forked from google/gtm-session-fetcher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
GTMSessionFetcher.podspec
50 lines (44 loc) · 1.69 KB
/
GTMSessionFetcher.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This file specifies the Pod setup for GTMSessionFetcher. It enables developers
# to import GTMSessionFetcher via the CocoaPods dependency Manager.
Pod::Spec.new do |s|
s.name = 'GTMSessionFetcher'
s.version = '1.1.10'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.homepage = 'https://github.com/google/gtm-session-fetcher'
s.source = { :git => 'https://github.com/google/gtm-session-fetcher.git',
:tag => "v#{s.version}" }
s.summary = 'Google Toolbox for Mac - Session Fetcher'
s.description = <<-DESC
GTMSessionFetcher makes it easy for Cocoa applications
to perform http operations. The fetcher is implemented
as a wrapper on NSURLSession, so its behavior is asynchronous
and uses operating-system settings on iOS and Mac OS X.
DESC
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.8'
s.tvos.deployment_target = '9.0'
s.default_subspec = 'Full'
s.subspec 'Core' do |sp|
sp.source_files =
'Source/GTMSessionFetcher.{h,m}',
'Source/GTMSessionFetcherLogging.{h,m}',
'Source/GTMSessionFetcherService.{h,m}',
'Source/GTMSessionUploadFetcher.{h,m}'
sp.framework = 'Security'
end
s.subspec 'Full' do |sp|
sp.source_files =
'Source/GTMGatherInputStream.{h,m}',
'Source/GTMMIMEDocument.{h,m}',
'Source/GTMReadMonitorInputStream.{h,m}'
sp.dependency 'GTMSessionFetcher/Core', "#{s.version}"
end
s.subspec 'LogView' do |sp|
# Only relevant for iOS
sp.platform = :ios
sp.source_files =
'Source/GTMSessionFetcherLogViewController.{h,m}'
sp.dependency 'GTMSessionFetcher/Core', "#{s.version}"
end
end