forked from clinical-cloud/OAuth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
p2.OAuth2.podspec
55 lines (48 loc) · 1.81 KB
/
p2.OAuth2.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
51
52
53
54
55
#
# p2.OAuth2
#
# Versions reflect the Swift version they support.
# Enjoy!
#
Pod::Spec.new do |s|
s.name = 'p2.OAuth2'
s.version = '5.3.2'
s.summary = 'OAuth2 framework for macOS, iOS and tvOS, written in Swift.'
s.description = <<-DESC
OAuth2 frameworks for macOS, iOS and tvOS written in Swift.
A flexible framework supporting standards-compliant _implicit_ and _code_ grant flows. Some
websites like Facebook may use slightly differring OAuth2 implementations, for those the
framework aims to provide specific subclasses handling these differences.
Start with `import p2_OAuth2` in your source files. Code documentation is available from within
Xcode (ALT + click on symbols) and on [p2.github.io/OAuth2/](http://p2.github.io/OAuth2/).
DESC
s.homepage = 'https://github.com/p2/OAuth2'
s.documentation_url = 'http://p2.github.io/OAuth2/'
s.license = 'Apache 2'
s.author = {
'Pascal Pfiffner' => '[email protected]'
}
s.source = {
:git => 'https://github.com/p2/OAuth2.git',
:tag => s.version.to_s,
:submodules => true
}
s.swift_version = '5.0'
s.cocoapods_version = '>= 1.4.0'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DNO_MODULE_IMPORT -DNO_KEYCHAIN_IMPORT'
}
s.source_files = [
'SwiftKeychain/Keychain/*.swift',
'Sources/Base/*.swift',
'Sources/Flows/*.swift',
'Sources/DataLoader/*.swift'
]
s.ios.source_files = 'Sources/iOS/*.swift'
s.osx.source_files = 'Sources/macOS/*.swift'
s.tvos.source_files = 'Sources/tvOS/*.swift'
s.ios.framework = 'SafariServices'
end