Generally, xcuserdata is safe to ignore for individual projects. Each user gets his own file, which saves the user state, open folders, the last file is open, something like this. It contains your circuits. If this is the first time and the file does not exist, Xcode will create it for you.
However ... we encountered this problem in the office when you have a continuous build server, such as Hudson or Jenkins, which copies the source from Git or SVN without opening it and does not try to create it. If you ignore this file, there will be no schemes to create, or it will force someone to open the project in order to automatically create it for the first time.
We solved this by checking the shared field within the control schemes. This moves the schemas from under your individual xcuserdata to a shared folder that can be transferred through the source control and used by continuous build servers. Hope this helps.
Bill Burgess Dec 19 '12 at 14:42 2012-12-19 14:42
source share