Browse Source

Cleanup podspec

Florian Friedrich 3 years ago
parent
commit
f5c91ffa64
2 changed files with 9 additions and 10 deletions
  1. 2 2
      CHANGELOG.md
  2. 7 8
      CocoaLumberjack.podspec

+ 2 - 2
CHANGELOG.md

@@ -1,8 +1,8 @@
-## [3.8.0 - Xcode 14.1 on Oct ??, 2022](https://github.com/CocoaLumberjack/CocoaLumberjack/releases/tag/3.8.0)
+## [3.8.0 - Xcode 14.1 on Nov 2nd, 2022](https://github.com/CocoaLumberjack/CocoaLumberjack/releases/tag/3.8.0)
 
 ### Public
 
-- Add support for Xcode 14 / Swift 5.7 (#1316)
+- Add support for Xcode 14 / Swift 5.7 - drop support for Swift < 5.5, iOS/tvOS < 11, macOS < 10.13, watchOS < 4 (#1316)
 - Update README about swift-log usage (#1275)
 - Use dispatch_walltime for scheduling log file rolling timer (#1309)
 

+ 7 - 8
CocoaLumberjack.podspec

@@ -3,8 +3,8 @@ Pod::Spec.new do |s|
   s.version  = '3.8.0'
   s.license  = 'BSD'
   s.summary  = 'A fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS.'
+  s.authors  = { 'Robbie Hanson' => 'robbiehanson@deusty.com' }
   s.homepage = 'https://github.com/CocoaLumberjack/CocoaLumberjack'
-  s.author   = { 'Robbie Hanson' => 'robbiehanson@deusty.com' }
   s.source   = { :git => 'https://github.com/CocoaLumberjack/CocoaLumberjack.git',
                  :tag => "#{s.version}" }
 
@@ -13,16 +13,15 @@ Pod::Spec.new do |s|
                   'such as multi-threading, grand central dispatch (if available), lockless '      \
                   'atomic operations, and the dynamic nature of the objective-c runtime.'
 
-  s.preserve_paths = 'README.md'
+  s.cocoapods_version = '>= 1.7.0'
+  s.swift_versions = ['5.5', '5.6', '5.7']
 
-  s.ios.deployment_target     = '11.0'
   s.osx.deployment_target     = '10.13'
-  s.watchos.deployment_target = '4.0'
+  s.ios.deployment_target     = '11.0'
   s.tvos.deployment_target    = '11.0'
+  s.watchos.deployment_target = '4.0'
 
-  s.cocoapods_version = '>= 1.4.0'
-  s.requires_arc   = true
-  s.swift_versions = ['5.5', '5.6', '5.7']
+  s.preserve_paths = 'README.md', 'LICENSE', 'CHANGELOG.md'
 
   s.default_subspecs = 'Core'
 
@@ -33,6 +32,6 @@ Pod::Spec.new do |s|
 
   s.subspec 'Swift' do |ss|
     ss.dependency 'CocoaLumberjack/Core'
-    ss.source_files        = 'Sources/CocoaLumberjackSwift/**/*.swift', 'Sources/CocoaLumberjackSwiftSupport/include/**/*.{h}'
+    ss.source_files = 'Sources/CocoaLumberjackSwift/**/*.swift', 'Sources/CocoaLumberjackSwiftSupport/include/**/*.{h}'
   end
 end