forked from openid/AppAuth-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppAuth.podspec
50 lines (38 loc) · 1.89 KB
/
AppAuth.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
Pod::Spec.new do |s|
s.name = "AppAuth"
s.version = "0.7.0"
s.summary = "AppAuth for iOS and macOS is a client SDK for communicating with OAuth 2.0 and OpenID Connect providers."
s.description = <<-DESC
AppAuth for iOS and macOS is a client SDK for communicating with [OAuth 2.0]
(https://tools.ietf.org/html/rfc6749) and [OpenID Connect]
(http://openid.net/specs/openid-connect-core-1_0.html) providers. It strives to
directly map the requests and responses of those specifications, while following
the idiomatic style of the implementation language. In addition to mapping the
raw protocol flows, convenience methods are available to assist with common
tasks like performing an action with fresh tokens.
DESC
s.homepage = "https://openid.github.io/AppAuth-iOS"
s.license = "Apache License, Version 2.0"
s.authors = { "William Denniss" => "[email protected]",
"Steven E Wright" => "[email protected]",
}
# Note: While watchOS and tvOS are specified here, only iOS and macOS have
# UI implementations of the authorization service. You can use the
# classes of AppAuth with tokens on watchOS and tvOS, but currently the
# library won't help you obtain authorization grants on those platforms.
s.platforms = { :ios => "7.0", :osx => "10.8", :watchos => "2.0", :tvos => "9.0" }
s.source = { :git => "https://github.com/openid/AppAuth-iOS.git", :tag => s.version }
s.pod_target_xcconfig = {
# Treat warnings as errors.
'GCC_TREAT_WARNINGS_AS_ERRORS' => 'YES',
}
s.source_files = "Source/*.{h,m}"
s.requires_arc = true
# iOS
s.ios.source_files = "Source/iOS/**/*.{h,m}"
s.ios.deployment_target = "7.0"
s.ios.framework = "SafariServices"
# macOS
s.osx.source_files = "Source/macOS/**/*.{h,m}"
s.osx.deployment_target = '10.8'
end