CocoaLumberjack.podspec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Pod::Spec.new do |s|
  2. s.name = 'CocoaLumberjack'
  3. s.version = '3.6.1'
  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 = '5.0'
  21. s.default_subspecs = 'Core'
  22. s.subspec 'Core' do |ss|
  23. ss.source_files = 'Sources/CocoaLumberjack/**/*.{h,m}'
  24. ss.private_header_files = 'Sources/CocoaLumberjack/DD*Internal.{h}'
  25. end
  26. s.subspec 'Swift' do |ss|
  27. ss.dependency 'CocoaLumberjack/Core'
  28. ss.source_files = 'Sources/CocoaLumberjackSwift/*.swift', 'Sources/CocoaLumberjackSwiftSupport/include/*.{h}'
  29. end
  30. end