Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[SOLVED] Visual Studio Code does not like "using UnityEditor.iOS.Xcode"

Discussion in 'Code Editors & IDEs' started by andymads, Mar 19, 2019.

  1. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    SOLVED.
    Didn't have the script in an Editor folder.


    Why does Visual Studio Code flag this as a problem? It compiles fine in Unity. Have tried deleting sln and csproj files. Have also tried deleting Library folder.

    It's a new project with only this one source file. Platform is set to iOS.

    Screen Shot 2019-03-19 at 11.56.41.png

    Screen Shot 2019-03-19 at 11.56.50.png
     
    Last edited: Mar 19, 2019