Skip to content

Instantly share code, notes, and snippets.

@adamawolf
Last active September 18, 2024 10:46
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,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
@mexmer
Copy link

mexmer commented Oct 19, 2022

i see, it's incorrect in first post ... my bad @funnel20 , you are correct. i did thought you refering to my post, where i didn't mention sizes at all (it was copied from database), until someone asked about sizes

@funnel20
Copy link

@mexmer No worries, I'm happy to contribute

@adamawolf
Copy link
Author

@funnel20 fixed, thanks for flagging.

@mexmer incorporated, thanks once again.

Re: iPad14,3-A vs. iPad14,3-B.. anyone know why they are doing this? We obviously want to have both the A and B versions in this list, but I wonder what Apple's rationale is.

@mexmer
Copy link

mexmer commented Oct 20, 2022

@adamawolf can you please use 6th gen for new ipad pro 11 as i mentioned in my post, so it's inline with other ipad pro 11 inch?

genesis of ipad pro was
1st gen 12.9 and 9.7
2nd gen 12.9 and 10.5
3rd gen 12.9 and 11
4th gen 12.9 and 11 (labeled as 2nd gen)
5th gen 12.9 and 11 (labeled as 3rd gen)
6th gen 12.9 and 11 (labeled as 4th gen)

in table on top you use gen of ipad pro, except the last ones you added, so now you have 2 differen ipad pro 11 4th gen

https://gist.github.com/adamawolf/3048717#file-apple_mobile_device_types-txt-L112
https://gist.github.com/adamawolf/3048717#file-apple_mobile_device_types-txt-L140

@funnel20
Copy link

funnel20 commented Oct 20, 2022

@adamawolf Based on the question from @mexmer it seems a good moment to reconsider why you would use your own logic for product name generations and deviate from the ones that Apple uses. As well as other sites, such as Wikipedia.

According to Apple the iPad Pro 11" has 4 generations, since the 9.7" and 10.5" do not count as predecessors for this 11" display dimension. For Apple the 9.7" and 10.5" do count as different models, and both have only 1 generation. Hence the generation is not mentioned in the product name.

In our apps we use the product names from the list above in the UI. This means that the Apple-minded user might get confused by seeing a product name that doesn't even exist. For example he has bought an Apple advertised "iPad Pro 11" (3rd generation)" and then the app will show "5th generation". While yesterday the 4th generation was announced. Hmmm....

It totally makes sense to update existing model names in the list above when new products are introduced. Especially since a brand new product never has a generation in it (e.g. "iProduct"). An update of the model will be called "iProduct (2nd generation)", automatically renaming the original product to "iProduct (1st generation)".

For whatever we do and store in our code, we only use the machine identifiers (e.g. "iPad13,4"), which are constant. Only when using this data, for example in analytics or in the app UI, we will show the matching product names. So it's perfect when that name changes over time, as Apple continues to rename their older products as well.

@mexmer
Copy link

mexmer commented Oct 20, 2022

@funnel20 in our software we use generations of products ... size variation doesn't matter, apple (re)naming and (re)using names of products also doesn't matter

tbh. i don't care what naming is used in list, as long, as it's consistent in it's own scheme.

@cpsauer
Copy link

cpsauer commented Oct 26, 2022

@adamawolf, how confident are we in the "-A", "-B" suffixes of the new iPads, e.g., iPad14,3-A?

(I'm seeing them here, but not in, e.g., the Apple Legal page links https://www.apple.com/legal/rfexposure/ipad14,6/en/ or on https://everymac.com/systems/apple/ipad/index-ipad-specs.html. Sounds like there's some, more authoritative Xcode database--if so do you have info on how to access?)

@mexmer
Copy link

mexmer commented Oct 26, 2022

@adamawolf, how confident are we in the "-A", "-B" suffixes of the new iPads, e.g., iPad14,3-A?

(I'm seeing them here, but not in, e.g., the Apple Legal page links https://www.apple.com/legal/rfexposure/ipad14,6/en/ or on https://everymac.com/systems/apple/ipad/index-ipad-specs.html. Sounds like there's some, more authoritative Xcode database--if so do you have info on how to access?)

it has been mentioned here already
Download latest version of xcode, rightclick xcode and select "show package content", then browse here

Contents/Developer/Platforms/iPhoneOS.platform/usr/standalone/device_traits.db - ipad, iphone
Contents/Developer/Platforms/WatchOS.platform/usr/standalone/device_traits.db - apple watches
Contents/Developer/Platforms/TvOS.platform/usr/standalone/device_traits.db - apple tv

as for, what is latest, it depends, it might be beta, it might be RC, or latest might be in appstore (eg. no new public version).

device_traits imo server as specification for emulator and for limiting your app to specific hardware

until someone has device at hand, we can't tell for sure, if that -A -B is actually used, geekbench lists them without suffix.
https://browser.geekbench.com/v5/compute/5721165

@cpsauer
Copy link

cpsauer commented Oct 26, 2022

