最近发现使用Xcode6.3.1新建项目,会自动多了一个Build文件,正常的应该是只有三个文件(与项目名同名的文件夹、与项目名同名的“.xcodeproj”文件,还有“项目名Tests”),但是我的却多了一个Build文件,其他人新建项目不会这样,所以就想能不能通过重置Xcode来恢复正常。
以下是方法:
This is the officially recommended way to delta Xcode 5's preferences, type in Terminal.app:
defaults delete com.apple.dt.Xcode
That should restore Xcode to the state of its first launch.
(for older versions of Xcode the command was
defaults delete com.apple.Xcode
, i.e. without the dt
in the middle).
原文地址: