-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathOktaClient.podspec
More file actions
85 lines (70 loc) · 3.26 KB
/
OktaClient.podspec
File metadata and controls
85 lines (70 loc) · 3.26 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Pod::Spec.new do |s|
s.name = "OktaClient"
s.version = "2.1.4"
s.summary = "Secure client authentication, request authorization, and user management capabilities for Swift."
s.description = <<-DESC
Provides a modularized set of libraries that provide the building blocks and convenience features used to authenticate users, manage the lifecycle and storage of tokens and user credentials, and provide a base for other libraries and applications to build upon.
NOTE: This Swift-based pod requires `use_frameworks!` in your Podfile.
DESC
s.homepage = "https://github.com/okta/okta-mobile-swift"
s.license = { :type => "Apache-2.0", :file => "LICENSE" }
s.author = { "Okta Developers" => "[email protected]" }
s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => "#{s.version}" }
s.ios.deployment_target = '13.0'
s.tvos.deployment_target = '16.0'
s.watchos.deployment_target = '7.0'
s.osx.deployment_target = '10.15'
s.visionos.deployment_target = '1.0'
s.swift_versions = ['5.10', '6.0']
s.source_files = []
s.module_map = "Sources/CocoaPods/OktaClient.modulemap"
common_swift_flags = [
'-Xfrontend', '-enable-upcoming-feature',
'-Xfrontend', 'ExistentialAny',
'-strict-concurrency=complete'
]
s.subspec 'AuthFoundation' do |ss|
ss.ios.deployment_target = '13.0'
ss.tvos.deployment_target = '16.0'
ss.watchos.deployment_target = '7.0'
ss.osx.deployment_target = '10.15'
ss.visionos.deployment_target = '1.0'
ss.dependency 'OktaAuthFoundation', "~> #{s.version.to_s}"
end
s.subspec 'OAuth2' do |ss|
ss.ios.deployment_target = '13.0'
ss.tvos.deployment_target = '16.0'
ss.watchos.deployment_target = '7.0'
ss.visionos.deployment_target = '1.0'
ss.osx.deployment_target = '10.15'
ss.dependency 'OktaClient/AuthFoundation'
ss.dependency 'OktaOAuth2', "~> #{s.version.to_s}"
end
s.subspec 'DirectAuth' do |ss|
ss.ios.deployment_target = '13.0'
ss.tvos.deployment_target = '16.0'
ss.watchos.deployment_target = '7.0'
ss.visionos.deployment_target = '1.0'
ss.osx.deployment_target = '10.15'
ss.dependency 'OktaClient/AuthFoundation'
ss.dependency 'OktaDirectAuth', "~> #{s.version.to_s}"
end
s.subspec 'IdxAuth' do |ss|
ss.ios.deployment_target = '13.0'
ss.tvos.deployment_target = '16.0'
ss.watchos.deployment_target = '7.0'
ss.visionos.deployment_target = '1.0'
ss.osx.deployment_target = '10.15'
ss.dependency 'OktaClient/AuthFoundation'
ss.dependency 'OktaIdxAuth', "~> #{s.version.to_s}"
end
s.subspec 'BrowserSignin' do |ss|
ss.ios.deployment_target = '13.0'
ss.tvos.deployment_target = '16.0'
ss.watchos.deployment_target = '7.0'
ss.visionos.deployment_target = '1.0'
ss.osx.deployment_target = '10.15'
ss.dependency 'OktaClient/OAuth2'
ss.dependency 'OktaBrowserSignin', "~> #{s.version.to_s}"
end
end