Skip to content

Commit 43f5179

Browse files
zunda-pixeldfed
andauthored
Update watchOS minimum version to 5 (#363)
* Update SwiftPM watchOS platform to v5 * Remove Requirements section from README Defer to package definition files instead --------- Co-authored-by: Dan Federman <dfed@me.com>
1 parent cadba75 commit 43f5179

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let package = Package(
88
platforms: [
99
.iOS(.v12),
1010
.tvOS(.v12),
11-
.watchOS(.v4),
11+
.watchOS(.v5),
1212
.macOS(.v10_13),
1313
],
1414
products: [

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,6 @@ Valet guarantees that reading and writing operations will succeed as long as wri
207207
1. Running your app or unit tests without the application-identifier entitlement. Xcode 8 introduced a requirement that all schemes must be signed with the application-identifier entitlement to access the keychain. To satisfy this requirement when running unit tests, your unit tests must be run inside of a host application.
208208
1. Attempting to write data larger than 4kb. The Keychain is built to securely store small secrets – writing large blobs is not supported by Apple's Security daemon.
209209
210-
## Requirements
211-
212-
* Xcode 16.0 or later.
213-
* iOS 12 or later.
214-
* tvOS 12 or later.
215-
* watchOS 4 or later.
216-
* macOS 10.13 or later.
217-
218210
## Migrating from prior Valet versions
219211
220212
The good news: most Valet configurations do _not_ have to migrate keychain data when upgrading from an older version of Valet. All Valet objects are backwards compatible with their counterparts from prior versions. Valets that have had their configurations deprecated by Apple will need to migrate stored data.

Valet.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.frameworks = 'Security'
1313
s.ios.deployment_target = '12.0'
1414
s.tvos.deployment_target = '12.0'
15-
s.watchos.deployment_target = '4.0'
15+
s.watchos.deployment_target = '5.0'
1616
s.macos.deployment_target = '10.13'
1717

1818
s.tvos.exclude_files = 'Sources/Valet/SinglePromptSecureEnclaveValet.swift'

0 commit comments

Comments
 (0)