1
1
Pod ::Spec . new do |s |
2
2
s . name = 'NSLogger'
3
- s . version = '1.8.0 '
3
+ s . version = '1.8.1 '
4
4
s . license = 'BSD'
5
5
s . summary = 'A modern, flexible logging tool.'
6
6
s . homepage = 'https://github.com/fpillet/NSLogger'
7
7
s . author = { 'Florent Pillet' => '[email protected] ' }
8
- s . source = { :git => 'https://github.com/fpillet/NSLogger.git' , :tag => 'v1.8.0 ' }
8
+ s . source = { :git => 'https://github.com/fpillet/NSLogger.git' , :tag => 'v1.8.1 ' }
9
9
s . screenshot = "https://github.com/fpillet/NSLogger/raw/master/Screenshots/mainwindow.png"
10
10
11
11
s . description = 'NSLogger is a high perfomance logging utility which displays traces emitted by ' \
@@ -18,8 +18,6 @@ Pod::Spec.new do |s|
18
18
s . osx . deployment_target = '10.10'
19
19
s . tvos . deployment_target = '9.0'
20
20
21
- s . ios . frameworks = 'CFNetwork' , 'SystemConfiguration'
22
- s . osx . frameworks = 'CFNetwork' , 'SystemConfiguration' , 'CoreServices'
23
21
s . requires_arc = false
24
22
25
23
s . default_subspec = 'Standard'
@@ -28,8 +26,8 @@ Pod::Spec.new do |s|
28
26
# from the final build
29
27
s . subspec 'Standard' do |standard |
30
28
standard . source_files = 'Client/iOS/*.{h,m,swift}'
31
- standard . ios . frameworks = 'UIKit'
32
- standard . osx . frameworks = 'AppKit'
29
+ standard . ios . frameworks = 'CFNetwork' , 'SystemConfiguration' , ' UIKit'
30
+ standard . osx . frameworks = 'CFNetwork' , 'SystemConfiguration' , 'CoreServices' , ' AppKit'
33
31
standard . xcconfig = {
34
32
'GCC_PREPROCESSOR_DEFINITIONS' => '${inherited} NSLOGGER_WAS_HERE=1 NSLOGGER_BUILD_USERNAME="${USER}"'
35
33
}
@@ -43,8 +41,8 @@ Pod::Spec.new do |s|
43
41
# NSLogger functions and use them if present.
44
42
s . subspec 'NoStrip' do |nostrip |
45
43
nostrip . source_files = 'Client/iOS/*.{h,m,swift}'
46
- nostrip . ios . frameworks = 'UIKit'
47
- nostrip . osx . frameworks = 'AppKit'
44
+ nostrip . ios . frameworks = 'CFNetwork' , 'SystemConfiguration' , ' UIKit'
45
+ nostrip . osx . frameworks = 'CFNetwork' , 'SystemConfiguration' , 'CoreServices' , ' AppKit'
48
46
nostrip . xcconfig = {
49
47
'GCC_PREPROCESSOR_DEFINITIONS' => '${inherited} NSLOGGER_WAS_HERE=1 NSLOGGER_BUILD_USERNAME="${USER}" NSLOGGER_ALLOW_NOSTRIP=1'
50
48
}
@@ -56,6 +54,8 @@ Pod::Spec.new do |s|
56
54
# The 'NoSwift' subspec is the legacy ObjC only version: no Swift code will be added to your project.
57
55
s . subspec 'NoSwift' do |noswift |
58
56
noswift . source_files = 'Client/iOS/*.{h,m}'
57
+ noswift . ios . frameworks = 'CFNetwork' , 'SystemConfiguration'
58
+ noswift . osx . frameworks = 'CFNetwork' , 'SystemConfiguration' , 'CoreServices'
59
59
noswift . xcconfig = {
60
60
'GCC_PREPROCESSOR_DEFINITIONS' => '${inherited} NSLOGGER_WAS_HERE=1 NSLOGGER_BUILD_USERNAME="${USER}"'
61
61
}
0 commit comments