CocoaLumberjack.podspec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Pod::Spec.new do |s|
  2. s.name = 'CocoaLumberjack'
  3. s.version = '3.8.1'
  4. s.license = 'BSD'
  5. s.summary = 'A fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS.'
  6. s.authors = { 'Robbie Hanson' => 'robbiehanson@deusty.com' }
  7. s.homepage = 'https://github.com/CocoaLumberjack/CocoaLumberjack'
  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.cocoapods_version = '>= 1.7.0'
  15. s.swift_versions = ['5.5', '5.6', '5.7', '5.8']
  16. s.osx.deployment_target = '10.13'
  17. s.ios.deployment_target = '11.0'
  18. s.tvos.deployment_target = '11.0'
  19. s.watchos.deployment_target = '4.0'
  20. s.preserve_paths = 'README.md', 'LICENSE', 'CHANGELOG.md'
  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