1.xcode编译项目缓存路径: ~/Library/Developer/Xcode/ DerivedData/'ProjectName-'+'randomcharacters'/Build/
2.如果直接点击屏幕下方的Xcode图标,回弹出一个xcode的启动框,右边会列出你最近打开过的工程,如果想清除这些记录,就点击xcode的菜单栏的“File”菜单,然后选择 Open Recent ,然后就能看到Clear Menu了,点击后,再次启动xcode就看不到先前打开过的工程了
3.products->debugWorkflow->最后一个勾“show debug in assemb”去掉
4.先cleanall,再构建(Build)一遍;或者手动清除(选中Xcode的项目,在Finder中打开内容,删除*.pbxuser和*.mode1v3文件,重新打开project下端点)。
5.
There is no Load Symbols Lazily option in Xcode 4.
The Breakpoints button in the project window toolbar toggles running/debugging your program. Xcode initially sets the button for running, which disables your breakpoints. For your breakpoints to be enabled, the Breakpoints button should look like the following:
6.新建了一个用户,才搞定了断点,这个breakpoint navigation 点击会crash的问题,有些人也报告了,但Xcode crash问题不好搞啊。
后来,这下我们就去删除project目录下的用户关联的数据,
Command-Option-Shift-K to clean out the build folder.
Even better, quit Xcode and clean out ~/Library/Developer/Xcode/DerivedData manually. Remove all its contents because there's a bug where Xcode will run an old version of your project that's in there somewhere. (Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the Projects tab. Click the right-arrow to the right of the Derived Data folder name.)
记住要退出xcode先,否则容易出问题,同时建议采取以下步骤,模拟器清空
In the simulator, choose iOS Simulator > Reset Content and Settings.
Finally, for completeness, you can delete the contents of /var/folders; some caching happens there too.