@@ -128,7 +128,9 @@ extension iOSVersion {
128
128
if #available( iOS 27 , * ) {
129
129
return . past
130
130
}
131
- if #available( iOS 26 , * ) {
131
+ // Apps built before the iOS 26 SDK get "19.0" as the system version from ProcessInfo.
132
+ // Once built with the iOS 26 SDK, the version then becomes "26.0".
133
+ if #available( iOS 19 , * ) {
132
134
return . current
133
135
}
134
136
return . future
@@ -238,7 +240,9 @@ extension tvOSVersion {
238
240
if #available( tvOS 27 , * ) {
239
241
return . past
240
242
}
241
- if #available( tvOS 26 , * ) {
243
+ // Apps built before the tvOS 26 SDK get "19.0" as the system version from ProcessInfo.
244
+ // Once built with the tvOS 26 SDK, the version then becomes "26.0".
245
+ if #available( tvOS 19 , * ) {
242
246
return . current
243
247
}
244
248
return . future
@@ -362,7 +366,9 @@ extension macOSVersion {
362
366
if #available( macOS 27 , * ) {
363
367
return . past
364
368
}
365
- if #available( macOS 26 , * ) {
369
+ // Apps built before the macOS 26 SDK get "16.0" as the system version from ProcessInfo.
370
+ // Once built with the macOS 26 SDK, the version then becomes "26.0".
371
+ if #available( macOS 16 , * ) {
366
372
return . current
367
373
}
368
374
return . future
@@ -416,7 +422,9 @@ extension visionOSVersion {
416
422
if #available( visionOS 27 , * ) {
417
423
return . past
418
424
}
419
- if #available( visionOS 26 , * ) {
425
+ // Apps built before the visionOS 26 SDK get "3.0" as the system version from ProcessInfo.
426
+ // Once built with the visionOS 26 SDK, the version then becomes "26.0".
427
+ if #available( visionOS 3 , * ) {
420
428
return . current
421
429
}
422
430
return . future
0 commit comments