Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@DaveWoodCom @kylebrowning @ymyzk
44 lines (34 sloc) 1.8 KB
Pod::Spec.new do |spec|
spec.name = 'XCGLogger'
spec.version = '7.0.0'
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' => 'cocoapods@cerebralgardens.com' }
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
You can’t perform that action at this time.