Skip to content

Commit

Permalink
chore: dropped support for xcode 14, swift version 5.7, 5.8, iOS 13 &…
Browse files Browse the repository at this point in the history
… tvOS 13 (#218)
  • Loading branch information
desusai7 committed Jul 2, 2024
1 parent 47b030b commit 725d031
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 69 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// swift-tools-version:5.7
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "SimpleKeychain",
platforms: [.iOS(.v13), .macOS(.v11), .tvOS(.v13), .watchOS(.v7)],
platforms: [.iOS(.v14), .macOS(.v11), .tvOS(.v14), .watchOS(.v7), .visionOS(.v1)],
products: [.library(name: "SimpleKeychain", targets: ["SimpleKeychain"])],
targets: [
.target(
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Migrating from 0.x? Check the [Migration Guide](V1_MIGRATION_GUIDE.md).

### Requirements

- iOS 13.0+ / macOS 11.0+ / tvOS 13.0+ / watchOS 7.0+
- Xcode 14.x / 15.x
- Swift 5.7+
- iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+
- Xcode 15.x
- Swift 5.9+

> [!IMPORTANT]
> Check the [Support Policy](#support-policy) to learn when dropping Xcode, Swift, and platform versions will not be considered a **breaking change**.
Expand Down Expand Up @@ -147,7 +147,9 @@ The minimum supported Swift minor version is the one released with the oldest-su

### Platforms

Once a platform version becomes unsupported, dropping it from SimpleKeychain **will not be considered a breaking change**, and will be done in a **minor** release. For example, iOS 13 will cease to be supported when iOS 17 gets released, and SimpleKeychain will be able to drop it in a minor release.
We support only the last four major versions of any platform, including the current major version.

Once a platform version becomes unsupported, dropping it from SimpleKeychain **will not be considered a breaking change**, and will be done in a **minor** release. For example, iOS 14 will cease to be supported when iOS 18 gets released, and SimpleKeychain will be able to drop it in a minor release.

In the case of macOS, the yearly named releases are considered a major platform version for the purposes of this Policy, regardless of the actual version numbers.

Expand Down
6 changes: 3 additions & 3 deletions SimpleKeychain.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/auth0/SimpleKeychain.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/auth0'

s.ios.deployment_target = '13.0'
s.ios.deployment_target = '14.0'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '13.0'
s.tvos.deployment_target = '14.0'
s.watchos.deployment_target = '7.0'
s.visionos.deployment_target = '1.0'

s.source_files = 'SimpleKeychain/*.swift'
s.swift_versions = ['5.7', '5.8']
s.swift_versions = ['5.9']
end
76 changes: 16 additions & 60 deletions SimpleKeychain.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,12 @@
C1010DEF2C21CEDB001C10B3 /* visionOSTestHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */; };
C1010DF12C21CEDB001C10B3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DF02C21CEDB001C10B3 /* ContentView.swift */; };
C1010DF32C21CEDD001C10B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1010DF22C21CEDD001C10B3 /* Assets.xcassets */; };
C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; };
C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; };
C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
C1D1FBAC2C219170008E9E3F /* Quick.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
C1D1FBAD2C2192FA008E9E3F /* SimpleKeychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CDF40592852D88C003840E6 /* SimpleKeychain.swift */; };
C1D1FBAE2C2192FA008E9E3F /* SimpleKeychainError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2A285A7C0200B4BB25 /* SimpleKeychainError.swift */; };
C1D1FBAF2C2192FA008E9E3F /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C840111285AFF7B00689C01 /* Accessibility.swift */; };
C1D1FBB02C219322008E9E3F /* SimpleKeychainSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F4D27651BCE995C003C27B3 /* SimpleKeychainSpec.swift */; };
C1D1FBB12C219322008E9E3F /* SimpleKeychainErrorSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2F285AB57A00B4BB25 /* SimpleKeychainErrorSpec.swift */; };
C1D1FBB22C219322008E9E3F /* AccessibilitySpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CEB577A285BCE7E00A32A80 /* AccessibilitySpec.swift */; };
C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */; };
C1D1FBBF2C21C814008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */; };
C1D1FBC12C21C89C008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -246,9 +239,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */,
C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */,
C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -509,7 +499,6 @@
);
name = "SimpleKeychainTests-iOS";
packageProductDependencies = (
C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */,
);
productName = "SimpleKeychainTests-iOS";
productReference = 5F4D277B1BCE99DF003C27B3 /* SimpleKeychainTests.xctest */;
Expand All @@ -530,7 +519,6 @@
);
name = "SimpleKeychainTests-macOS";
packageProductDependencies = (
C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */,
);
productName = "SimpleKeychainTests-macOS";
productReference = 5F4D278F1BCEA69E003C27B3 /* SimpleKeychainTests.xctest */;
Expand Down Expand Up @@ -637,7 +625,6 @@
C1D1FB932C218DD1008E9E3F /* Sources */,
C1D1FB942C218DD1008E9E3F /* Frameworks */,
C1D1FB952C218DD1008E9E3F /* Resources */,
C1D1FBAA2C21915F008E9E3F /* CopyFiles */,
);
buildRules = (
);
Expand All @@ -647,7 +634,6 @@
);
name = "SimpleKeychainTests-visionOS";
packageProductDependencies = (
C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */,
);
productName = "SimpleKeychainTests-visionOS";
productReference = C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */;
Expand Down Expand Up @@ -724,7 +710,6 @@
);
mainGroup = 5FEEB9921B7BD70A00501415;
packageReferences = (
C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */,
);
productRefGroup = 5FEEB99D1B7BD70A00501415 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -1145,7 +1130,7 @@
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost";
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Debug;
};
Expand All @@ -1169,7 +1154,7 @@
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost";
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Release;
};
Expand Down Expand Up @@ -1262,7 +1247,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1290,7 +1275,7 @@
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Release;
};
Expand Down Expand Up @@ -1322,7 +1307,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1350,7 +1335,7 @@
SDKROOT = appletvos;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 13.0;
TVOS_DEPLOYMENT_TARGET = 14.0;
};
name = Release;
};
Expand All @@ -1360,7 +1345,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
DEBUG_INFORMATION_FORMAT = dwarf;
INFOPLIST_FILE = SimpleKeychainTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1379,7 +1364,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
INFOPLIST_FILE = SimpleKeychainTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1444,7 +1429,7 @@
"$(inherited)",
);
INFOPLIST_FILE = SimpleKeychainApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1465,7 +1450,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = SimpleKeychainApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1527,7 +1512,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1582,7 +1567,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
Expand All @@ -1607,7 +1592,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = SimpleKeychain/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -1632,7 +1617,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = SimpleKeychain/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1745,7 +1730,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 1.2;
XROS_DEPLOYMENT_TARGET = 1.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1783,7 +1768,7 @@
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 1.2;
XROS_DEPLOYMENT_TARGET = 1.0;
};
name = Release;
};
Expand Down Expand Up @@ -2090,35 +2075,6 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/mattgallagher/CwlPreconditionTesting.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.2.1;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */ = {
isa = XCSwiftPackageProductDependency;
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
productName = CwlPreconditionTesting;
};
C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */ = {
isa = XCSwiftPackageProductDependency;
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
productName = CwlPreconditionTesting;
};
C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */ = {
isa = XCSwiftPackageProductDependency;
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
productName = CwlPreconditionTesting;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 5FEEB9931B7BD70A00501415 /* Project object */;
}

0 comments on commit 725d031

Please sign in to comment.