Skip to content

Add iPad mini (A20 Pro) and Apple TV 4K (4th generation) - #520

Open
Zandor300 wants to merge 4 commits into
masterfrom
t3code/add-october-2026-devices
Open

Zandor300 wants to merge 4 commits into
masterfrom
t3code/add-october-2026-devices

Conversation

@Zandor300

@Zandor300 Zandor300 commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds the devices Apple announced in October 2026 that DeviceKit can represent.

Device Case value Identifiers
iPad mini (A20 Pro) (announced Oct 26, ships Nov 6) Device.iPadMiniA20Pro iPad19,1, iPad19,2
Apple TV 4K (4th generation) (announced Oct 13, ships Nov 13) Device.appleTV4K4 AppleTV18,1

Details

  • Identifiers come from The Apple Wiki (verified 2026-10-27):
    • iPad mini (A20 Pro): the iPad mini 27.x firmware and iPad mini 27.2 OTA pages.
    • Apple TV 4K (4th generation): its device page (board J265AP) and the Apple TV 27.x firmware page.
    • ipsw.me doesn't list any of them yet.
  • iPad mini (A20 Pro) comes from Apple's tech specs: 8.5", 2316×1512 at 326 ppi (screen ratio (756, 1158) in points), A20 Pro, Touch ID, rounded corners, Apple Pencil Pro and Apple Pencil (USB-C), a single wide camera, USB-C, 5G, and eSIM only.
  • Apple TV 4K (4th generation) uses the A19 chip (specs).
  • Not included:
    • iPhone Duo, which is covered by Add iPhone Duo support and fix simulator detection #507.
    • HomePod mini 2, which was dropped as unused.
    • HomeView, which doesn't fit any platform DeviceKit supports.
    • The products expected at the Oct 28 "Pro and Tell" event, which haven't been announced yet.

Validation

  • Added testOctober2026Devices, which covers identifier mapping, specs and simulator variants, plus entries in the existing CPU, 5G, USB-C and eSIM tests.
  • On Xcode 26.2: iOS (iPhone 17 Pro), tvOS (Apple TV 4K 3rd gen) and watchOS (Apple Watch Ultra 3) test suites all pass.
  • The macOS tests couldn't run locally because no Mac Development signing certificate is installed. This is unrelated to the change.
  • Device.generated.swift regenerates identically from the template, and git diff --check is clean.

No screenshots: this is a library change with no UI.

🤖 Generated with Claude Code

Zandor300 added a commit that referenced this pull request Oct 27, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
9 Warnings
⚠️ Source/Device.generated.swift#L592 - Function should have complexity 10 or less: currently complexity equals 148
cyclomatic_complexity Device.generated.swift:592
⚠️ Source/Device.generated.swift#L751 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:751
⚠️ Source/Device.generated.swift#L1398 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:1398
⚠️ Source/Device.generated.swift#L1679 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:1679
⚠️ Source/Device.generated.swift#L1872 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:1872
⚠️ Source/Device.generated.swift#L2045 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:2045
⚠️ Source/Device.generated.swift#L2782 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:2782
⚠️ Source/Device.generated.swift#L2846 - TODOs should be resolved (Replace with proper implementa…).
todo Device.generated.swift:2846
⚠️ Tests/Tests.swift#L80 - Types should be nested at most 1 level deep
nesting Tests.swift:80

SwiftLint found issues

Warnings

File Line Reason
Tests.swift 80 Types should be nested at most 1 level deep (nesting)
Device.generated.swift 751 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 1398 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 1679 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 1872 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 2045 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 2782 TODOs should be resolved (Replace with proper implementa...). (todo)
Device.generated.swift 2846 TODOs should be resolved (Replace with proper implementa...). (todo)

Errors

File Line Reason
Device.generated.swift 592 Function should have complexity 10 or less: currently complexity equals 148 (cyclomatic_complexity)

Generated by 🚫 Danger

@Zandor300 Zandor300 changed the title Add HomePod mini 2, iPad mini (A20 Pro) and Apple TV 4K (4th generation) Add iPad mini (A20 Pro) and Apple TV 4K (4th generation) Oct 27, 2026
Zandor300 and others added 4 commits November 2, 2026 11:13
HomePod mini 2 maps from its verified AudioAccessory11,1 identifier and uses a new S10 CPU case. iPad mini (A20 Pro) and Apple TV 4K (4th generation) are added provisionally with Apple's published specs but no identifiers, since neither has shipped yet. The mapToDevice template now skips devices without identifiers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Map iPad19,1 and iPad19,2 to iPad mini (A20 Pro) and AppleTV18,1 to Apple TV 4K (4th generation), as listed on The Apple Wiki. Revert the mapToDevice template change for devices without identifiers, since no device needs it any more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zandor300
Zandor300 force-pushed the t3code/add-october-2026-devices branch from c279bed to 2b5bd3d Compare November 2, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant