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
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 3rd Gen (11 inch, WiFi)
iPad8,2 : iPad Pro 3rd Gen (11 inch, 1TB, WiFi)
iPad8,3 : iPad Pro 3rd Gen (11 inch, WiFi+Cellular)
iPad8,4 : iPad Pro 3rd Gen (11 inch, 1TB, WiFi+Cellular)
iPad8,5 : iPad Pro 3rd Gen (12.9 inch, WiFi)
iPad8,6 : iPad Pro 3rd Gen (12.9 inch, 1TB, WiFi)
iPad8,7 : iPad Pro 3rd Gen (12.9 inch, WiFi+Cellular)
iPad8,8 : iPad Pro 3rd Gen (12.9 inch, 1TB, 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
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 commented Jun 14, 2013

iPhone3,2 : iPhone 4 GSM Rev A

@adamawolf

This comment has been minimized.

Copy link
Owner Author

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 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 commented Sep 16, 2016

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

@kuchhadiyaa

This comment has been minimized.

Copy link

kuchhadiyaa commented Oct 8, 2016

@adamawolf

This comment has been minimized.

Copy link
Owner Author

adamawolf commented Feb 7, 2017

Updated as of 2/7/2017.

@adonoho

This comment has been minimized.

Copy link

adonoho commented Feb 17, 2017

@ReanimationXP

This comment has been minimized.

Copy link

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 commented Nov 16, 2017

Updated as of 11/15/2017.

@Stoppels

This comment has been minimized.

Copy link

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 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 commented Mar 24, 2018

@rose64bit

This comment has been minimized.

Copy link

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 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 commented Sep 14, 2018

love it

@ZeroOnet

This comment has been minimized.

Copy link

ZeroOnet commented Sep 14, 2018

Lack of Xr、Xs、Xs Max?

@pschmidtboeing

This comment has been minimized.

Copy link

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".

@williamsthing

This comment has been minimized.

Copy link

williamsthing 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 commented Sep 18, 2018

@williamsthing where did you get this info?

@monomichael

This comment has been minimized.

Copy link

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 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 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 commented Sep 26, 2018

thank you all for this list ❤️

@zeroimpl

This comment has been minimized.

Copy link

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 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 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 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 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 commented Nov 6, 2018

Thank you.

@MrKris99

This comment has been minimized.

Copy link

MrKris99 commented Nov 16, 2018

That's nice. Thank you.

@andylarwing

This comment has been minimized.

Copy link

andylarwing commented Nov 21, 2018

Great info. Thanks

@asidpulse

This comment has been minimized.

Copy link

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 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 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 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 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 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 commented Apr 3, 2019

@bilaalrashid

This comment has been minimized.

Copy link

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 commented Jun 11, 2019

iPod9,1 : 7th Gen, 2019

@zdj1414

This comment has been minimized.

Copy link

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 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 commented Aug 16, 2019

Removed iPhone8,3

@adamawolf

This comment has been minimized.

Copy link
Owner Author

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 commented Sep 27, 2019

ㄱㅅ

@nullcc

This comment has been minimized.

Copy link

nullcc commented Oct 25, 2019

Really helpful, thanks!

@foofly

This comment has been minimized.

Copy link

foofly commented Nov 4, 2019

Useful list, thanks!

@acalism

This comment has been minimized.

Copy link

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".

@tiengdung90

This comment has been minimized.

Copy link

tiengdung90 commented Dec 11, 2019

Please update

@adamawolf

This comment has been minimized.

Copy link
Owner Author

adamawolf commented Dec 11, 2019

@tiengdung90 what needs updating?

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.