-
Notifications
You must be signed in to change notification settings - Fork 0
/
p2.OAuth2.podspec
39 lines (33 loc) · 1.7 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
#
# p2.OAuth2
#
# Versions reflect the Swift version they support.
# Enjoy!
#
Pod::Spec.new do |s|
s.name = "p2.OAuth2"
s.version = "4.0.1"
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}", :submodules => true }
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.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