Skip to content

Commit

Permalink
Drop Swift pre 5.8 support, add support for Swift 5.9 and 5.10, bump …
Browse files Browse the repository at this point in the history
…deployment targets to supported minimums
  • Loading branch information
ffried committed Apr 16, 2024
1 parent 34f5901 commit d94783b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 79 deletions.
6 changes: 3 additions & 3 deletions Configs/Module-Shared.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ GCC_WARN_UNUSED_VARIABLE = YES
HEADER_SEARCH_PATHS = $(inherited)

// Code will load on this and later versions of iOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs.
IPHONEOS_DEPLOYMENT_TARGET = 11.0
IPHONEOS_DEPLOYMENT_TARGET = 12.0

// This is a list of paths to be added to the `runpath` search path list for the image being created. At runtime, `dyld` uses the `runpath` when searching for dylibs whose load path begins with `@rpath/`.
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
Expand Down Expand Up @@ -252,10 +252,10 @@ SWIFT_VERSION = 5.0
TARGETED_DEVICE_FAMILY = 1,2,3,4

// Code will load on this and later versions of tvOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs.
TVOS_DEPLOYMENT_TARGET = 11.0
TVOS_DEPLOYMENT_TARGET = 12.0

// Selects the process used for version-stamping generated files. * *None:* Use no versioning system. * *Apple Generic:* Use the current project version setting. [apple-generic]
VERSIONING_SYSTEM = apple-generic

// Code will load on this and later versions of watchOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs.
WATCHOS_DEPLOYMENT_TARGET = 4.0
WATCHOS_DEPLOYMENT_TARGET = 5.0
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -7,9 +7,9 @@ let package = Package(
name: "CocoaLumberjack",
platforms: [
.macOS(.v10_13),
.iOS(.v11),
.tvOS(.v11),
.watchOS(.v4),
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v5),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Expand Down
64 changes: 0 additions & 64 deletions Package@swift-5.7.swift

This file was deleted.

8 changes: 4 additions & 4 deletions Package@swift-5.5.swift → Package@swift-5.8.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5
// swift-tools-version:5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -7,9 +7,9 @@ let package = Package(
name: "CocoaLumberjack",
platforms: [
.macOS(.v10_13),
.iOS(.v11),
.tvOS(.v11),
.watchOS(.v4),
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v5),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Expand Down
8 changes: 4 additions & 4 deletions Package@swift-5.6.swift → Package@swift-5.9.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.6
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -7,9 +7,9 @@ let package = Package(
name: "CocoaLumberjack",
platforms: [
.macOS(.v10_13),
.iOS(.v11),
.tvOS(.v11),
.watchOS(.v4),
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v5),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Expand Down

0 comments on commit d94783b

Please sign in to comment.