-
Notifications
You must be signed in to change notification settings - Fork 4
/
OktaLogger.podspec
58 lines (52 loc) · 2.14 KB
/
OktaLogger.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
Pod::Spec.new do |s|
s.name = "OktaLogger"
s.version = "1.3.19"
s.summary = "Logging proxy for standardized logging interface across products"
s.description = "Standard interface for all logging in Okta apps + SDK. Supports file, console, firebase logging destinations."
s.homepage = "https://github.com/okta/okta-logger-swift"
s.license = { :type => 'APACHE2', :file => 'LICENSE' }
s.author = { "Okta Developers" => "developer@okta.com" }
s.source = { :git => "https://github.com/okta/okta-logger-swift.git", :tag => "OktaLogger-"+s.version.to_s }
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.14'
s.watchos.deployment_target = '6.0'
s.swift_version = '5.0'
s.default_subspec = "Complete"
# Subspec
s.subspec "Complete" do |complete|
complete.dependency 'OktaLogger/FileLogger'
complete.dependency 'OktaLogger/FirebaseCrashlytics'
complete.dependency 'OktaLogger/InstabugLogger'
end
s.subspec 'FileLogger' do |fileLogger|
fileLogger.source_files = [
'Sources/OktaLogger/FileLoggers/*.{h,m,swift}'
]
fileLogger.dependency 'CocoaLumberjack/Swift', '~>3'
fileLogger.dependency 'OktaLogger/Core'
end
s.subspec 'FirebaseCrashlytics' do |crashlytics|
crashlytics.source_files = [
'Sources/OktaLogger/FirebaseCrashlyticsLogger/OktaLoggerFirebaseCrashlyticsLogger.swift'
]
crashlytics.dependency 'Firebase/Crashlytics', '~> 9'
crashlytics.dependency 'OktaLogger/Core'
end
s.subspec 'InstabugLogger' do |instabugLogger|
instabugLogger.ios.source_files = [
'Sources/OktaLogger/InstabugLogger/*'
]
instabugLogger.ios.dependency 'Instabug', '~> 13'
instabugLogger.dependency 'OktaLogger/Core'
end
s.subspec "Core" do |core|
core.source_files = 'Sources/OktaLogger/LoggerCore/*.{h,m,swift}'
core.exclude_files = [
'Sources/OktaAnalytics',
'Sources/OktaLogger/FileLoggers',
'Sources/OktaLogger/FirebaseCrashlyticsLogger',
'Sources/OktaLogger/Info.plist',
'Sources/OktaLogger/InstabugLogger'
]
end
end