forked from alexander-joinlane/Auth0.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Auth0.podspec
62 lines (55 loc) · 2.18 KB
/
Auth0.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
56
57
58
59
60
61
62
web_auth_files = [
'Auth0/Array+Encode.swift',
'Auth0/ASProvider.swift',
'Auth0/AuthTransaction.swift',
'Auth0/Auth0WebAuth.swift',
'Auth0/BioAuthentication.swift',
'Auth0/ChallengeGenerator.swift',
'Auth0/ClaimValidators.swift',
'Auth0/ClearSessionTransaction.swift',
'Auth0/IDTokenSignatureValidator.swift',
'Auth0/IDTokenValidator.swift',
'Auth0/IDTokenValidatorContext.swift',
'Auth0/JWK+RSA.swift',
'Auth0/JWT+Header.swift',
'Auth0/JWTAlgorithm.swift',
'Auth0/LoginTransaction.swift',
'Auth0/NSURLComponents+OAuth2.swift',
'Auth0/OAuth2Grant.swift',
'Auth0/SafariProvider.swift',
'Auth0/TransactionStore.swift',
'Auth0/WebAuth.swift',
'Auth0/WebAuthentication.swift',
'Auth0/WebAuthError.swift',
'Auth0/WebAuthUserAgent.swift'
]
ios_files = ['Auth0/MobileWebAuth.swift']
macos_files = ['Auth0/DesktopWebAuth.swift']
excluded_files = [*web_auth_files, *ios_files, *macos_files]
Pod::Spec.new do |s|
s.name = 'Auth0'
s.version = '2.6.0'
s.summary = "Auth0 SDK for Apple platforms"
s.description = <<-DESC
Auth0 SDK for iOS, macOS, tvOS, and watchOS apps.
DESC
s.homepage = 'https://github.com/auth0/Auth0.swift'
s.license = 'MIT'
s.authors = { 'Auth0' => 'support@auth0.com', 'Rita Zerrizuela' => 'rita.zerrizuela@auth0.com' }
s.source = { :git => 'https://github.com/auth0/Auth0.swift.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/auth0'
s.source_files = 'Auth0/*.swift'
s.swift_versions = ['5.7', '5.8']
s.dependency 'SimpleKeychain', '~> 1.1'
s.dependency 'JWTDecode', '~> 3.1'
s.ios.deployment_target = '13.0'
s.ios.exclude_files = macos_files
s.ios.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'WEB_AUTH_PLATFORM' }
s.osx.deployment_target = '11.0'
s.osx.exclude_files = ios_files
s.osx.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'WEB_AUTH_PLATFORM' }
s.tvos.deployment_target = '13.0'
s.tvos.exclude_files = excluded_files
s.watchos.deployment_target = '7.0'
s.watchos.exclude_files = excluded_files
end