Clean Google Cardboard SDK project won't compile
<p>What I did:</p>

<ol>
<li>I created new project using Unity 3D</li>
<li>switched target to iOS</li>
<li>imported new custom asset "GoogleVRForUnity unitypackage" </li>
<li>created new blank C# behaviour script</li>
<li>hit "compile" in MonoDeveloper</li>
</ol>

<p>What I got: <strong>Compile error</strong> "The type or namespace name "Xcode" does not exist in the namespace "UnityEditor.iOS. Are you missing an assembly reference?"
in</p>

<blockquote>
  <p>using UnityEditor.iOS.Xcode;</p>
</blockquote>

<p>in /Assets/GoogleVR/Legacy/Editor/GvrViewerEditor.cs</p>

<p>I changed nothing. Is this a bug? How to fix this?</p>

<p>When I build for iOS from Unity Editor, run XCODE project on my device, everything works as expected.</p>

<p><a href="https://i.stack.imgur.com/Uk5pY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uk5pY.png" alt="enter image description here"></a></p>

<p>OS X 10.11.6 (15G31), Unity 5.4.0f3, Google VR SDK seems to be latest (downloaded repo directly from "<a href="https://developers.google.com/vr/unity/download" rel="nofollow noreferrer">https://developers.google.com/vr/unity/download</a>")
Of course I have "iOS build support" component.</p>