Xcode 提升速度小技巧

1. 重新安装。前提是保证彻底卸载,完全卸载使用下面命令:
      sudo /Developer/Library/uninstall-devtools --mode=all
      逼急了才用的方法
    
2. 使用32位模式运行Xcode
      在Finder里,找到/Developer/Application/XCode.app,右击,菜单里选择Get Info,然后选中Open in 32-bit mode

3. 删除project.xcworkspace文件
      在Finder里,右击工程文件XXX.xcodeproj,菜单里选择Show Package Contents,打开以后可以看到project.xcworkspace文件,直接删除就可以了

4. 清空所有仓库
      在XCode里,菜单Window -> Organizer - Repositories - 清空所有Respositories

5. 清空所有工程
      在XCode里,菜单Window -> Organizer - Projects - 清空所有Projects
      
6. 关闭Remote Status
      在XCode里,菜单File -> Source Control -> Hide Remote Status
      效果不大
      
7. 彻底关掉SVN
      删掉svn plugin貌似会造成崩溃,有人建议将svn域名解析改成无效地址,例如1.2.3.4  svn.myhost.com
      此招不实用
      
8. 禁用Live Issues
      在XCode里,菜单XCode -> Preferences -> General -> Issues,取消选中Show live issues
      效果还可以
      
9. Xcode - Preference - General - Disable Auto-Save (prompt only) and both Live Issues (In Editors, In Issue Navigator) 
      Disable Auto-Save这个找不到地方设置,哪位给个提示
      Disable Live Issues这个上面提到了

10. Closed Utility Panel and Quick Help Panel
    这个可以随便切换,问题不大,有人说提升很大,我是XCode4.2,感觉不出来

11. 如果你频繁运行的话,可以禁用调试
    Edit Scheme -> Run XXX.app -> Info -> Debugger 选择None。想调时候的话可以随时打开

12. 硬盘改为固态硬盘和增加内存

posted @ 2013-01-16 20:52  我的程序人生  阅读(246)  评论(0编辑  收藏  举报