-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathLoggerWrapper.podspec
More file actions
54 lines (43 loc) · 1.94 KB
/
LoggerWrapper.podspec
File metadata and controls
54 lines (43 loc) · 1.94 KB
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
Pod::Spec.new do |s|
s.name = 'LoggerWrapper'
s.version = '0.5.2'
s.summary = 'A very simple library that aims to provide a simple wrapper around the various logging library that exists for iOS.'
s.description = <<-DESC
A very simple library that aims to provide a simple wrapper around the various logging library that exists for iOS.
Currently supports CocoaLumberjack, and can optionally integrate with PluggableApplicationDelegate.
Ideally, this library allows library creators to allow to use logging, without relying on the classic NSLog/print which
can't be disabled easily.
DESC
s.homepage = 'https://github.com/stephanecopin/LoggerWrapper'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'stephanecopin' => 'stephane.copin@live.fr' }
s.source = { :git => 'https://github.com/stephanecopin/LoggerWrapper.git', :tag => s.version.to_s }
s.social_media_url = 'https://fueled.com/stephane'
s.ios.deployment_target = '10.0'
s.macos.deployment_target = '10.12'
s.swift_version = '5.2'
s.default_subspec = 'ObjC'
s.subspec 'ObjC' do |cs|
cs.source_files = 'LoggerWrapper/Classes/*.{h,m}'
end
s.subspec 'Swift' do |cs|
cs.dependency 'LoggerWrapper/ObjC'
cs.source_files = 'LoggerWrapper/Classes/*.{swift}'
end
s.subspec 'CocoaLumberjack' do |cs|
cs.subspec 'Core' do |css|
css.dependency 'LoggerWrapper/ObjC'
css.dependency 'CocoaLumberjack'
css.source_files = 'LoggerWrapper/Classes/CocoaLumberjack/*.{h,m,swift}'
end
cs.subspec 'Swift' do |css|
css.dependency 'LoggerWrapper/Swift'
css.dependency 'CocoaLumberjack/Swift'
css.source_files = 'LoggerWrapper/Classes/CocoaLumberjack/*.{h,m,swift}'
end
cs.subspec 'ApplicationDelegate' do |css|
css.dependency 'LoggerWrapper/CocoaLumberjack/Swift'
css.source_files = 'LoggerWrapper/Classes/CocoaLumberjack/ApplicationDelegate/**/*'
end
end
end