Search Issue Tracker
Fixed in 5.4.2
Votes
5
Found in
5.4.0b15
Issue ID
793624
Regression
Yes
Unity does not include UnityEditor.iOS.Xcode in project file
How to reproduce:
1. Open a new project
2. Create a script and place it in a folder named 'Editor'.
3. Add "using UnityEditor.iOS.Xcode;" to the top of the script
4. Add "PBXProject project = new PBXProject();" to the Start() message
5. Save and switch back to Unity
- Note that Unity compiles the code successfully, but in the editor the code is displayed in red
- Reproduced in Version 5.4.0b17 (d34aa569a642), Version 5.3.4p4 (43a3882ae25c)
- Not reproducible in Version 5.2.4f1 (98095704e6fe)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Mispon
Mar 28, 2019 14:25
I put my file in root folder like this: "Assets/Editor/MyFile.cs" and it fixed this issue. Is important - "Editor" folder in root "Assets".
PAHeartBeat
Mar 12, 2019 13:00
Reproduced in 2018.3.2f1
I am facing the same issue while creating post-process build files in Standard Assets=>Editor
I used @KJAKA suggestion and put those two files in Standard Assets=>Editor instead-of Assets/Resources.
@TeamUnity, please fix this issue for while we are using post-process system from Standard Assets=>Editor
Kjaka
Jan 02, 2019 11:18
This is definitely not fixed. Reproduced in 2017.3.1f1.
As a workaround I put these files in Assets/Resources folder;
*UnityEditor.iOS.Extensions.Xcode.dll
*UnityEditor.iOS.Extensions.Xcode.dll.mdb
For now it's working in both Unity and Xcode
gdwf
Dec 28, 2018 21:59
Not fixed on Visual Studio, happens on 2018.3.02f
Manas_1996
Nov 23, 2018 08:17
@BENOITFRESLON Thanks ... Works Like Charm ...
iPedro
Oct 07, 2018 18:24
This issue is not fixed. It is still happening in 2018.2.11f1 and extremely frustrating. Also, the solution posted by @Maksim_Narchuk does not work and in Visual Studio for Mac the option to edit references is disabled (greyed out) all the time. How does this get re-opened?
Maksim_Narchuk
Jun 28, 2018 12:17
Hi everyone!
This problem has easy solution:
1. Delete all *.csproj and *.sln at folder level "Assets"
2. Open Unity3d and selected your project
3. Close MonoDevelop or VisualStudio
4. Select Assets/Open c# Project
MySweet
Jun 22, 2018 02:16
unity 2018 刚刚也出现了
rcstamp
Jun 08, 2018 11:29
Occurs in 2018.1
whalepaha
Apr 28, 2018 16:57
Got this in 2017.4.1f1