Skip to content

Commit 725d031

Browse files
authored
chore: dropped support for xcode 14, swift version 5.7, 5.8, iOS 13 & tvOS 13 (#218)
1 parent 47b030b commit 725d031

File tree

4 files changed

+27
-69
lines changed

4 files changed

+27
-69
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.9
22
import PackageDescription
33

44
let package = Package(
55
name: "SimpleKeychain",
6-
platforms: [.iOS(.v13), .macOS(.v11), .tvOS(.v13), .watchOS(.v7)],
6+
platforms: [.iOS(.v14), .macOS(.v11), .tvOS(.v14), .watchOS(.v7), .visionOS(.v1)],
77
products: [.library(name: "SimpleKeychain", targets: ["SimpleKeychain"])],
88
targets: [
99
.target(

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Migrating from 0.x? Check the [Migration Guide](V1_MIGRATION_GUIDE.md).
2222

2323
### Requirements
2424

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

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

148148
### Platforms
149149

150-
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.
150+
We support only the last four major versions of any platform, including the current major version.
151+
152+
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.
151153

152154
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.
153155

SimpleKeychain.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/auth0/SimpleKeychain.git', :tag => s.version.to_s }
1313
s.social_media_url = 'https://twitter.com/auth0'
1414

15-
s.ios.deployment_target = '13.0'
15+
s.ios.deployment_target = '14.0'
1616
s.osx.deployment_target = '11.0'
17-
s.tvos.deployment_target = '13.0'
17+
s.tvos.deployment_target = '14.0'
1818
s.watchos.deployment_target = '7.0'
1919
s.visionos.deployment_target = '1.0'
2020

2121
s.source_files = 'SimpleKeychain/*.swift'
22-
s.swift_versions = ['5.7', '5.8']
22+
s.swift_versions = ['5.9']
2323
end

SimpleKeychain.xcodeproj/project.pbxproj

Lines changed: 16 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,12 @@
4242
C1010DEF2C21CEDB001C10B3 /* visionOSTestHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */; };
4343
C1010DF12C21CEDB001C10B3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DF02C21CEDB001C10B3 /* ContentView.swift */; };
4444
C1010DF32C21CEDD001C10B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1010DF22C21CEDD001C10B3 /* Assets.xcassets */; };
45-
C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; };
46-
C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; };
47-
C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
48-
C1D1FBAC2C219170008E9E3F /* Quick.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
4945
C1D1FBAD2C2192FA008E9E3F /* SimpleKeychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CDF40592852D88C003840E6 /* SimpleKeychain.swift */; };
5046
C1D1FBAE2C2192FA008E9E3F /* SimpleKeychainError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2A285A7C0200B4BB25 /* SimpleKeychainError.swift */; };
5147
C1D1FBAF2C2192FA008E9E3F /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C840111285AFF7B00689C01 /* Accessibility.swift */; };
5248
C1D1FBB02C219322008E9E3F /* SimpleKeychainSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F4D27651BCE995C003C27B3 /* SimpleKeychainSpec.swift */; };
5349
C1D1FBB12C219322008E9E3F /* SimpleKeychainErrorSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2F285AB57A00B4BB25 /* SimpleKeychainErrorSpec.swift */; };
5450
C1D1FBB22C219322008E9E3F /* AccessibilitySpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CEB577A285BCE7E00A32A80 /* AccessibilitySpec.swift */; };
55-
C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */; };
56-
C1D1FBBF2C21C814008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */; };
57-
C1D1FBC12C21C89C008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */; };
5851
/* End PBXBuildFile section */
5952

