简体   繁体   English

Xcode无法建立

[英]Xcode unable to build

昨天晚上我可以在手机或模拟器上构建项目,但是现在我无法使用,因为Xcode正在使用计算机的所有内存,我不知道问题出在哪里,但是昨天我可以构建,今天我不是,我的计算机真的很慢,我没有收到任何错误,但它根本无法构建,我曾尝试清洁,重新启动计算机,运行终端等。

On my last two contracts I was given a mini with 4GB and that is not enough, you will be paging memory and that will make Xcode basically unusable. 在我的最后两个合同中,我得到了一个4GB的迷你硬盘,这还不够,您将使用分页内存,这将使Xcode基本上无法使用。 I upgraded to 16GB and the system was usable. 我升级到16GB,系统可用。

In the Activity Monitor Application, not in Xcode, look at "Swap Used"; 在Activity Monitor应用程序中,而不是在Xcode中,查看“ Swap Used”; if it is not 0 and you do not have other apps running there is not sufficient memory. 如果它不为0,并且您没有运行其他应用程序,则内存不足。

My advice: get 16GB, 8GB is a bare minimum for development. 我的建议是:获得16GB,8GB是开发的最低要求。 4GB can work but also can by so slow as to be unusable. 4GB既可以工作,又可以慢到无法使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM