Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
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
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
iPad7,4 : iPad Pro 10.5-inch
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)
iPad13,1 : iPad air 4th Gen (WiFi)
iPad13,2 : iPad air 4th Gen (WiFi+Celular)
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)
@kdreibel

This comment has been minimized.

Copy link

@kdreibel kdreibel commented Jun 14, 2013

iPhone3,2 : iPhone 4 GSM Rev A

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Oct 28, 2014

Updated as 10/28/2014. Note that there is a China iPad mini 3 release pending.. we don't know what that code is yet.

@LukasCZ

This comment has been minimized.

Copy link

@LukasCZ LukasCZ commented Nov 14, 2014

this is great, thanks! I searched for a while and this is the only updated list I could find.

@tvvocold

This comment has been minimized.

Copy link

@tvvocold tvvocold commented Sep 16, 2016

hello, please add iPhone 7 & iPhone 7 Plus' device codes

@kuchhadiyaa

This comment has been minimized.

Copy link

@kuchhadiyaa kuchhadiyaa commented Oct 8, 2016

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Feb 7, 2017

Updated as of 2/7/2017.

@adonoho

This comment has been minimized.

Copy link

@adonoho adonoho commented Feb 17, 2017

@ReanimationXP

This comment has been minimized.

Copy link

@ReanimationXP ReanimationXP commented Apr 6, 2017

Updated yet again correcting iPhone 7 designations and normalizing formatting:
https://gist.github.com/ReanimationXP/53c5a6a329397fb8fb0742d35112d345

(credit to adonoho for Watch identifiers)

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Nov 16, 2017

Updated as of 11/15/2017.

@Stoppels

This comment has been minimized.

Copy link

@Stoppels Stoppels commented Dec 25, 2017

There is no iPhone8,3. All SE devices are known as iPhone8,4.

Edit: and there are some iPads missing.

@ReanimationXP

This comment has been minimized.

Copy link

@ReanimationXP ReanimationXP commented Mar 21, 2018

Added some additional devices including latest phones and some iPads, removed duplicates:
https://gist.github.com/ReanimationXP/53c5a6a329397fb8fb0742d35112d345

@timdiggins

This comment has been minimized.

Copy link

@timdiggins timdiggins commented Mar 24, 2018

@rose64bit

This comment has been minimized.

Copy link

@rose64bit rose64bit commented Mar 27, 2018

Shouldn’t this file have a different name that doesn’t include iOS since it includes Apple Watch (watchOS) devices?
Maybe we could add in all the Mac IDs too and make it an Apple Device Model ID list.

@Tweaker177

This comment has been minimized.

Copy link

@Tweaker177 Tweaker177 commented Apr 11, 2018

Thx this list is great for quickly seeing what device users are on that email me with tech support error logs/pkg lists for me to try to figure out what the prob is.

@suwenclub

This comment has been minimized.

Copy link

@suwenclub suwenclub commented Sep 14, 2018

love it

@ZeroOnet

This comment has been minimized.

Copy link

@ZeroOnet ZeroOnet commented Sep 14, 2018

Lack of Xr、Xs、Xs Max?

@pschmidtboeing

This comment has been minimized.

Copy link

@pschmidtboeing pschmidtboeing commented Sep 14, 2018

Thank you for this list. Looks like a couple of items were missing. In my fork I added: iPad4,3 iPad5,2 iPad7,5 and iPad 7,6
I also edited many of them clarity and consistency, and corrected a couple of errors. For example, changing "iPod3,1 : 3rd Gen iPod" to "iPod3,1 : iPod 3rd Gen".

@darnfish

This comment has been minimized.

Copy link

@darnfish darnfish commented Sep 16, 2018

iPhone11,2 : iPhone XS
iPhone11,4 : iPhone XS Max
iPhone11,8 : iPhone XR

@nikans

This comment has been minimized.

Copy link

@nikans nikans commented Sep 18, 2018

@williamsthing where did you get this info?

@monomichael

This comment has been minimized.

Copy link

@monomichael monomichael commented Sep 18, 2018

@williamsthing where did you get this info?

