Search Issue Tracker

Fixed in 2019.2

Fixed in 2018.4, 2019.1



Found in



Issue ID




Unity does not add a reference to UnityEditor.iOS.Xcode for any project files except Assembly-CSharp-Editor



To reproduce:
1. Open attached project ""
2. Open C# project with Visual Studio by right clicking on Assets folder and pressing Open C# project
3. In Visual Studio press Build > Build All

Expected result: the project is built
Actual result: getting this error in Visual Studio:
Error CS0234: The type or namespace name 'Xcode' does not exist in the namespace 'UnityEditor.iOS' (are you missing an assembly reference?) (CS0234) (MyAsmDef)

Reproduced on:
2018.1.0a1 2018.3.0a1 2018.3.5f1 2019.1.0b3 2019.2.0a6

Not reproduced on:

After building on newer versions, the build will fail on 2017.4 versions.

Comments (4)

  1. 17825a68a3f43b4ddc7f2b2ad5983aca?d=mm


    Jul 13, 2019 09:30

    I will document the whole process including setting up source control, writing unit tests, setting up continuous integration and building the final package using this website . Before you begin, make sure your Unity editor is setup properly for keeping your project in Git source control. If you haven’t done this yet, then please check out my article below which tell you more .

  2. Df2d8b99bece26c752ddc81182519382?d=mm


    Jul 05, 2019 07:33

    Your info is truly helpful to me. I use this website to write my essay free. Now I am a lifetime member of this brilliant essay writing site.

  3. B217e86baf391554bfee09a7c9705501?d=mm


    May 28, 2019 05:23

    Just check it and get the real verified option form this portal like the mesothelioma lawsuit compensation. After the read it I understand this contain lots of amazing instructions which would be good for you.

  4. 5d7a14383d2b04e470481eb82d6e6a33?d=mm


    May 16, 2019 11:43

    I tested quick language. Suddenly xcode completed without error. This may be due to several reasons in xcode (this is simply because swift is still in beta).

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.