-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOktaLogger.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.20"
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" => "[email protected]" }
s.source = { :git => "https://github.com/okta/okta-logger-swift.git", :tag => "OktaLogger-"+s.version.to_s }
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.15'
s.watchos.deployment_target = '7.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', '~> 11'
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