Awesome. Thanks so much. Sorry to bug, but thanks for giving me a sense of your certainty level.
[Was asking because I was contributing to an open source library, GBDeviceInfo, and wanted to make sure that my PR was as good as it could be.]

@neilpomerleau
Copy link

Based on actual hardware testing, the new iPads do not report the -A or -B identifiers, just these:

iPad14,3
iPad14,4
iPad14,5
iPad14,6

@cpsauer
Copy link

cpsauer commented Nov 9, 2022

Sweet! Yay for simplicity and consistency. Thanks for reporting back!

@mexmer
Copy link

mexmer commented Nov 9, 2022

thanks for confirmation.

@jtorvald
Copy link

jtorvald commented Dec 5, 2022

To scratch my own itch I created a small utility to generate source code based on the Xcode device databases.
When you don't have Xcode installed on your system, it uses the gist above (or you can pass a parameter to use the gist above).
You can checkout my AD2C repo or download the latest release 1.2.2. Feedback, template improvements and requests are welcome.

@luoxixuan
Copy link

luoxixuan commented Dec 5, 2022 via email

@Kevinwkd
Copy link

Thanks for this awesome gist

@adamawolf
Copy link
Author

Incorporated @neilpomerleau's feedback here. Thanks.

@luoxixuan
Copy link

luoxixuan commented Jan 25, 2023 via email

@regetskcob
Copy link

Thanks for this great collection! I think there is a typo in line 140 and 141 which seems to be the 6th gen instead of 4th. :)

@luoxixuan
Copy link

luoxixuan commented Feb 10, 2023 via email

@kotori2
Copy link

kotori2 commented Feb 22, 2023

iPad14,3 : iPad Pro 11 inch 4th Gen
iPad14,4 : iPad Pro 11 inch 4th Gen

Should be 6th gen

@Pimau
Copy link

Pimau commented Feb 22, 2023

iPad14,3 : iPad Pro 11 inch 4th Gen
iPad14,4 : iPad Pro 11 inch 4th Gen

Should be 6th gen

The 12.9 inch models are 6th gen; 11 inch 14,3/4 are 4th gen.

@sg1888
Copy link

sg1888 commented Apr 20, 2023

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

The iPad Pro 11 inch are all 3rd gen.

Also, the descriptions should be as follows:

iPad13,4 : iPad Pro 11 inch 3rd Gen (WiFi)
iPad13,5 : iPad Pro 11 inch 3rd Gen (WiFi+Cellular US)
iPad13,6 : iPad Pro 11 inch 3rd Gen (WiFi+Cellular Global)
iPad13,7 : iPad Pro 11 inch 3rd Gen (WiFi+Cellular China)

@samialdury
Copy link

samialdury commented Jun 2, 2023

Here are some Apple TV identifiers:

AppleTV1,1 : Apple TV 1st Gen
AppleTV2,1 : Apple TV 2nd Gen
AppleTV3,1 : Apple TV 3rd Gen (Early 2012)
AppleTV3,2 : Apple TV 3rd Gen (Early 2013)
AppleTV5,3 : Apple TV 4th Gen
AppleTV6,2 : Apple TV 4K 1st Gen
AppleTV11,1 : Apple TV 4K 2nd Gen
AppleTV14,1 : Apple TV 4K 3rd Gen

@LarsPetersHH
Copy link

Thanks for the awesome list!
Would it be possible to add a license (e.g. MIT or MIT-0) to the top of the gist? I'm asking because I would love to use it in a client project, without licensing information this is not possible.

@luoxixuan
Copy link

luoxixuan commented Jul 3, 2023 via email

@Waynus71
Copy link

Can anyone explain what these deviceIDs are used for? If I was to look at my Apple device, I do not see these device type IDs. For example, my iPhone 14 Pro does not show 15,3 anywhere. Rather it shows MPXV3ZD/A as the Model Number. So where is 15,3 shown and what is this used for?

@GregOriol
Copy link

@Waynus71 It's a technical information, mostly for developers: you can access it through code (https://stackoverflow.com/questions/33493800/how-to-get-the-iphone-type-from-simulator-ios) but it's not visible to users

@Coresi7
Copy link

Coresi7 commented Jul 27, 2023

Can anyone explain what these deviceIDs are used for? If I was to look at my Apple device, I do not see these device type IDs. For example, my iPhone 14 Pro does not show 15,3 anywhere. Rather it shows MPXV3ZD/A as the Model Number. So where is 15,3 shown and what is this used for?

These deviceIDs are useful for devs, if we need to develop apps and try to identify apple devices, these device id is of vital importance for us.

@mexmer
Copy link

mexmer commented Jul 27, 2023

DeviceID is also usefull for desktop software that communicates with iphone, it's one of values you get when you request device information from device (either in dfu, restore, or normal mode), and it's much easier to maintain, that list of model numbers that are user visible (like MM9L3FD/A - which is one of ipad air 5 models). but yeah, generally it matters mainly for developers, users don't need to care about it, although on Mac (either macbook or desktop), you can get MacXX,X,iMacXX,X and so on in system info app. which mas similar purpose

@arturCwiklinsky
Copy link

What about creating a json format from this file?

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