@nikans I got the same results in the simulator. However, I suspect there will be different identifiers depending on countries/ regions.

@SudarshanMahesh

This comment has been minimized.

Copy link

@SudarshanMahesh SudarshanMahesh commented Sep 18, 2018

iPhone10,3: iPhone X Global
iPhone10,6: iPhone X GSM
iPhone11,2: iPhone XS
iPhone11,4: iPhone XS Max
iPhone11,6: iPhone XS Max China
iPhone11,8: iPhone XR

from https://ipsw.me/otas

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Sep 21, 2018

Updated with the fall 2018 devices, and filled in a few gaps. Thanks everyone.

@atmonshi

This comment has been minimized.

Copy link

@atmonshi atmonshi commented Sep 26, 2018

thank you all for this list ❤️

@zeroimpl

This comment has been minimized.

Copy link

@zeroimpl zeroimpl commented Oct 2, 2018

Thanks for maintaining this. Note there are duplicate rows for iPhone10,3 right now.

@fabio-cerdeiral-ck

This comment has been minimized.

Copy link

@fabio-cerdeiral-ck fabio-cerdeiral-ck commented Oct 8, 2018

iPhone XS Max models are inverted, the correct is:

iPhone11,4: iPhone XS Max China
iPhone11,6: iPhone XS Max Global
@theLMGN

This comment has been minimized.

Copy link

@theLMGN theLMGN commented Oct 16, 2018

iPhone XS Max models are inverted, the correct is:

iPhone11,4: iPhone XS Max China
iPhone11,6: iPhone XS Max Global

Confirming, have a global XS Max, it's 11,6

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Nov 1, 2018

Fixed duplicate iPhone10,3 and incorrect 11,4 & 11,6 labels.

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Nov 1, 2018

Updated as of 11/1/2018. Added the new edge-to-edge face ID iPads (iPad8,1 -> iPad8,8).

@liangshuocj

This comment has been minimized.

Copy link

@liangshuocj liangshuocj commented Nov 6, 2018

Thank you.

@krisanovdev

This comment has been minimized.

Copy link

@krisanovdev krisanovdev commented Nov 16, 2018

That's nice. Thank you.

@andylarwing

This comment has been minimized.

Copy link

@andylarwing andylarwing commented Nov 21, 2018

Great info. Thanks

@asidpulse

This comment has been minimized.

Copy link

@asidpulse asidpulse commented Dec 5, 2018

This is just fantastic.
Many, many thanks to all who have contributed! And to all who will contribute!
It is greatly appreciated.

@asherlporetz

This comment has been minimized.

Copy link

@asherlporetz asherlporetz commented Dec 17, 2018

Shouldn’t this file have a different name that doesn’t include iOS since it includes Apple Watch (watchOS) devices?
Maybe we could add in all the Mac IDs too and make it an Apple Device Model ID list.

https://everymac.com/systems/by_capability/mac-specs-by-machine-model-machine-id.html

@sanshao

This comment has been minimized.

Copy link

@sanshao sanshao commented Dec 31, 2018

pls change

iPhone11,2: iPhone XS
iPhone11,4: iPhone XS Max China
iPhone11,6: iPhone XS Max
iPhone11,8: iPhone XR

to format

iPhone11,2 : iPhone XS
iPhone11,4 : iPhone XS Max China
iPhone11,6 : iPhone XS Max
iPhone11,8 : iPhone XR

keep formatter identical

@jackiejtr

This comment has been minimized.

Copy link

@jackiejtr jackiejtr commented Feb 4, 2019

have a China XS Max, it's 11,6 not 11,4

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Feb 22, 2019

I fixed the minor formatting issue @sanshao mentioned.

Per @jackiejtr, I switched iPhone11,6 to be designated as the "global" iPhone XS Max. I'm unable to verify if iPhone11,4 is actually the non-global ID, or if its a real ID at all. If it's NOT the non-global, the iPhone11,6 may just be universal for all iPhone XS Max models. Does anyone know?

@Stoppels

This comment has been minimized.

Copy link

@Stoppels Stoppels commented Feb 26, 2019

