`UnityEngine.iOS.DeviceGeneration' does not contain a definition for `iPhoneX'

I’m using Unity 2017.2, which from the documentation here should have the iPhone X enumeration (as well as iPhone 8).

Could you help me understand why am I getting this compile error ?

Same problem here.

I found out these api are available in this patch : 2017.2.0p1