This commit is contained in:
Ethan Pippin 2022-01-13 15:03:53 -07:00
parent dba82fdb17
commit 58dd81ad0b
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ enum CPUModel {
case A12Z
case A13
case A14
case M1
case A99
}
@ -175,6 +176,7 @@ class DeviceProfileBuilder {
.A12Z: 16,
.A13: 17,
.A14: 18,
.M1: 19,
.A99: 99,
]
return intValues[CPUinfo()] ?? 0 >= intValues[minimumSupported] ?? 0
@ -242,6 +244,7 @@ class DeviceProfileBuilder {
case "iPad8,9", "iPad8,10", "iPad8,11", "iPad8,12": return .A12Z
case "iPad11,3", "iPad11,4", "iPad11,6", "iPad11,7": return .A12
case "iPad13,1", "iPad13,2": return .A14
case "iPad13,8,", "iPad13,9", "iPad13,10", "iPad13,11": return .M1
case "AppleTV5,3": return .A8
case "AppleTV6,2": return .A10X
case "AppleTV11,1": return .A12