Skip to content

Instantly share code, notes, and snippets.

@SuperZikoure
Last active September 20, 2024 16:52
Show Gist options
  • Save SuperZikoure/1689013abb0f892cee267f8104b549de to your computer and use it in GitHub Desktop.
Save SuperZikoure/1689013abb0f892cee267f8104b549de to your computer and use it in GitHub Desktop.
Apple Mobile Devices Hardware Strings
// Date : 28/05/2021
// Last Updated : 04/05/2022
// Author : Ghassane SEBAÏ
// Contact : [email protected]
// Source : https://en.wikipedia.org/wiki/List_of_iOS_and_iPadOS_devices
// Format :
// "Model Name : [Hardware Strings]"
// -> Using '/' as a separator between hardware strings.
/* -------------------- iPhone -------------------- */
// In production and supported
iPhone 11 : iPhone12,1
iPhone SE (2nd generation) : iPhone12,8
iPhone 12 Mini : iPhone13,1
iPhone 12 : iPhone13,2
iPhone 13 Mini : iPhone14,4
iPhone 13 : iPhone14,5
iPhone 13 Pro : iPhone14,2
iPhone 13 Pro Max : iPhone14,3
iPhone SE (2rd generation) : iPhone14,6
// Discontinued but still supported
iPhone 6S : iPhone8,1
iPhone 6S Plus : iPhone8,2
iPhone SE (1st generation) : iPhone8,4
iPhone 7 : iPhone9,1 / iPhone9,3
iPhone 7 Plus : iPhone9,2 / iPhone9,4
iPhone 8 : iPhone10,1 / iPhone10,4
iPhone 8 Plus : iPhone10,2 / iPhone10,5
iPhone X : iPhone10,3 / iPhone10,6
iPhone X S : iPhone11,2
iPhone X S Max : iPhone11,4 / iPhone11,6
iPhone XR : iPhone11,8
iPhone 11 Pro : iPhone12,3
iPhone 11 Pro Max : iPhone12,5
iPhone 12 Pro : iPhone13,3
iPhone 12 Pro Max : iPhone13,4
// Discontinued and unsupported (64-bit CPU)
iPhone 5S : iPhone6,1 / iPhone6,2
iPhone 6 : iPhone7,2
iPhone 6 Plus : iPhone7,1
// Discontinued and unsupported (32-bit CPU)
iPhone : iPhone1,1
iPhone 3G : iPhone1,2
iPhone 3G S : iPhone2,1
iPhone 4 : iPhone3,1 / iPhone3,2 / iPhone3,3
iPhone 4S : iPhone4,1
iPhone 5 : iPhone5,1 / iPhone5,2
iPhone 5C : iPhone5,3 / iPhone5,4
/* -------------------- iPod Touch -------------------- */
iPod Touch (1st generation) : iPod1,1
iPod Touch (2nd generation) : iPod2,1
iPod Touch (3rd generation) : iPod3,1
iPod Touch (4th generation) : iPod4,1
iPod Touch (5th generation) : iPod5,1
iPod Touch (6th generation) : iPod7,1
iPod Touch (7th generation) : iPod9,1
/* -------------------- iPad -------------------- */
// Supported
iPad (5th generation) : iPad6,11 / iPad6,12
iPad (6th generation) : iPad7,5 / iPad7,6
iPad (7th generation) : iPad7,11 / iPad7,12
iPad (8th generation) : iPad11,6 / iPad11,7
// Discontinued and unsupported (32-bit)
iPad (1st generation) : iPad1,1
iPad 2 : iPad2,1 / iPad2,2 / iPad2,3 / iPad2,4
iPad (3rd generation) : iPad3,1 / iPad3,2 / iPad3,3
iPad (4th generation) : iPad3,4 / iPad3,5 / iPad3,6
/* -------------------- iPad Mini -------------------- */
// Supported
iPad Mini 4 : iPad5,1 / iPad5,2
iPad Mini (5th generation) : iPad11,1 / iPad11,2
// Discontinued and unsupported
iPad Mini (1st generation) : iPad2,5 / iPad2,6 / iPad2,7
iPad Mini 2 : iPad4,4 / iPad4,5 / iPad4,6
iPad Mini 3 : iPad4,7 / iPad4,8 / iPad4,9
/* -------------------- iPad Air -------------------- */
// Supported
iPad Air 2 : iPad5,3 / iPad5,4
iPad Air (3rd generation) : iPad11,3 / iPad11,4
iPad Air (4th generation) : iPad13,1 / iPad13,2
// Discontinued and unsupported
iPad Air (1st generation) : iPad4,1 / iPad4,2 / iPad4,3
/* -------------------- iPad Pro -------------------- */
// Supported
iPad Pro 12.9-in. (1st generation) : iPad6,7 / iPad6,8
iPad Pro 9.7-in. : iPad6,3 / iPad6,4
iPad Pro 12.9-in. (2nd generation) : iPad7,1 / iPad7,2
iPad Pro 10.5-in. : iPad7,3 / iPad7,4
iPad Pro 12.9-in. (3rd generation) : iPad8,5 / iPad8,6 / iPad8,7 / iPad8,8
iPad Pro 11-in. (1st generation) : iPad8,1 / iPad8,2 /iPad8,3 / iPad8,4
iPad Pro 12.9-in. (4th generation) : iPad8,11 / iPad8,12
iPad Pro 11-in. (2nd generation) : iPad8,9 / iPad8,10
iPad Pro 12.9-in. (5th generation) : iPad13,8 / iPad13,9 / iPad13,10 / iPad13,11
iPad Pro 11-in. (3rd generation) : iPad13,4 / iPad13,5 / iPad13,6 / iPad13,7
/* -------------------- Apple TV -------------------- */
Apple TV (2nd generation) : App;leTV2,1
Apple TV (3rd generation) : AppleTV3,1 / AppleTV3,2
Apple TV HD : AppleTV5,3
Apple TV 4K (2017) : AppleTV6,2
Apple TV 4K (2021) : UPCOMMING // Not released yet, the hardware string was not yet disclosed
/* -------------------- Apple Watch -------------------- */
// See https://en.wikipedia.org/wiki/List_of_iOS_and_iPadOS_devices#Apple_Watch
@SuperZikoure
Copy link
Author

Updated with the latest iPhone models.
Other devices might still be out of date.
Contact me if anything is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment