forked from auth0/Auth0.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Auth0.podspec
67 lines (59 loc) · 2.44 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
63
64
65
66
67
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.9.0-beta.0'
s.summary = "Auth0 SDK for Apple platforms"
s.description = <<-DESC
Auth0 SDK for iOS, macOS, tvOS, watchOS and visionOS apps.
DESC
s.homepage = 'https://github.com/auth0/Auth0.swift'
s.license = 'MIT'
s.authors = { 'Auth0' => '[email protected]', 'Rita Zerrizuela' => '[email protected]' }
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.resource_bundles = { s.name => 'Auth0/PrivacyInfo.xcprivacy' }
s.swift_versions = ['5.9']
s.dependency 'SimpleKeychain', '1.2.0-beta.0'
s.dependency 'JWTDecode', '3.2.0-beta.0'
s.ios.deployment_target = '14.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 = '14.0'
s.tvos.exclude_files = excluded_files
s.watchos.deployment_target = '7.0'
s.watchos.exclude_files = excluded_files
s.visionos.deployment_target = '1.0'
s.visionos.exclude_files = macos_files
s.visionos.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'WEB_AUTH_PLATFORM' }
end