Once in a while, I get a weird error Xcode build error saying something like something was changed after a precompiled header was generated. I used to get around it by deleting the entire project and starting again, but a search on the Unity forum turned up a better way – go to the Organizer window, select Projeccts, and remove the derived data for the project. The next build will take longer, but it will complete (unless you have some other problem). Also, you may find a while bunch of other derived data that you can delete, and that can free up a ton of disk space.






