Skip to content

Commit 97828c2

Browse files
authored
feat: added support for visionOS platform (#215)
2 parents c43cd85 + 58a3166 commit 97828c2

File tree

20 files changed

+893
-112
lines changed

20 files changed

+893
-112
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ jobs:
8787

8888
pod-lint:
8989
name: Lint podspec using Xcode ${{ matrix.xcode }}
90-
runs-on: macos-13
90+
runs-on: macos-13-xlarge
9191

9292
strategy:
9393
matrix:
9494
xcode:
95-
- '15.0.1'
95+
- '15.2'
9696

9797
steps:
9898
- name: Checkout

Gemfile.lock

+82-66
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,54 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
activesupport (7.0.8)
8+
activesupport (7.1.3.4)
9+
base64
10+
bigdecimal
711
concurrent-ruby (~> 1.0, >= 1.0.2)
12+
connection_pool (>= 2.2.5)
13+
drb
814
i18n (>= 1.6, < 2)
915
minitest (>= 5.1)
16+
mutex_m
1017
tzinfo (~> 2.0)
11-
addressable (2.8.5)
12-
public_suffix (>= 2.0.2, < 6.0)
18+
addressable (2.8.7)
19+
public_suffix (>= 2.0.2, < 7.0)
1320
algoliasearch (1.27.5)
1421
httpclient (~> 2.8, >= 2.8.3)
1522
json (>= 1.5.1)
16-
artifactory (3.0.15)
23+
artifactory (3.0.17)
1724
atomos (0.1.3)
18-
aws-eventstream (1.2.0)
19-
aws-partitions (1.831.0)
20-
aws-sdk-core (3.185.0)
21-
aws-eventstream (~> 1, >= 1.0.2)
25+
aws-eventstream (1.3.0)
26+
aws-partitions (1.949.0)
27+
aws-sdk-core (3.200.0)
28+
aws-eventstream (~> 1, >= 1.3.0)
2229
aws-partitions (~> 1, >= 1.651.0)
23-
aws-sigv4 (~> 1.5)
30+
aws-sigv4 (~> 1.8)
2431
jmespath (~> 1, >= 1.6.1)
25-
aws-sdk-kms (1.72.0)
26-
aws-sdk-core (~> 3, >= 3.184.0)
32+
aws-sdk-kms (1.87.0)
33+
aws-sdk-core (~> 3, >= 3.199.0)
2734
aws-sigv4 (~> 1.1)
28-
aws-sdk-s3 (1.136.0)
29-
aws-sdk-core (~> 3, >= 3.181.0)
35+
aws-sdk-s3 (1.155.0)
36+
aws-sdk-core (~> 3, >= 3.199.0)
3037
aws-sdk-kms (~> 1)
31-
aws-sigv4 (~> 1.6)
32-
aws-sigv4 (1.6.0)
38+
aws-sigv4 (~> 1.8)
39+
aws-sigv4 (1.8.0)
3340
aws-eventstream (~> 1, >= 1.0.2)
3441
babosa (1.0.4)
42+
base64 (0.2.0)
43+
bigdecimal (3.1.8)
3544
claide (1.1.0)
3645
clamp (1.3.2)
37-
cocoapods (1.13.0)
46+
cocoapods (1.15.2)
3847
addressable (~> 2.8)
3948
claide (>= 1.0.2, < 2.0)
40-
cocoapods-core (= 1.13.0)
49+
cocoapods-core (= 1.15.2)
4150
cocoapods-deintegrate (>= 1.0.3, < 2.0)
42-
cocoapods-downloader (>= 1.6.0, < 2.0)
51+
cocoapods-downloader (>= 2.1, < 3.0)
4352
cocoapods-plugins (>= 1.0.0, < 2.0)
4453
cocoapods-search (>= 1.0.0, < 2.0)
4554
cocoapods-trunk (>= 1.6.0, < 2.0)
@@ -52,7 +61,7 @@ GEM
5261
nap (~> 1.0)
5362
ruby-macho (>= 2.3.0, < 3.0)
5463
xcodeproj (>= 1.23.0, < 2.0)
55-
cocoapods-core (1.13.0)
64+
cocoapods-core (1.15.2)
5665
activesupport (>= 5.0, < 8)
5766
addressable (~> 2.8)
5867
algoliasearch (~> 1.0)
@@ -63,7 +72,7 @@ GEM
6372
public_suffix (~> 4.0)
6473
typhoeus (~> 1.0)
6574
cocoapods-deintegrate (1.0.5)
66-
cocoapods-downloader (1.6.3)
75+
cocoapods-downloader (2.1)
6776
cocoapods-plugins (1.0.0)
6877
nap
6978
cocoapods-search (1.0.1)
@@ -75,18 +84,19 @@ GEM
7584
colored2 (3.1.2)
7685
commander (4.6.0)
7786
highline (~> 2.0.0)
78-
concurrent-ruby (1.2.2)
87+
concurrent-ruby (1.3.3)
88+
connection_pool (2.4.1)
7989
declarative (0.0.20)
8090
digest-crc (0.6.5)
8191
rake (>= 12.0.0, < 14.0.0)
82-
domain_name (0.5.20190701)
83-
unf (>= 0.0.5, < 1.0.0)
92+
domain_name (0.6.20240107)
8493
dotenv (2.8.1)
94+
drb (2.2.1)
8595
emoji_regex (3.2.3)
8696
escape (0.0.4)
8797
ethon (0.16.0)
8898
ffi (>= 1.15.0)
89-
excon (0.104.0)
99+
excon (0.110.0)
90100
faraday (1.10.3)
91101
faraday-em_http (~> 1.0)
92102
faraday-em_synchrony (~> 1.0)
@@ -115,15 +125,15 @@ GEM
115125
faraday-retry (1.0.3)
116126
faraday_middleware (1.2.0)
117127
faraday (~> 1.0)
118-
fastimage (2.2.7)
119-
fastlane (2.216.0)
128+
fastimage (2.3.1)
129+
fastlane (2.221.1)
120130
CFPropertyList (>= 2.3, < 4.0.0)
121131
addressable (>= 2.8, < 3.0.0)
122132
artifactory (~> 3.0)
123133
aws-sdk-s3 (~> 1.0)
124134
babosa (>= 1.0.3, < 2.0.0)
125135
bundler (>= 1.12.0, < 3.0.0)
126-
colored
136+
colored (~> 1.2)
127137
commander (~> 4.6)
128138
dotenv (>= 2.1.1, < 3.0.0)
129139
emoji_regex (>= 0.1, < 4.0)
@@ -135,6 +145,7 @@ GEM
135145
gh_inspector (>= 1.1.2, < 2.0.0)
136146
google-apis-androidpublisher_v3 (~> 0.3)
137147
google-apis-playcustomapp_v1 (~> 0.1)
148+
google-cloud-env (>= 1.6.0, < 2.0.0)
138149
google-cloud-storage (~> 1.31)
139150
highline (~> 2.0)
140151
http-cookie (~> 1.0.5)
@@ -143,10 +154,10 @@ GEM
143154
mini_magick (>= 4.9.4, < 5.0.0)
144155
multipart-post (>= 2.0.0, < 3.0.0)
145156
naturally (~> 2.2)
146-
optparse (~> 0.1.1)
157+
optparse (>= 0.1.1, < 1.0.0)
147158
plist (>= 3.1.0, < 4.0.0)
148159
rubyzip (>= 2.0.0, < 3.0.0)
149-
security (= 0.1.3)
160+
security (= 0.1.5)
150161
simctl (~> 1.6.3)
151162
terminal-notifier (>= 2.0.0, < 3.0.0)
152163
terminal-table (~> 3)
@@ -155,41 +166,41 @@ GEM
155166
word_wrap (~> 1.0.0)
156167
xcodeproj (>= 1.13.0, < 2.0.0)
157168
xcpretty (~> 0.3.0)
158-
xcpretty-travis-formatter (>= 0.0.3)
169+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
159170
fastlane-plugin-auth0_shipper (0.4.1)
160171
semantic (~> 1.5)
161-
ffi (1.16.2)
172+
ffi (1.17.0-arm64-darwin)
173+
ffi (1.17.0-x86_64-darwin)
162174
fourflusher (2.3.1)
163175
fuzzy_match (2.0.4)
164176
gh_inspector (1.1.3)
165-
google-apis-androidpublisher_v3 (0.50.0)
177+
google-apis-androidpublisher_v3 (0.54.0)
166178
google-apis-core (>= 0.11.0, < 2.a)
167-
google-apis-core (0.11.1)
179+
google-apis-core (0.11.3)
168180
addressable (~> 2.5, >= 2.5.1)
169181
googleauth (>= 0.16.2, < 2.a)
170182
httpclient (>= 2.8.1, < 3.a)
171183
mini_mime (~> 1.0)
172184
representable (~> 3.0)
173185
retriable (>= 2.0, < 4.a)
174186
rexml
175-
webrick
176187
google-apis-iamcredentials_v1 (0.17.0)
177188
google-apis-core (>= 0.11.0, < 2.a)
178189
google-apis-playcustomapp_v1 (0.13.0)
179190
google-apis-core (>= 0.11.0, < 2.a)
180-
google-apis-storage_v1 (0.19.0)
181-
google-apis-core (>= 0.9.0, < 2.a)
182-
google-cloud-core (1.6.0)
183-
google-cloud-env (~> 1.0)
191+
google-apis-storage_v1 (0.31.0)
192+
google-apis-core (>= 0.11.0, < 2.a)
193+
google-cloud-core (1.7.0)
194+
google-cloud-env (>= 1.0, < 3.a)
184195
google-cloud-errors (~> 1.0)
185196
google-cloud-env (1.6.0)
186197
faraday (>= 0.17.3, < 3.0)
187-
google-cloud-errors (1.3.1)
188-
google-cloud-storage (1.44.0)
198+
google-cloud-errors (1.4.0)
199+
google-cloud-storage (1.47.0)
189200
addressable (~> 2.8)
190201
digest-crc (~> 0.4)
191202
google-apis-iamcredentials_v1 (~> 0.1)
192-
google-apis-storage_v1 (~> 0.19.0)
203+
google-apis-storage_v1 (~> 0.31.0)
193204
google-cloud-core (~> 1.6)
194205
googleauth (>= 0.16.2, < 2.a)
195206
mini_mime (~> 1.0)
@@ -200,78 +211,81 @@ GEM
200211
os (>= 0.9, < 2.0)
201212
signet (>= 0.16, < 2.a)
202213
highline (2.0.3)
203-
http-cookie (1.0.5)
214+
http-cookie (1.0.6)
204215
domain_name (~> 0.5)
205216
httpclient (2.8.3)
206-
i18n (1.14.1)
217+
i18n (1.14.5)
207218
concurrent-ruby (~> 1.0)
208219
jmespath (1.6.2)
209-
json (2.6.3)
210-
jwt (2.7.1)
211-
mini_magick (4.12.0)
220+
json (2.7.2)
221+
jwt (2.8.2)
222+
base64
223+
mini_magick (4.13.1)
212224
mini_mime (1.1.5)
213-
minitest (5.20.0)
225+
minitest (5.24.1)
214226
molinillo (0.8.0)
215227
multi_json (1.15.0)
216-
multipart-post (2.3.0)
228+
multipart-post (2.4.1)
229+
mutex_m (0.2.0)
217230
nanaimo (0.3.0)
218231
nap (1.1.0)
219232
naturally (2.2.1)
220233
netrc (0.11.0)
221-
nokogiri (1.15.4-x86_64-darwin)
234+
nkf (0.2.0)
235+
nokogiri (1.16.6-arm64-darwin)
236+
racc (~> 1.4)
237+
nokogiri (1.16.6-x86_64-darwin)
222238
racc (~> 1.4)
223-
optparse (0.1.1)
239+
optparse (0.5.0)
224240
os (1.1.4)
225-
plist (3.7.0)
241+
plist (3.7.1)
226242
public_suffix (4.0.7)
227-
racc (1.7.1)
228-
rake (13.0.6)
243+
racc (1.8.0)
244+
rake (13.2.1)
229245
representable (3.2.0)
230246
declarative (< 0.1.0)
231247
trailblazer-option (>= 0.1.1, < 0.2.0)
232248
uber (< 0.2.0)
233249
retriable (3.1.2)
234-
rexml (3.2.6)
250+
rexml (3.2.9)
251+
strscan
235252
rouge (2.0.7)
236253
ruby-macho (2.5.1)
237254
ruby2_keywords (0.0.5)
238255
rubyzip (2.3.2)
239-
security (0.1.3)
256+
security (0.1.5)
240257
semantic (1.6.1)
241-
signet (0.18.0)
258+
signet (0.19.0)
242259
addressable (~> 2.8)
243260
faraday (>= 0.17.5, < 3.a)
244261
jwt (>= 1.5, < 3.0)
245262
multi_json (~> 1.10)
246263
simctl (1.6.10)
247264
CFPropertyList
248265
naturally
249-
slather (2.7.5)
266+
slather (2.8.2)
250267
CFPropertyList (>= 2.2, < 4)
251268
activesupport
252269
clamp (~> 1.3)
253270
nokogiri (>= 1.14.3)
254271
xcodeproj (~> 1.21)
272+
strscan (3.1.0)
255273
terminal-notifier (2.0.0)
256274
terminal-table (3.0.2)
257275
unicode-display_width (>= 1.1.1, < 3)
258276
trailblazer-option (0.1.2)
259277
tty-cursor (0.7.1)
260-
tty-screen (0.8.1)
278+
tty-screen (0.8.2)
261279
tty-spinner (0.9.3)
262280
tty-cursor (~> 0.7)
263-
typhoeus (1.4.0)
281+
typhoeus (1.4.1)
264282
ethon (>= 0.9.0)
265283
tzinfo (2.0.6)
266284
concurrent-ruby (~> 1.0)
267285
uber (0.1.0)
268-
unf (0.1.4)
269-
unf_ext
270-
unf_ext (0.0.8.2)
271286
unicode-display_width (2.5.0)
272-
webrick (1.8.1)
273287
word_wrap (1.0.0)
274-
xcodeproj (1.23.0)
288+
xcodeproj (1.24.0)
275289
CFPropertyList (>= 2.3.3, < 4.0)
276290
atomos (~> 0.1.3)
277291
claide (>= 1.0.2, < 2.0)
@@ -284,7 +298,9 @@ GEM
284298
xcpretty (~> 0.2, >= 0.0.7)
285299

286300
PLATFORMS
287-
ruby
301+
arm64-darwin-22
302+
arm64-darwin-23
303+
x86_64-darwin-20
288304

289305
DEPENDENCIES
290306
cocoapods

Package.swift

+2-2
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

+6-4
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

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +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'
19+
s.visionos.deployment_target = '1.0'
1920

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

0 commit comments

Comments
 (0)