forked from google/GTMAppAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GTMAppAuth.podspec
48 lines (36 loc) · 1.75 KB
/
GTMAppAuth.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
Pod::Spec.new do |s|
s.name = "GTMAppAuth"
s.version = "1.0.0"
s.summary = "Authorize GTM Session Fetcher requests with AppAuth via GTMAppAuth"
s.description = <<-DESC
GTMAppAuth enables you to use AppAuth with the Google Toolbox for Mac - Session
Fetcher and Google APIs Client Library for Objective-C For REST libraries by
providing an implementation of GTMFetcherAuthorizationProtocol for authorizing
requests with AppAuth.
DESC
# Note: While tvOS is specified here, only iOS and macOS have support for
# obtaining authorization from the user. You can use the classes of
# GTMAppAuth with tokens obtained out of band to authorize requests
# on tvOS.
s.platforms = { :ios => "7.0", :osx => "10.11", :tvos => "9.0" }
s.homepage = "https://github.com/google/GTMAppAuth"
s.license = "Apache License, Version 2.0"
s.authors = { "William Denniss" => "[email protected]",
"Zsika Phillip" => "[email protected]",
}
s.source = { :git => "https://github.com/google/GTMAppAuth.git", :tag => s.version }
s.source_files = "Source/*.{h,m}"
s.requires_arc = true
s.ios.source_files = "Source/GTMOAuth2KeychainCompatibility/*.{h,m}",
"Source/iOS/**/*.{h,m}"
s.ios.deployment_target = "7.0"
s.ios.framework = "SafariServices"
s.osx.source_files = "Source/GTMOAuth2KeychainCompatibility/*.{h,m}",
"Source/macOS/**/*.{h,m}"
s.osx.deployment_target = '10.11'
s.tvos.source_files = "Source/iOS/GTMKeychain_iOS.m"
s.tvos.deployment_target = '9.0'
s.frameworks = 'Security', 'SystemConfiguration'
s.dependency 'GTMSessionFetcher', '~> 1.1'
s.dependency 'AppAuth/Core', '~> 1.0'
end