Skip to content

Instantly share code, notes, and snippets.

@adamawolf
Last active February 28, 2025 06:53
Show Gist options
  • Save adamawolf/3048717 to your computer and use it in GitHub Desktop.
Save adamawolf/3048717 to your computer and use it in GitHub Desktop.
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
iPhone5,1 : iPhone 5 (GSM)
iPhone5,2 : iPhone 5 (GSM+CDMA)
iPhone5,3 : iPhone 5C (GSM)
iPhone5,4 : iPhone 5C (Global)
iPhone6,1 : iPhone 5S (GSM)
iPhone6,2 : iPhone 5S (Global)
iPhone7,1 : iPhone 6 Plus
iPhone7,2 : iPhone 6
iPhone8,1 : iPhone 6s
iPhone8,2 : iPhone 6s Plus
iPhone8,4 : iPhone SE (GSM)
iPhone9,1 : iPhone 7
iPhone9,2 : iPhone 7 Plus
iPhone9,3 : iPhone 7
iPhone9,4 : iPhone 7 Plus
iPhone10,1 : iPhone 8
iPhone10,2 : iPhone 8 Plus
iPhone10,3 : iPhone X Global
iPhone10,4 : iPhone 8
iPhone10,5 : iPhone 8 Plus
iPhone10,6 : iPhone X GSM
iPhone11,2 : iPhone XS
iPhone11,4 : iPhone XS Max
iPhone11,6 : iPhone XS Max Global
iPhone11,8 : iPhone XR
iPhone12,1 : iPhone 11
iPhone12,3 : iPhone 11 Pro
iPhone12,5 : iPhone 11 Pro Max
iPhone12,8 : iPhone SE 2nd Gen
iPhone13,1 : iPhone 12 Mini
iPhone13,2 : iPhone 12
iPhone13,3 : iPhone 12 Pro
iPhone13,4 : iPhone 12 Pro Max
iPhone14,2 : iPhone 13 Pro
iPhone14,3 : iPhone 13 Pro Max
iPhone14,4 : iPhone 13 Mini
iPhone14,5 : iPhone 13
iPhone14,6 : iPhone SE 3rd Gen
iPhone14,7 : iPhone 14
iPhone14,8 : iPhone 14 Plus
iPhone15,2 : iPhone 14 Pro
iPhone15,3 : iPhone 14 Pro Max
iPhone15,4 : iPhone 15
iPhone15,5 : iPhone 15 Plus
iPhone16,1 : iPhone 15 Pro
iPhone16,2 : iPhone 15 Pro Max
iPhone17,1 : iPhone 16 Pro
iPhone17,2 : iPhone 16 Pro Max
iPhone17,3 : iPhone 16
iPhone17,4 : iPhone 16 Plus
iPod1,1 : 1st Gen iPod
iPod2,1 : 2nd Gen iPod
iPod3,1 : 3rd Gen iPod
iPod4,1 : 4th Gen iPod
iPod5,1 : 5th Gen iPod
iPod7,1 : 6th Gen iPod
iPod9,1 : 7th Gen iPod
iPad1,1 : iPad
iPad1,2 : iPad 3G
iPad2,1 : 2nd Gen iPad
iPad2,2 : 2nd Gen iPad GSM
iPad2,3 : 2nd Gen iPad CDMA
iPad2,4 : 2nd Gen iPad New Revision
iPad3,1 : 3rd Gen iPad
iPad3,2 : 3rd Gen iPad CDMA
iPad3,3 : 3rd Gen iPad GSM
iPad2,5 : iPad mini
iPad2,6 : iPad mini GSM+LTE
iPad2,7 : iPad mini CDMA+LTE
iPad3,4 : 4th Gen iPad
iPad3,5 : 4th Gen iPad GSM+LTE
iPad3,6 : 4th Gen iPad CDMA+LTE
iPad4,1 : iPad Air (WiFi)
iPad4,2 : iPad Air (GSM+CDMA)
iPad4,3 : 1st Gen iPad Air (China)
iPad4,4 : iPad mini Retina (WiFi)
iPad4,5 : iPad mini Retina (GSM+CDMA)
iPad4,6 : iPad mini Retina (China)
iPad4,7 : iPad mini 3 (WiFi)
iPad4,8 : iPad mini 3 (GSM+CDMA)
iPad4,9 : iPad Mini 3 (China)
iPad5,1 : iPad mini 4 (WiFi)
iPad5,2 : 4th Gen iPad mini (WiFi+Cellular)
iPad5,3 : iPad Air 2 (WiFi)
iPad5,4 : iPad Air 2 (Cellular)
iPad6,3 : iPad Pro (9.7 inch, WiFi)
iPad6,4 : iPad Pro (9.7 inch, WiFi+LTE)
iPad6,7 : iPad Pro (12.9 inch, WiFi)
iPad6,8 : iPad Pro (12.9 inch, WiFi+LTE)
iPad6,11 : iPad (2017)
iPad6,12 : iPad (2017)
iPad7,1 : iPad Pro 2nd Gen (WiFi)
iPad7,2 : iPad Pro 2nd Gen (WiFi+Cellular)
iPad7,3 : iPad Pro 10.5-inch 2nd Gen
iPad7,4 : iPad Pro 10.5-inch 2nd Gen
iPad7,5 : iPad 6th Gen (WiFi)
iPad7,6 : iPad 6th Gen (WiFi+Cellular)
iPad7,11 : iPad 7th Gen 10.2-inch (WiFi)
iPad7,12 : iPad 7th Gen 10.2-inch (WiFi+Cellular)
iPad8,1 : iPad Pro 11 inch 3rd Gen (WiFi)
iPad8,2 : iPad Pro 11 inch 3rd Gen (1TB, WiFi)
iPad8,3 : iPad Pro 11 inch 3rd Gen (WiFi+Cellular)
iPad8,4 : iPad Pro 11 inch 3rd Gen (1TB, WiFi+Cellular)
iPad8,5 : iPad Pro 12.9 inch 3rd Gen (WiFi)
iPad8,6 : iPad Pro 12.9 inch 3rd Gen (1TB, WiFi)
iPad8,7 : iPad Pro 12.9 inch 3rd Gen (WiFi+Cellular)
iPad8,8 : iPad Pro 12.9 inch 3rd Gen (1TB, WiFi+Cellular)
iPad8,9 : iPad Pro 11 inch 4th Gen (WiFi)
iPad8,10 : iPad Pro 11 inch 4th Gen (WiFi+Cellular)
iPad8,11 : iPad Pro 12.9 inch 4th Gen (WiFi)
iPad8,12 : iPad Pro 12.9 inch 4th Gen (WiFi+Cellular)
iPad11,1 : iPad mini 5th Gen (WiFi)
iPad11,2 : iPad mini 5th Gen
iPad11,3 : iPad Air 3rd Gen (WiFi)
iPad11,4 : iPad Air 3rd Gen
iPad11,6 : iPad 8th Gen (WiFi)
iPad11,7 : iPad 8th Gen (WiFi+Cellular)
iPad12,1 : iPad 9th Gen (WiFi)
iPad12,2 : iPad 9th Gen (WiFi+Cellular)
iPad14,1 : iPad mini 6th Gen (WiFi)
iPad14,2 : iPad mini 6th Gen (WiFi+Cellular)
iPad13,1 : iPad Air 4th Gen (WiFi)
iPad13,2 : iPad Air 4th Gen (WiFi+Cellular)
iPad13,4 : iPad Pro 11 inch 5th Gen
iPad13,5 : iPad Pro 11 inch 5th Gen
iPad13,6 : iPad Pro 11 inch 5th Gen
iPad13,7 : iPad Pro 11 inch 5th Gen
iPad13,8 : iPad Pro 12.9 inch 5th Gen
iPad13,9 : iPad Pro 12.9 inch 5th Gen
iPad13,10 : iPad Pro 12.9 inch 5th Gen
iPad13,11 : iPad Pro 12.9 inch 5th Gen
iPad13,16 : iPad Air 5th Gen (WiFi)
iPad13,17 : iPad Air 5th Gen (WiFi+Cellular)
iPad13,18 : iPad 10th Gen
iPad13,19 : iPad 10th Gen
iPad14,3 : iPad Pro 11 inch 4th Gen
iPad14,4 : iPad Pro 11 inch 4th Gen
iPad14,5 : iPad Pro 12.9 inch 6th Gen
iPad14,6 : iPad Pro 12.9 inch 6th Gen
iPad14,8 : iPad Air 6th Gen
iPad14,9 : iPad Air 6th Gen
iPad14,10 : iPad Air 7th Gen
iPad14,11 : iPad Air 7th Gen
iPad16,1 : iPad mini 7th Gen (WiFi)
iPad16,2 : iPad mini 7th Gen (WiFi+Cellular)
iPad16,3 : iPad Pro 11 inch 5th Gen
iPad16,4 : iPad Pro 11 inch 5th Gen
iPad16,5 : iPad Pro 12.9 inch 7th Gen
iPad16,6 : iPad Pro 12.9 inch 7th Gen
Watch1,1 : Apple Watch 38mm case
Watch1,2 : Apple Watch 42mm case
Watch2,6 : Apple Watch Series 1 38mm case
Watch2,7 : Apple Watch Series 1 42mm case
Watch2,3 : Apple Watch Series 2 38mm case
Watch2,4 : Apple Watch Series 2 42mm case
Watch3,1 : Apple Watch Series 3 38mm case (GPS+Cellular)
Watch3,2 : Apple Watch Series 3 42mm case (GPS+Cellular)
Watch3,3 : Apple Watch Series 3 38mm case (GPS)
Watch3,4 : Apple Watch Series 3 42mm case (GPS)
Watch4,1 : Apple Watch Series 4 40mm case (GPS)
Watch4,2 : Apple Watch Series 4 44mm case (GPS)
Watch4,3 : Apple Watch Series 4 40mm case (GPS+Cellular)
Watch4,4 : Apple Watch Series 4 44mm case (GPS+Cellular)
Watch5,1 : Apple Watch Series 5 40mm case (GPS)
Watch5,2 : Apple Watch Series 5 44mm case (GPS)
Watch5,3 : Apple Watch Series 5 40mm case (GPS+Cellular)
Watch5,4 : Apple Watch Series 5 44mm case (GPS+Cellular)
Watch5,9 : Apple Watch SE 40mm case (GPS)
Watch5,10 : Apple Watch SE 44mm case (GPS)
Watch5,11 : Apple Watch SE 40mm case (GPS+Cellular)
Watch5,12 : Apple Watch SE 44mm case (GPS+Cellular)
Watch6,1 : Apple Watch Series 6 40mm case (GPS)
Watch6,2 : Apple Watch Series 6 44mm case (GPS)
Watch6,3 : Apple Watch Series 6 40mm case (GPS+Cellular)
Watch6,4 : Apple Watch Series 6 44mm case (GPS+Cellular)
Watch6,6 : Apple Watch Series 7 41mm case (GPS)
Watch6,7 : Apple Watch Series 7 45mm case (GPS)
Watch6,8 : Apple Watch Series 7 41mm case (GPS+Cellular)
Watch6,9 : Apple Watch Series 7 45mm case (GPS+Cellular)
Watch6,10 : Apple Watch SE 40mm case (GPS)
Watch6,11 : Apple Watch SE 44mm case (GPS)
Watch6,12 : Apple Watch SE 40mm case (GPS+Cellular)
Watch6,13 : Apple Watch SE 44mm case (GPS+Cellular)
Watch6,14 : Apple Watch Series 8 41mm case (GPS)
Watch6,15 : Apple Watch Series 8 45mm case (GPS)
Watch6,16 : Apple Watch Series 8 41mm case (GPS+Cellular)
Watch6,17 : Apple Watch Series 8 45mm case (GPS+Cellular)
Watch6,18 : Apple Watch Ultra
Watch7,1 : Apple Watch Series 9 41mm case (GPS)
Watch7,2 : Apple Watch Series 9 45mm case (GPS)
Watch7,3 : Apple Watch Series 9 41mm case (GPS+Cellular)
Watch7,4 : Apple Watch Series 9 45mm case (GPS+Cellular)
Watch7,5 : Apple Watch Ultra 2
Watch7,8 : Apple Watch Series 10 42mm case (GPS)
Watch7,9 : Apple Watch Series 10 46mm case (GPS
Watch7,10 : Apple Watch Series 10 42mm case (GPS+Cellular)
Watch7,11 : Apple Watch Series 10 46mm (GPS+Cellular)
@ioshc
Copy link

ioshc commented Oct 29, 2024

@mexmer Got it, thanks for you clarification, bro.

@aureliencolas
Copy link

@adamawolf sorry if the question has already been asked but could you please consider adding Apple TVs to this list? I know it's not a "mobile" device but I think it would make sense here.

In any case, thanks for your work.

@daluu
Copy link

daluu commented Nov 9, 2024

sorry if the question has already been asked but could you please consider adding Apple TVs to this list? I know it's not a "mobile" device but I think it would make sense here.

For other device types, consider pinging the other mentioned repos & gists referenced in this gist. There are other sources to use. That way we keep this one purely for "mobile". That and the fact that while very popular I can see, this gist shouldn't be the de facto standard for Apple device mappings, there are others to choose from, and a repo version is a lot more desirable than a gist.

@ob0521
Copy link

ob0521 commented Nov 27, 2024

FYI like half of the commercial names for the iPad ids are wrong, this needs to be corrected.

@luoxixuan
Copy link

luoxixuan commented Nov 27, 2024 via email

@xwi88
Copy link

xwi88 commented Nov 27, 2024 via email

@yaoyue
Copy link

yaoyue commented Jan 8, 2025

Apple Watch Series 10 (Hermes, China, 46 mm) 希望可以继续更新 Apple Watch 设备信息

@luoxixuan
Copy link

luoxixuan commented Jan 8, 2025 via email

@xwi88
Copy link

xwi88 commented Jan 8, 2025 via email

@yaoyue
Copy link

yaoyue commented Jan 8, 2025

LTE

No Watch7,6 And Watch7,7

@adamawolf
Copy link
Author

Thanks @yaoyue and @jarrodnorwell added the watch and iPad mini models you pointed out.

@ob0521 feel free to suggest edits and I'll incorporate them if they make sense to me

@Citiz3n-X
Copy link

Citiz3n-X commented Jan 12, 2025

2025-01-12 19_29_25-List of Apple's mobile device codes types a k a  machine ids (e g  `iPhone1,1`, Yet test logs reads my device as iPhone 12 ?

@mexmer
Copy link

mexmer commented Jan 13, 2025

Yet test logs reads my device as iPhone 12 ?

sound like issue with application you are using, that it doesn't properly map devicename.
identification here is correct.
bellow is snippet from Xcode device database
{E101561C-B5A3-46DD-9E02-1DEE15B089D6}

@gabriel2mm
Copy link

"iPhone1,1" : "iPhone",
"iPhone1,2" : "iPhone 3G",
"iPhone2,1" : "iPhone 3GS",
"iPhone3,1" : "iPhone 4",
"iPhone3,2" : "iPhone 4 GSM Rev A",
"iPhone3,3" : "iPhone 4 CDMA",
"iPhone4,1" : "iPhone 4S",
"iPhone5,1" : "iPhone 5 (GSM)",
"iPhone5,2" : "iPhone 5 (GSM+CDMA)",
"iPhone5,3" : "iPhone 5C (GSM)",
"iPhone5,4" : "iPhone 5C (Global)",
"iPhone6,1" : "iPhone 5S (GSM)",
"iPhone6,2" : "iPhone 5S (Global)",
"iPhone7,1" : "iPhone 6 Plus",
"iPhone7,2" : "iPhone 6",
"iPhone8,1" : "iPhone 6s",
"iPhone8,2" : "iPhone 6s Plus",
"iPhone8,4" : "iPhone SE (GSM)",
"iPhone9,1" : "iPhone 7",
"iPhone9,2" : "iPhone 7 Plus",
"iPhone9,3" : "iPhone 7",
"iPhone9,4" : "iPhone 7 Plus",
"iPhone10,1" : "iPhone 8",
"iPhone10,2" : "iPhone 8 Plus",
"iPhone10,3" : "iPhone X Global",
"iPhone10,4" : "iPhone 8",
"iPhone10,5" : "iPhone 8 Plus",
"iPhone10,6" : "iPhone X GSM",
"iPhone11,2" : "iPhone XS",
"iPhone11,4" : "iPhone XS Max",
"iPhone11,6" : "iPhone XS Max Global",
"iPhone11,8" : "iPhone XR",
"iPhone12,1" : "iPhone 11",
"iPhone12,3" : "iPhone 11 Pro",
"iPhone12,5" : "iPhone 11 Pro Max",
"iPhone12,8" : "iPhone SE 2nd Gen",
"iPhone13,1" : "iPhone 12 mini",
"iPhone13,2" : "iPhone 12",
"iPhone13,3" : "iPhone 12 Pro",
"iPhone13,4" : "iPhone 12 Pro Max",
"iPhone14,4" : "iPhone 13 mini",
"iPhone14,5" : "iPhone 13",
"iPhone14,2" : "iPhone 13 Pro",
"iPhone14,3" : "iPhone 13 Pro Max",
"iPhone14,6" : "iPhone SE (3rd Gen)",
"iPhone14,7" : "iPhone 14",
"iPhone14,8" : "iPhone 14 Plus",
"iPhone15,2" : "iPhone 14 Pro",
"iPhone15,3" : "iPhone 14 Pro Max",
"iPhone15,4" : "iPhone 15",
"iPhone15,5" : "iPhone 15 Plus",
"iPhone16,1" : "iPhone 15 Pro",
"iPhone16,2" : "iPhone 15 Pro Max",
"iPhone17,3" : "iPhone 16",
"iPhone17,4" : "iPhone 16 Plus",
"iPhone17,1" : "iPhone 16 Pro",
"iPhone17,2" : "iPhone 16 Pro Max",

@xwi88
Copy link

xwi88 commented Jan 31, 2025 via email

@luoxixuan
Copy link

luoxixuan commented Jan 31, 2025 via email

@xuchuandong
Copy link

the "iPhone 16 e" is Supported?

@xwi88
Copy link

xwi88 commented Feb 20, 2025 via email

@xperseguers
Copy link

the "iPhone 16 e" is Supported?

Couldn't find a reference to it, yet, despite an update available today. But "enlightened" guess and leaks from Apple in the last few months would tend to give this:

case "iPhone17,5":
    return "iPhone 16e";

@mexmer
Copy link

mexmer commented Feb 20, 2025

apple has not released new xcode since december, and it was not there. so we will need to wait for someone to buy device and connect it to computer.

@mexmer
Copy link

mexmer commented Feb 20, 2025

the "iPhone 16 e" is Supported?

Couldn't find a reference to it, yet, despite an update available today. But "enlightened" guess and leaks from Apple in the last few months would tend to give this:

case "iPhone17,5":
    return "iPhone 16e";

yes, it's quite possible, since it shares same CPU as iPhone 16, but i would hold with guesses, apple also might create hole (as they sometimes do) and mark it as iPhone17,6

@xuchuandong
Copy link

(* ̄rǒ ̄) so iPhone 16e Model value finally is what?
i will buy one iPhone 16e tomorrow 😄

@Romualdo54
Copy link

HELLO PLEASE I NEED A IPHONE 16 PRO MAX CODE SOURCE

@xuchuandong
Copy link

HELLO PLEASE I NEED A IPHONE 16 PRO MAX CODE SOURCE

😄haha

@mexmer
Copy link

mexmer commented Feb 20, 2025

it's $599 in US, quite disapointing, since it's 40% hike up (iphone SE 2022 was selling for $429), i would not say value is terrible, but definetly it doesn't fall to budget phone category.

according to apple website, they will be available next friday (eg. 28.2.), but tomorow starts preorders. but if you get one, please post identification here.

@yaoyue
Copy link

yaoyue commented Feb 21, 2025

Due to the needs of the company's internal business, we need to maintain this mapping relationship for a long time. Now put it on GitHub, friends who need it can check it out

[Apple-Device-Model]

@neilpomerleau
Copy link

iPhone 16e is iPhone17,5 as confirmed in the Xcode 16.3 beta (device_traits.db):

image

@mexmer
Copy link

mexmer commented Feb 24, 2025

@neilpomerleau nice, next day after i check they publish new xcode 🤣

@abdullaha6
Copy link

@neilpomerleau do you know the viewport size of the iPhone 16e?

@mexmer
Copy link

mexmer commented Feb 27, 2025

it should be same display as in iphone 12/13/14, therefore same viewport.

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