CocoaLumberjack.podspec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Pod::Spec.new do |s|
  2. s.name = 'CocoaLumberjack'
  3. s.version = '3.5.2'
  4. s.license = 'BSD'
  5. s.summary = 'A fast & simple, yet powerful & flexible logging framework for Mac and iOS.'
  6. s.homepage = 'https://github.com/CocoaLumberjack/CocoaLumberjack'
  7. s.author = { 'Robbie Hanson' => 'robbiehanson@deusty.com' }
  8. s.source = { :git => 'https://github.com/CocoaLumberjack/CocoaLumberjack.git',
  9. :tag => "#{s.version}" }
  10. s.description = 'It is similar in concept to other popular logging frameworks such as log4j, ' \
  11. 'yet is designed specifically for objective-c, and takes advantage of features ' \
  12. 'such as multi-threading, grand central dispatch (if available), lockless ' \
  13. 'atomic operations, and the dynamic nature of the objective-c runtime.'
  14. s.requires_arc = true
  15. s.preserve_paths = 'README.md'
  16. s.ios.deployment_target = '8.0'
  17. s.osx.deployment_target = '10.10'
  18. s.watchos.deployment_target = '3.0'
  19. s.tvos.deployment_target = '9.0'
  20. s.swift_version = '4.2'
  21. s.default_subspecs = 'Core'
  22. s.subspec 'Core' do |ss|
  23. ss.source_files = 'Classes/CocoaLumberjack.h', 'Classes/DD*.{h,m}', 'Classes/Extensions/*.{h,m}', 'Classes/CLI/*.{h,m}'
  24. ss.private_header_files = 'Classes/DD*Internal.{h}'
  25. end
  26. s.subspec 'Swift' do |ss|
  27. ss.dependency 'CocoaLumberjack/Core'
  28. ss.source_files = 'Classes/CocoaLumberjack.swift', 'Classes/DDAssert.swift', 'Classes/SwiftLogLevel.h'
  29. end
  30. end