-
Notifications
You must be signed in to change notification settings - Fork 477
/
XCGLogger.podspec
48 lines (39 loc) · 1.98 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
44
45
46
47
48
Pod::Spec.new do |spec|
spec.name = 'XCGLogger'
spec.version = '7.1.5'
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 = 'https://mastodon.social/@davewoodx'
spec.platforms = { :ios => '12.0', :watchos => '4.0', :tvos => '12.0', :osx => '10.13' }
spec.requires_arc = true
spec.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
spec.swift_version = '5.0'
spec.cocoapods_version = '>= 1.13.0'
spec.source = { :git => 'https://github.com/DaveWoodCom/XCGLogger.git', :tag => "#{spec.version}" }
spec.ios.deployment_target = '12.0'
spec.osx.deployment_target = '10.13'
spec.watchos.deployment_target = '4.0'
spec.tvos.deployment_target = '12.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_bundles = {
"#{spec.name}" => [
'Sources/XCGLogger/PrivacyInfo.xcprivacy',
]
}
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