6053
/* Begin PBXContainerItemProxy section */
@@ -246,9 +239,6 @@
246239
isa = PBXFrameworksBuildPhase;
247240
buildActionMask = 2147483647;
248241
files = (
249-
C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */,
250-
C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */,
251-
C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */,
252242
);
253243
runOnlyForDeploymentPostprocessing = 0;
254244
};
@@ -509,7 +499,6 @@
509499
);
510500
name = "SimpleKeychainTests-iOS";
511501
packageProductDependencies = (
512-
C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */,
513502
);
514503
productName = "SimpleKeychainTests-iOS";
515504
productReference = 5F4D277B1BCE99DF003C27B3 /* SimpleKeychainTests.xctest */;
@@ -530,7 +519,6 @@
530519
);
531520
name = "SimpleKeychainTests-macOS";
532521
packageProductDependencies = (
533-
C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */,
534522
);
535523
productName = "SimpleKeychainTests-macOS";
536524
productReference = 5F4D278F1BCEA69E003C27B3 /* SimpleKeychainTests.xctest */;
@@ -637,7 +625,6 @@
637625
C1D1FB932C218DD1008E9E3F /* Sources */,
638626
C1D1FB942C218DD1008E9E3F /* Frameworks */,
639627
C1D1FB952C218DD1008E9E3F /* Resources */,
640-
C1D1FBAA2C21915F008E9E3F /* CopyFiles */,
641628
);
642629
buildRules = (
643630
);
@@ -647,7 +634,6 @@
647634
);
648635
name = "SimpleKeychainTests-visionOS";
649636
packageProductDependencies = (
650-
C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */,
651637
);
652638
productName = "SimpleKeychainTests-visionOS";
653639
productReference = C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */;
@@ -724,7 +710,6 @@
724710
);
725711
mainGroup = 5FEEB9921B7BD70A00501415;
726712
packageReferences = (
727-
C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */,
728713
);
729714
productRefGroup = 5FEEB99D1B7BD70A00501415 /* Products */;
730715
projectDirPath = "";
@@ -1145,7 +1130,7 @@
11451130
SWIFT_VERSION = 5.0;
11461131
TARGETED_DEVICE_FAMILY = 3;
11471132
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost";
1148-
TVOS_DEPLOYMENT_TARGET = 13.0;
1133+
TVOS_DEPLOYMENT_TARGET = 14.0;
11491134
};
11501135
name = Debug;
11511136
};
@@ -1169,7 +1154,7 @@
11691154
SWIFT_VERSION = 5.0;
11701155
TARGETED_DEVICE_FAMILY = 3;
11711156
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost";
1172-
TVOS_DEPLOYMENT_TARGET = 13.0;
1157+
TVOS_DEPLOYMENT_TARGET = 14.0;
11731158
};
11741159
name = Release;
11751160
};
@@ -1262,7 +1247,7 @@
12621247
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
12631248
SWIFT_VERSION = 5.0;
12641249
TARGETED_DEVICE_FAMILY = 3;
1265-
TVOS_DEPLOYMENT_TARGET = 13.0;
1250+
TVOS_DEPLOYMENT_TARGET = 14.0;
12661251
};
12671252
name = Debug;
12681253
};
@@ -1290,7 +1275,7 @@
12901275
SKIP_INSTALL = YES;
12911276
SWIFT_VERSION = 5.0;
12921277
TARGETED_DEVICE_FAMILY = 3;
1293-
TVOS_DEPLOYMENT_TARGET = 13.0;
1278+
TVOS_DEPLOYMENT_TARGET = 14.0;
12941279
};
12951280
name = Release;
12961281
};
@@ -1322,7 +1307,7 @@
13221307
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
13231308
SWIFT_VERSION = 5.0;
13241309
TARGETED_DEVICE_FAMILY = 3;
1325-
TVOS_DEPLOYMENT_TARGET = 13.0;
1310+
TVOS_DEPLOYMENT_TARGET = 14.0;
13261311
};
13271312
name = Debug;
13281313
};
@@ -1350,7 +1335,7 @@
13501335
SDKROOT = appletvos;
13511336
SWIFT_VERSION = 5.0;
13521337
TARGETED_DEVICE_FAMILY = 3;
1353-
TVOS_DEPLOYMENT_TARGET = 13.0;
1338+
TVOS_DEPLOYMENT_TARGET = 14.0;
13541339
};
13551340
name = Release;
13561341
};
@@ -1360,7 +1345,7 @@
13601345
BUNDLE_LOADER = "$(TEST_HOST)";
13611346
DEBUG_INFORMATION_FORMAT = dwarf;
13621347
INFOPLIST_FILE = SimpleKeychainTests/Info.plist;
1363-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1348+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
13641349
LD_RUNPATH_SEARCH_PATHS = (
13651350
"$(inherited)",
13661351
"@executable_path/Frameworks",
@@ -1379,7 +1364,7 @@
13791364
buildSettings = {
13801365
BUNDLE_LOADER = "$(TEST_HOST)";
13811366
INFOPLIST_FILE = SimpleKeychainTests/Info.plist;
1382-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1367+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
13831368
LD_RUNPATH_SEARCH_PATHS = (
13841369
"$(inherited)",
13851370
"@executable_path/Frameworks",
@@ -1444,7 +1429,7 @@
14441429
"$(inherited)",
14451430
);
14461431
INFOPLIST_FILE = SimpleKeychainApp/Info.plist;
1447-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1432+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
14481433
LD_RUNPATH_SEARCH_PATHS = (
14491434
"$(inherited)",
14501435
"@executable_path/Frameworks",
@@ -1465,7 +1450,7 @@
14651450
CODE_SIGN_IDENTITY = "iPhone Developer";
14661451
DEVELOPMENT_TEAM = "";
14671452
INFOPLIST_FILE = SimpleKeychainApp/Info.plist;
1468-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1453+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
14691454
LD_RUNPATH_SEARCH_PATHS = (
14701455
"$(inherited)",
14711456
"@executable_path/Frameworks",
@@ -1527,7 +1512,7 @@
15271512
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
15281513
GCC_WARN_UNUSED_FUNCTION = YES;
15291514
GCC_WARN_UNUSED_VARIABLE = YES;
1530-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1515+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
15311516
MACOSX_DEPLOYMENT_TARGET = 11.0;
15321517
MTL_ENABLE_DEBUG_INFO = YES;
15331518
ONLY_ACTIVE_ARCH = YES;
@@ -1582,7 +1567,7 @@
15821567
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
15831568
GCC_WARN_UNUSED_FUNCTION = YES;
15841569
GCC_WARN_UNUSED_VARIABLE = YES;
1585-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1570+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
15861571
MACOSX_DEPLOYMENT_TARGET = 11.0;
15871572
MTL_ENABLE_DEBUG_INFO = NO;
15881573
SDKROOT = iphoneos;
@@ -1607,7 +1592,7 @@
16071592
DYLIB_INSTALL_NAME_BASE = "@rpath";
16081593
INFOPLIST_FILE = SimpleKeychain/Info.plist;
16091594
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1610-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1595+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
16111596
LD_RUNPATH_SEARCH_PATHS = (
16121597
"$(inherited)",
16131598
"@executable_path/Frameworks",
@@ -1632,7 +1617,7 @@
16321617
DYLIB_INSTALL_NAME_BASE = "@rpath";
16331618
INFOPLIST_FILE = SimpleKeychain/Info.plist;
16341619
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1635-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1620+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
16361621
LD_RUNPATH_SEARCH_PATHS = (
16371622
"$(inherited)",
16381623
"@executable_path/Frameworks",
@@ -1745,7 +1730,7 @@
17451730
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
17461731
SWIFT_VERSION = 5.0;
17471732
TARGETED_DEVICE_FAMILY = "1,2,7";
1748-
XROS_DEPLOYMENT_TARGET = 1.2;
1733+
XROS_DEPLOYMENT_TARGET = 1.0;
17491734
};
17501735
name = Debug;
17511736
};
@@ -1783,7 +1768,7 @@
17831768
SWIFT_EMIT_LOC_STRINGS = YES;
17841769
SWIFT_VERSION = 5.0;
17851770
TARGETED_DEVICE_FAMILY = "1,2,7";
1786-
XROS_DEPLOYMENT_TARGET = 1.2;
1771+
XROS_DEPLOYMENT_TARGET = 1.0;
17871772
};
17881773
name = Release;
17891774
};
@@ -2090,35 +2075,6 @@
20902075
defaultConfigurationName = Release;
20912076
};
20922077
/* End XCConfigurationList section */
2093-
2094-
/* Begin XCRemoteSwiftPackageReference section */
2095-
C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */ = {
2096-
isa = XCRemoteSwiftPackageReference;
2097-
repositoryURL = "https://github.com/mattgallagher/CwlPreconditionTesting.git";
2098-
requirement = {
2099-
kind = upToNextMajorVersion;
2100-
minimumVersion = 2.2.1;
2101-
};
2102-
};
2103-
/* End XCRemoteSwiftPackageReference section */
2104-
2105-
/* Begin XCSwiftPackageProductDependency section */
2106-
C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */ = {
2107-
isa = XCSwiftPackageProductDependency;
2108-
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
2109-
productName = CwlPreconditionTesting;
2110-
};
2111-
C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */ = {
2112-
isa = XCSwiftPackageProductDependency;
2113-
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
2114-
productName = CwlPreconditionTesting;
2115-
};
2116-
C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */ = {
2117-
isa = XCSwiftPackageProductDependency;
2118-
package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */;
2119-
productName = CwlPreconditionTesting;
2120-
};
2121-
/* End XCSwiftPackageProductDependency section */
21222078
};
21232079
rootObject = 5FEEB9931B7BD70A00501415 /* Project object */;
21242080
}

0 commit comments

Comments
 (0)