forked from auth0/Auth0.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Auth0.podspec
76 lines (70 loc) · 2.6 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
68
69
70
71
72
73
74
75
76
version = `agvtool mvers -terse1`.strip
web_auth_files = [
'Auth0/_ObjectiveWebAuth.swift',
'Auth0/ControllerModalPresenter.swift',
'Auth0/OAuth2Grant.swift',
'Auth0/AuthTransaction.swift',
'Auth0/TransactionStore.swift',
'Auth0/WebAuth.swift',
'Auth0/WebAuthError.swift',
'Auth0/SafariWebAuth.swift',
'Auth0/AuthSession.swift',
'Auth0/SafariSession.swift',
'Auth0/SafariAuthenticationSession.swift',
'Auth0/SafariAuthenticationCallback.swift',
'Auth0/SilentSafariViewController.swift',
'Auth0/NativeAuth.swift',
'Auth0/AuthProvider.swift',
'Auth0/BioAuthentication.swift'
]
watchos_exclude_files = [
'Auth0/_ObjectiveWebAuth.swift',
'Auth0/ControllerModalPresenter.swift',
'Auth0/OAuth2Grant.swift',
'Auth0/AuthTransaction.swift',
'Auth0/TransactionStore.swift',
'Auth0/WebAuth.swift',
'Auth0/WebAuthError.swift',
'Auth0/SafariWebAuth.swift',
'Auth0/AuthSession.swift',
'Auth0/SafariSession.swift',
'Auth0/SafariAuthenticationSession.swift',
'Auth0/SafariAuthenticationCallback.swift',
'Auth0/SilentSafariViewController.swift',
'Auth0/NativeAuth.swift',
'Auth0/AuthProvider.swift',
'Auth0/BioAuthentication.swift',
'Auth0/CredentialsManagerError.swift',
'Auth0/CredentialsManager.swift'
]
Pod::Spec.new do |s|
s.name = 'Auth0'
s.version = version
s.summary = "Swift toolkit for Auth0 API"
s.description = <<-DESC
Auth0 API toolkit written in Swift for iOS, watchOS, tvOS & macOS apps
DESC
s.homepage = 'https://github.com/auth0/Auth0.swift'
s.license = 'MIT'
s.authors = { "Auth0" => "[email protected]" }, { "Hernan Zalazar" => "[email protected]" }, { "Martin Walsh" => "[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.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.11'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.requires_arc = true
s.ios.source_files = 'Auth0/*.{swift,h,m}'
s.ios.frameworks = 'UIKit', 'SafariServices', 'LocalAuthentication'
s.ios.weak_framework = 'AuthenticationServices'
s.ios.dependency 'SimpleKeychain'
s.osx.source_files = 'Auth0/*.swift'
s.osx.exclude_files = web_auth_files
s.osx.dependency 'SimpleKeychain'
s.watchos.source_files = 'Auth0/*.swift'
s.watchos.exclude_files = watchos_exclude_files
s.tvos.source_files = 'Auth0/*.swift'
s.tvos.exclude_files = web_auth_files
s.tvos.dependency 'SimpleKeychain'
s.swift_versions = ['4.0', '4.1', '4.2', '5.0']
end