forked from DaveWoodCom/XCGLogger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
XCGLogger.podspec
43 lines (34 loc) · 1.8 KB
/
XCGLogger.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
Pod::Spec.new do |spec|
spec.name = 'XCGLogger'
spec.version = '7.0.1'
spec.summary = 'A debug log module for use in Swift projects.'
spec.description = <<-DESC
Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
DESC
spec.homepage = 'https://github.com/DaveWoodCom/XCGLogger'
spec.license = { :type => 'MIT', :file => 'LICENSE.txt' }
spec.author = { 'Dave Wood' => '[email protected]' }
spec.social_media_url = 'http://twitter.com/DaveWoodX'
spec.platforms = { :ios => '8.0', :watchos => '2.0', :tvos => '9.0' }
spec.requires_arc = true
spec.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
spec.swift_version = '5.0'
spec.source = { :git => 'https://github.com/DaveWoodCom/XCGLogger.git', :tag => "#{spec.version}" }
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.10'
spec.watchos.deployment_target = '2.0'
spec.tvos.deployment_target = '9.0'
spec.default_subspecs = 'Core'
# Main XCGLogger Framework
spec.subspec 'Core' do |core|
core.dependency 'ObjcExceptionBridging'
core.source_files = 'Sources/XCGLogger/**/*.{swift}'
core.exclude_files = 'Sources/XCGLogger/**/Optional/*.{swift}'
core.resource = '.swift-version'
end
# An experimental subspec to include helpers for using the UserInfo dictionary with log messages, tagging logs with tags and/or developers
spec.subspec 'UserInfoHelpers' do |userinfohelpers|
userinfohelpers.dependency 'XCGLogger/Core'
userinfohelpers.source_files = 'Sources/XCGLogger/Misc/Optional/UserInfoHelpers.swift'
end
end