iPhone11,4 is an odd one. Apple never released it anywhere as far as anyone knows, but it's in the IPSW link anyway. iPhone11,6 is global/universal and also the only identifier that appears to be in use. iPhone11,4 is not Chinese as far as is known. We can't confirm anything except its existence, leading me to conclude that unless it's in use with specific provider it's probably some kind of prototype or model they canceled last-minute.

updates-http.cdn-apple.com/2019WinterFCS/fullrestores/041-39277/31DCC7DA-292C-11E9-A7C6-3211412B0A59/iPhone11,4,iPhone11,6_12.1.4_16D57_Restore.ipsw

Edit: And iPhone8,3 still does not exist (just saw I mentioned this in 2017).

@kersson

This comment has been minimized.

Copy link

@kersson kersson commented Apr 3, 2019

@bilaalrashid

This comment has been minimized.

Copy link

@bilaalrashid bilaalrashid commented Apr 23, 2019

Watch1,2 should probably be 42mm. 38mm was written for both Watch1,1 and Watch1,2.
Watch1,1 : Apple Watch 38mm case
Watch1,2 : Apple Watch 38mm case

@liangshuocj

This comment has been minimized.

Copy link

@liangshuocj liangshuocj commented Jun 11, 2019

iPod9,1 : 7th Gen, 2019

@zdj1414

This comment has been minimized.

Copy link

@zdj1414 zdj1414 commented Aug 12, 2019

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
iPod9,1 : 7th Gen iPod

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Aug 16, 2019

Added the new iPad Air's and minis, and the new 2019 iPod.

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Aug 16, 2019

Removed iPhone8,3

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Aug 16, 2019

Fixed Watch1,2 : Apple Watch 38mm case -> Watch1,2 : Apple Watch 42mm case

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Aug 28, 2019

Note these model numbers can now be used for SwiftUI previews:

#if DEBUG
struct ExampleView_Previews: PreviewProvider {
    static var previews: some View {
        ForEach(["iPhone SE", "iPhone XS Max", "iPad6,4"], id: \.self) { deviceName in
            ExampleView()
                .previewDevice(PreviewDevice(rawValue: deviceName))
        }
    }
}
#endif

In light of this I'll try to be even more diligent in keeping them updated 😄

@9516ana

This comment has been minimized.

Copy link

@9516ana 9516ana commented Sep 15, 2019

Sorry, but how is it possible to have duplications if the iphone is different? For example:
iPhone9,1 : iPhone 7
iPhone9,3 : iPhone 7
iPhone10,1 : iPhone 8
iPhone10,4 : iPhone 8

@benadamstyles

This comment has been minimized.

Copy link

@benadamstyles benadamstyles commented Sep 15, 2019

iPhone12,1 : iPhone 11
iPhone12,3 : iPhone 11 Pro
iPhone12,5 : iPhone 11 Pro Max
@9516ana

This comment has been minimized.

Copy link

@9516ana 9516ana commented Sep 15, 2019

Please I have a doubt, what is the difference between: iPhone9,1 and iPhone9,3? And iPhone10,1 with IPhone10,4?

Many thanks Ana

@afit

This comment has been minimized.

Copy link

@afit afit commented Sep 16, 2019

@9516ana see iPhone9,1 vs iPhone9,3. It's the variant field you'll want to pay attention to. There are many different types of code used to identify Apple devices: these are model identifiers, and they don't provide a lot of granularity.

@Zhaoxiasi

This comment has been minimized.

Copy link

@Zhaoxiasi Zhaoxiasi commented Sep 19, 2019

Is someone knows model of the new ipads published on 9-12?
iPad12,1?

@li8911255

This comment has been minimized.

Copy link

@li8911255 li8911255 commented Sep 20, 2019

iPhone12,1 : iPhone 11
iPhone12,3 : iPhone 11 Pro
iPhone12,5 : iPhone 11 Pro Max

was these came from official or thirdparty else?Appreciate for it

@benadamstyles

This comment has been minimized.

Copy link

@benadamstyles benadamstyles commented Sep 20, 2019

These came from running the simulator for each device and logging the value out to the dev console. They are corroborated if you google them, you’ll find lots of articles mentioning those machineIds

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Sep 22, 2019

