XCode在VMWare内部编译极慢 [英] XCode compiling extremely slow inside VMWare

查看:238
本文介绍了XCode在VMWare内部编译极慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OSX 10.6.6安装在Windows 7主机上的VMware内部.总体性能很棒,但是,编译时间却大大增加了(从纯MacOS的1分钟到2-3分钟,编译时间大大增加了).这是搭载Core i5和Amp;的现代机器4GB RAM. 这是XBench结果: http://db.xbench.com/merge.xhtml?doc1=517768& doc2 = 1& setCookie = true 我认为问题可能出在极慢的4k写入值中,但我不知道如何改善这一点.

The OSX 10.6.6 is installed inside VMware on Windows 7 host. The overall performance is great, However, the compiling time increased dramatically (1 hour against 2-3 min on pure MacOS). It's modern machine with Core i5 & 4GB RAM. Here are the XBench results: http://db.xbench.com/merge.xhtml?doc1=517768&doc2=1&setCookie=true I think the problem could be in extremely slow 4k write value, but I don't know how to improve this.

有什么办法可以提高性能?

Is there any way to increase performance?

UPD1:未使用交换,所有操作都有足够的内存 磁盘速度也无关紧要,因为我的另一台Macbook显示出的事件结果更糟,并且编译速度快了数百倍.

UPD1: swap is not used, there is enough memory for all operations the disk speed is also not related, since my another Macbook shows event worse results, and compiles hundreds times faster.

UPD2:问题已解决,请在下面查看我的答案

UPD2: problem solved, see my answer below

推荐答案

共享经验和解决方案.

我的Xcode运行正常,但是当我构建一个项目(甚至是一个空的项目)时,它最多可能需要10分钟.

My Xcode was running fine but when I build a project (even an empty one), it would take up to 10 minutes.

解决方案: Go to Xcode -> Preference -> Source Control: Dissable Source Control

现在,项目可以在几秒钟内构建并运行.

Now projects build and run in a matter of seconds.

这篇关于XCode在VMWare内部编译极慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