Skip to content

Add missing Apple Watch Series 9 identifiers and spec link #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Source/Device.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,11 @@ public enum Device {
///
/// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP879/apple-watch-ultra_2x.png)
case appleWatchUltra
/// Device is an [Apple Watch Series 9]()
/// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905)
///
/// ![Image]()
case appleWatchSeries9_41mm
/// Device is an [Apple Watch Series 9]()
/// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905)
///
/// ![Image]()
case appleWatchSeries9_45mm
Expand Down Expand Up @@ -695,8 +695,8 @@ public enum Device {
case "Watch6,10", "Watch6,12": return appleWatchSE2_40mm
case "Watch6,11", "Watch6,13": return appleWatchSE2_44mm
case "Watch6,18": return appleWatchUltra
case "Watch7,3": return appleWatchSeries9_41mm
case "Watch7,4": return appleWatchSeries9_45mm
case "Watch7,1", "Watch7,3": return appleWatchSeries9_41mm
case "Watch7,2", "Watch7,4": return appleWatchSeries9_45mm
case "Watch7,5": return appleWatchUltra2
case "Watch7,8", "Watch7,10": return appleWatchSeries10_42mm
case "Watch7,9", "Watch7,11": return appleWatchSeries10_46mm
Expand Down
10 changes: 5 additions & 5 deletions Source/Device.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,15 @@ watches = [

Device(
"appleWatchSeries9_41mm",
"Device is an [Apple Watch Series 9]()",
"Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905)",
"",
["Watch7,3"], 1.9, (4,5), "Apple Watch Series 9 41mm", "Apple Watch Series 9 41mm", 326, False, False, False, False, False, False, False, True, False, False, 0, False, 0, False, "s9", False, False),
["Watch7,1", "Watch7,3"], 1.9, (4,5), "Apple Watch Series 9 41mm", "Apple Watch Series 9 41mm", 326, False, False, False, False, False, False, False, True, False, False, 0, False, 0, False, "s9", False, False),

Device(
"appleWatchSeries9_45mm",
"Device is an [Apple Watch Series 9]()",
"Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905)",
"",
["Watch7,4"], 2.0, (4,5), "Apple Watch Series 9 45mm", "Apple Watch Series 9 45mm", 326, False, False, False, False, False, False, False, True, False, False, 0, False, 0, False, "s9", False, False),
["Watch7,2", "Watch7,4"], 2.0, (4,5), "Apple Watch Series 9 45mm", "Apple Watch Series 9 45mm", 326, False, False, False, False, False, False, False, True, False, False, 0, False, 0, False, "s9", False, False),

Device(
"appleWatchUltra2",
Expand Down Expand Up @@ -1501,7 +1501,7 @@ iOS_cpus = [
CPU("m3", "M3"),
CPU("m4", "M4"),
]

watchOS_cpus = [
CPU("s1", "S1"),
CPU("s1P", "S1P"),
Expand Down