Thanks @benadamstyles, I verified and added the iPhone identifiers.

@Zhaoxiasi, the ID for the Sep 2019 iPad (10.2") is still unknown.

@indieshack

This comment has been minimized.

Copy link

@indieshack indieshack commented Sep 22, 2019

anyone have an idea of the new 7th generation iPad (10.2") identifier?

@haroldogtf

This comment has been minimized.

Copy link

@haroldogtf haroldogtf commented Sep 23, 2019

The identifier for 7th generation iPad is "iPad7,11" and "iPad7,12".

@indieshack

This comment has been minimized.

Copy link

@indieshack indieshack commented Sep 23, 2019

The identifier for 7th generation iPad is "iPad7,11" and "iPad7,12".

Thanks Harold

@Zhaoxiasi

This comment has been minimized.

Copy link

@Zhaoxiasi Zhaoxiasi commented Sep 24, 2019

Thanks @benadamstyles, I verified and added the iPhone identifiers.

@Zhaoxiasi, the ID for the Sep 2019 iPad (10.2") is still unknown.

Thanks

@indieshack

This comment has been minimized.

Copy link

@indieshack indieshack commented Sep 24, 2019

Thanks @benadamstyles, I verified and added the iPhone identifiers.
@Zhaoxiasi, the ID for the Sep 2019 iPad (10.2") is still unknown.

Thanks

Doesn't iPad7,11 and iPad7,12 reference the 10.2" 7th generation iPad released in September?

@Jayesh4-Mahajan

This comment has been minimized.

Copy link

@Jayesh4-Mahajan Jayesh4-Mahajan commented Sep 25, 2019

The Identifier for Watch Series 5 are -
Watch5,4 : Apple Watch Series 5 (44mm, LTE)
Watch5,3 : Apple Watch Series 5 (40mm, LTE)
Watch5,2 : Apple Watch Series 5 (44mm)
Watch5,1 : Apple Watch Series 5 (40mm)

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Sep 26, 2019

Added

iPad7,11 : iPad 7th Gen 10.2-inch (WiFi)
iPad7,12 : iPad 7th Gen 10.2-inch (WiFi+Cellular)

thanks @haroldogtf

Added

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)

thanks @Jayesh4-Mahajan

That should be all of the updates for 2019.

@q222

This comment has been minimized.

Copy link

@q222 q222 commented Sep 27, 2019

ㄱㅅ

@nullcc

This comment has been minimized.

Copy link

@nullcc nullcc commented Oct 25, 2019

Really helpful, thanks!

@foofly

This comment has been minimized.

Copy link

@foofly foofly commented Nov 4, 2019

Useful list, thanks!

@acalism

This comment has been minimized.

Copy link

@acalism acalism commented Nov 8, 2019

Use private API -[UIDevice _deviceInfoForKey:] carefully, you won't be rejected by Apple,

// works on both simulators and real devices, iOS 8 to iOS 12
NSString *deviceModelName(void) {
    // For Simulator
    NSString *modelName = NSProcessInfo.processInfo.environment[@"SIMULATOR_DEVICE_NAME"];
    if (modelName.length > 0) {
        return modelName;
    }

    // For real devices and simulators, except simulators running on iOS 8.x
    UIDevice *device = [UIDevice currentDevice];
    NSString *selName = [NSString stringWithFormat:@"_%@ForKey:", @"deviceInfo"];
    SEL selector = NSSelectorFromString(selName);
    if ([device respondsToSelector:selector]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
        modelName = [device performSelector:selector withObject:@"marketing-name"];
#pragma clang diagnostic pop
    }
    return modelName;
}

How did I get the key "marketing-name"?

Running on a simulator, NSProcessInfo.processInfo.environment contains a key named "SIMULATOR_CAPABILITIES", the value of which is a plist file. Then you open the plist file, you will get the model name's key "marketing-name".

@nbasham

This comment has been minimized.

Copy link

@nbasham nbasham commented Mar 25, 2020

Consider replacing iPad8,* entries with

    "iPad8,1": "iPad Pro 11 inch (WiFi)",
    "iPad8,2": "iPad Pro 11 inch (1TB, WiFi)",
    "iPad8,3": "iPad Pro 11 inch (WiFi+Cellular)",
    "iPad8,4": "iPad Pro 11 inch (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 2nd Gen (WiFi)",
    "iPad8,10": "iPad Pro 11 inch 2nd Gen (WiFi+Cellular)",
    "iPad8,11": "iPad Pro 12.9 inch 4th Gen (WiFi)",
    "iPad8,12": "iPad Pro 12.9 inch 4th Gen (WiFi+Cellular)",

This adds the 4 new models and fixes errors where iPad Pro 11 inch entries were referred to as 3rd Gen. Thank you for maintaining this gist!

@AGulev

This comment has been minimized.

Copy link

@AGulev AGulev commented Apr 19, 2020

Do you know what the model names (codes) of the latest iPhone SE?

@nbasham

This comment has been minimized.

Copy link

@nbasham nbasham commented Apr 19, 2020

@MoNTE48

This comment has been minimized.

Copy link

@MoNTE48 MoNTE48 commented Apr 19, 2020

Probably iPhone12,8

@nbasham

This comment has been minimized.

Copy link

@nbasham nbasham commented Apr 19, 2020

@AGulev

This comment has been minimized.

Copy link

@AGulev AGulev commented Apr 20, 2020

@cbiggin

This comment has been minimized.

Copy link

@cbiggin cbiggin commented Apr 21, 2020

There are also AppleTV devices missing from this list:

"AppleTV1,1": "Apple TV (1st Gen)",
"AppleTV2,1": "Apple TV (2nd Gen)",
"AppleTV3,1": "Apple TV (3rd Gen)",
"AppleTV3,2": "Apple TV (3rd Gen)",
"AppleTV5,3": "Apple TV HD (4th Gen)",
"AppleTV6,2": "Apple TV 4K"
@criollazo

This comment has been minimized.

Copy link

@criollazo criollazo commented Apr 24, 2020

Confirmed by the iOS 13.4.1 ipsw file: the iPhone SE 2nd Gen is code iPhone12,8

Screenshot

@mexmer

This comment has been minimized.

Copy link

@mexmer mexmer commented Apr 26, 2020

iPhone12,8 - iPhone SE 2020 model A2296

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented May 1, 2020

Added the new iPhone SE and updated the iPad8* entries using @nbasham's suggestions.

I'm not interested in tracking Apple TV (or Mac) codes here @cbiggin, but thanks for the suggestion.

@criollazo

This comment has been minimized.

Copy link

@criollazo criollazo commented May 21, 2020

Hi @adamawolf,

When you do this curl command from the Terminal curl http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version | grep ipsw | grep 13.5 | sort -u | sed 's/<string>//g' | sed 's/<\/string>//g' | grep -v protected | awk '{$1=$1}1' in order to obtain a list of the IPSW files, you'll find out that the IPSW themselves don't always include the device type code.

Instead, they have another code related to its season, such as iPad_Spring_2019 (iPad mini 5th gen and iPad Air 3rd gen), or related to its display, such as iPhone_4.7_P3 (iPhone 7 and iPhone 8), for example.

Therefore, from the list printed by the curl command its quite hard to spot the IPSW related to a given device.

If you don't mind, I wrote those codes down for the IPSW of iOS 12, iOS 13, and iPadOS, and I want to share them in a way to thank you for your list:

iPhone5,1 : iPhone 5 (GSM)				IPSW : iPhone_4.0_64bit
iPhone5,2 : iPhone 5 (GSM+CDMA)				IPSW : iPhone_4.0_64bit
iPhone5,3 : iPhone 5C (GSM)				IPSW : iPhone_4.0_64bit
iPhone5,4 : iPhone 5C (Global)				IPSW : iPhone_4.0_64bit
iPhone6,1 : iPhone 5S (GSM)				IPSW : iPhone_4.0_64bit
iPhone6,2 : iPhone 5S (Global)				IPSW : iPhone_4.0_64bit

iPhone7,1 : iPhone 6 Plus				IPSW : iPhone_5.5
iPhone7,2 : iPhone 6					IPSW : iPhone_4.7

iPhone8,1 : iPhone 6s					IPSW : iPhone_4.7
iPhone8,2 : iPhone 6s Plus				IPSW : iPhone_5.5

iPhone8,4 : iPhone SE (GSM)				IPSW : iPhone_4.0_64bit

iPhone9,1 : iPhone 7					IPSW : iPhone_4.7_P3
iPhone9,2 : iPhone 7 Plus				IPSW : iPhone_5.5_P3
iPhone9,3 : iPhone 7					IPSW : iPhone_4.7_P3
iPhone9,4 : iPhone 7 Plus				IPSW : iPhone_5.5_P3

iPhone10,1 : iPhone 8					IPSW : iPhone_4.7_P3
iPhone10,2 : iPhone 8 Plus				IPSW : iPhone_5.5_P3
iPhone10,3 : iPhone X Global				IPSW : iPhone10,3
iPhone10,4 : iPhone 8					IPSW : iPhone_4.7_P3
iPhone10,5 : iPhone 8 Plus				IPSW : iPhone_5.5_P3
iPhone10,6 : iPhone X GSM				IPSW : iPhone10,3

iPhone11,2 : iPhone XS					IPSW : iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5
iPhone11,4 : iPhone XS Max				IPSW : iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5
iPhone11,6 : iPhone XS Max Global			IPSW : iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5
iPhone11,8 : iPhone XR					IPSW : iPhone11,8,iPhone12,1

iPhone12,1 : iPhone 11					IPSW : iPhone11,8,iPhone12,1
iPhone12,3 : iPhone 11 Pro				IPSW : iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5
iPhone12,5 : iPhone 11 Pro Max				IPSW : iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5
iPhone12,8 : iPhone SE 2nd Gen				IPSW : iPhone12,8

iPad4,1 : iPad Air (Wi-Fi)				IPSW : iPad_64bit
iPad4,2 : iPad Air (Wi-Fi+Cellular)			IPSW : iPad_64bit
iPad4,3 : iPad Air (China)				IPSW : iPad_64bit
iPad4,4 : iPad mini 2 (Wi-Fi)				IPSW : iPad_64bit
iPad4,5 : iPad mini 2 (Wi-Fi+Cellular)			IPSW : iPad_64bit
iPad4,6 : iPad mini 2 (China)				IPSW : iPad_64bit
iPad4,7 : iPad mini 3 (Wi-Fi)				IPSW : iPad_64bit_TouchID
iPad4,8 : iPad mini 3 (Wi-Fi+Cellular)			IPSW : iPad_64bit_TouchID
iPad4,9 : iPad mini 3 (China)				IPSW : iPad_64bit_TouchID
								
iPad5,1 : iPad mini 4 (Wi-Fi)				IPSW : iPad_64bit_TouchID
iPad5,2 : iPad mini 4 (Wi-Fi+Cellular)			IPSW : iPad_64bit_TouchID
iPad5,3 : iPad Air 2 (Wi-Fi)				IPSW : iPad_64bit_TouchID
iPad5,4 : iPad Air 2 (Wi-Fi+Cellular)			IPSW : iPad_64bit_TouchID

iPad6,3 : iPad Pro (9.7 inch, Wi-Fi)			IPSW : iPadPro_9.7
iPad6,4 : iPad Pro (9.7 inch, Wi-Fi+Cellular)		IPSW : iPadPro_9.7
iPad6,7 : iPad Pro (12.9 inch, Wi-Fi)			IPSW : iPadPro_12.9
iPad6,8 : iPad Pro (12.9 inch, Wi-Fi+Cellular)		IPSW : iPadPro_12.9
iPad6,11 : iPad (2017) (Wi-Fi)				IPSW : iPad_64bit_TouchID_ASTC
iPad6,12 : iPad (2017) (Wi-Fi+Cellular)			IPSW : iPad_64bit_TouchID_ASTC

iPad7,1 : iPad Pro 2nd Gen (Wi-Fi)			IPSW : iPad_Pro_HFR
iPad7,2 : iPad Pro 2nd Gen (Wi-Fi+Cellular)		IPSW : iPad_Pro_HFR
iPad7,3 : iPad Pro 10.5-inch (Wi-Fi)			IPSW : iPad_Pro_HFR
iPad7,4 : iPad Pro 10.5-inch (Wi-Fi+Cellular)		IPSW : iPad_Pro_HFR
iPad7,5 : iPad 6th Gen (Wi-Fi)				IPSW : iPad_64bit_TouchID_ASTC
iPad7,6 : iPad 6th Gen (Wi-Fi+Cellular)			IPSW : iPad_64bit_TouchID_ASTC
iPad7,11 : iPad 7th Gen 10.2-inch (Wi-Fi)		IPSW : iPad_Educational
iPad7,12 : iPad 7th Gen 10.2-inch (Wi-Fi+Cellular)	IPSW : iPad_Educational

iPad8,1 : iPad Pro 11 inch (Wi-Fi)			IPSW : iPad_Fall_2018
iPad8,2 : iPad Pro 11 inch (1TB, Wi-Fi)			IPSW : iPad_Fall_2018
iPad8,3 : iPad Pro 11 inch (Wi-Fi+Cellular)		IPSW : iPad_Fall_2018
iPad8,4 : iPad Pro 11 inch (1TB, Wi-Fi+Cellular)	IPSW : iPad_Fall_2018
iPad8,5 : iPad Pro 12.9 inch 3rd Gen (Wi-Fi)		IPSW : iPad_Fall_2018
iPad8,6 : iPad Pro 12.9 inch 3rd Gen (1TB, Wi-Fi)	IPSW : iPad_Fall_2018
iPad8,7 : iPad Pro 12.9 inch 3rd Gen (Wi-Fi+Cellular)	IPSW : iPad_Fall_2018
iPad8,8 : iPad Pro 12.9 inch 3rd Gen (1TB, Wi-Fi+Cellular)	IPSW : iPad_Fall_2018
iPad8,9 : iPad Pro 11 inch 2nd Gen (Wi-Fi)		IPSW : iPad_Spring_2020
iPad8,10 : iPad Pro 11 inch 2nd Gen (Wi-Fi+Cellular)	IPSW : iPad_Spring_2020
iPad8,11 : iPad Pro 12.9 inch 4th Gen (Wi-Fi)		IPSW : iPad8,11,iPad8,12
iPad8,12 : iPad Pro 12.9 inch 4th Gen (Wi-Fi+Cellular)	IPSW : iPad8,11,iPad8,12

iPad11,1 : iPad mini 5th Gen (Wi-Fi)			IPSW : iPad_Spring_2019
iPad11,2 : iPad mini 5th Gen (Wi-Fi+Cellular)		IPSW : iPad_Spring_2019
iPad11,3 : iPad Air 3rd Gen (Wi-Fi)			IPSW : iPad_Spring_2019
iPad11,4 : iPad Air 3rd Gen (Wi-Fi+Cellular)		IPSW : iPad_Spring_2019

Cheers.

@carlagardenghi

This comment has been minimized.

Copy link

@carlagardenghi carlagardenghi commented Jun 15, 2020

Thank you

@IIWare

This comment has been minimized.

Copy link

@IIWare IIWare commented Sep 2, 2020

thx

@milanpanchal

This comment has been minimized.

Copy link

@milanpanchal milanpanchal commented Oct 7, 2020

iPad11,6 : iPad 8th Gen
iPad11,7 : iPad 8th Gen

@silviosav-SEGA-HARDlight

This comment has been minimized.

Copy link

@silviosav-SEGA-HARDlight silviosav-SEGA-HARDlight commented Oct 14, 2020

Any news on the new iPhone 12 device models? Where can we get them?

@benschroeder14

This comment has been minimized.

Copy link

@benschroeder14 benschroeder14 commented Oct 14, 2020

Any news on the new iPhone 12 device models? Where can we get them?

Apple uploaded placeholder images for the following devices (with the model they are expected to correspond to):
iPhone13,1 : iPhone 12 Mini
iPhone13,2 : iPhone 12
iPhone13,3 : iPhone 12 Pro
iPhone13,4 : iPhone 12 Pro Max

@Dounia75

This comment has been minimized.

Copy link

@Dounia75 Dounia75 commented Oct 16, 2020

hi All,

I need help please, I have a customer Showroom Prive they are looking to create a segment to be able to send campaigns to all iphone 11 but they only can see iphone 11,4 ... can someone assist ?

@noahbroyles

This comment has been minimized.

Copy link

@noahbroyles noahbroyles commented Oct 20, 2020

Putting together this list would be such a great excuse to buy all the Apple products 😉🤣

@pschmidtboeing

This comment has been minimized.

Copy link

@pschmidtboeing pschmidtboeing commented Oct 20, 2020

I updated my fork*. Added missing 8th Gen iPads, 4th Gen iPad Airs, iPhones 12 models, Apple Watch Series 6 and Apple Watch SE. Updated the sort/grouping to align with their introduction dates (oldest to newest).

My names for iPad8,9 and iPad8,10 contain "4th Gen" because they (along with the iPad8,11 and iPad8,12) are the "4th Generation" iPad Pros that were all introduced on March 18, 2020. Although other sites have labelled the iPad8,9 with "iPad Pro 2nd Gen (11 inch, WiFi)" and iPad8,10 with "iPad Pro 2nd Gen (11 inch, WiFi+Cellular)", I believe those names were misleading and would likely cause people to incorrectly think they are 2 model years older than they actually are. It seems "2nd Gen" was chosen because they are the 2nd generation of the 11" iPad, but this reasoning doesn't align with the naming convention of other products with different screen sizes. For example: iPad11,6 and iPad11,7 are "8th Gen" even though they have 10.2" screens and all prior generations had 9.7" screens.

*Note: My fork has slightly different standardized formatting for the naming conventions (described in the first comment of my fork).

@mexmer

This comment has been minimized.

Copy link

@mexmer mexmer commented Oct 23, 2020

i agree that 8,1 - 8,4 should be ipad pro 3rd gen 11 inch, and 8,9 - 8,10 should be ipad pro 4th gen 11 inch,

while they have different screen size, they have same cpu and were introduced same day as 12.9 3rd gen (or 4th gen respectively) ipad pro
in our software we label them as such. screen size doesn't matter when it comes to generation, it's hardware that's inside.

@mexmer

This comment has been minimized.

Copy link

@mexmer mexmer commented Oct 23, 2020

also for new ipad air, should be
ipad13,1 - ipad air 4th gen wifi
ipad13,2 - ipad air 4th gen celular
for both firmware name is iPad_fall_2020

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Oct 24, 2020

Added new iPads (8th gen); Added new iPhones (iPhone 12), Updated iPad8,9 and iPad8,10 to mention 4th gen. Updated iPad8,1-4 to mention 3rd gen.

Thanks @mexmer, @pschmidtboeing, @benschroeder14.

@nadavg-plarium

This comment has been minimized.

Copy link

@nadavg-plarium nadavg-plarium commented Oct 25, 2020

Hi @adamawolf,

Can you please change the separator of iPad13,1 and iPad13,2 to be ":" instead of "-" as the rest of the device codes?

Thanks!

@g-mark

This comment has been minimized.

Copy link

@g-mark g-mark commented Oct 25, 2020

Would it make send to re-arrange the iPad pro names so the generation ordinal precedes the screen size?
I.e., "iPad Pro 3rd Gen, 11 inch"

@wilburt

This comment has been minimized.

Copy link

@wilburt wilburt commented Nov 8, 2020

I wrote a simple script that exports the values to JSON: https://dartpad.dev/80c4d70732ce340400a77f4e7f9b9100

@marionegroponzi

This comment has been minimized.

Copy link

@marionegroponzi marionegroponzi commented Nov 11, 2020

Do you plan to support also Apple desktops (particularly now since Apple silicon)?

@adamawolf

This comment has been minimized.

Copy link
Owner Author

@adamawolf adamawolf commented Nov 25, 2020

@mexmer

This comment has been minimized.

Copy link

@mexmer mexmer commented Nov 27, 2020

@marionegroponzi you can lookup macs by id at https://everymac.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.