Get error on iPhone (Sealed Class) when trying to build iOS Game for Windows

The code:

if (Application.platform == RuntimePlatform.IPhonePlayer) {
			int defaultFontSize = 32;

			if(iPhone != null && iPhone.generation.ToString().IndexOf("iPad") >=0)
				defaultFontSize = 64;

The Error:

Assets/scripts/GameManager.cs(133,28): error CS0103: The name `iPhone’ does not exist in the current context

Please advice,

Thanks, Shefyg

The first thing I’d do is take a look at conditional compile directives.
So instead of

if (Application.platform == RuntimePlatform.IPhonePlayer)
    // iPhone-specific code

I’d do

// iPhone-specific code