Xcode 4存档导致缓慢/无响应的Organizer& pngcrush进程占用100%的cpu [英] Xcode 4 archive results in slow/unresponsive Organizer & pngcrush process takes up 100% cpu

查看:198
本文介绍了Xcode 4存档导致缓慢/无响应的Organizer& pngcrush进程占用100%的cpu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于相当混乱的标题感到抱歉,但我试图尽可能多地获取信息。

sorry about the rather confusing title, but I tried to get in as much info as possible.

问题:


  1. 我正在尝试将我的iPhone应用程序归档为用于OTA测试的ipa文件(通过TestFlightApp) - 所以在Xcode中,我执行项目>存档。

  2. 存档成功后,它会打开Xcode Organizer来创建ipa文件。
    但是一旦组织者打开,Xcode变得非常缓慢&基本上没有反应。

所以很自然地我打开活动监视器看看发生了什么,并且有一个名为pngcrush的过程几乎耗尽了我所有的cpu(90%+)并导致Xcode进程间歇性地列为无响应。我似乎无法在Organizer中做任何事情,因为它只是继续抛出微调器/加载光标。

So naturally I open Activity Monitor to see what's going on and there's a process called "pngcrush" using up almost all my cpu (90%+) and causing Xcode process to be intermittently listed as "not responding". I can't seem to do anything in Organizer because it just keeps throwing the spinner/loading cursor.

任何关于如何解决这个问题的想法都会很棒!另外,我尝试在构建设置中将压缩PNG选项设置为NO,但问题仍然存在。谢谢!

Any ideas on how to fix this would be great! Also, I've tried setting "Compress PNG" option in build settings to NO, but problem is still there. Thanks!

Xcode 4.0.2,OSX 10.6.6

Xcode 4.0.2, OSX 10.6.6

推荐答案

删除档案将提高组织者的响应能力。我猜组织者会对所有档案运行pngcrush。也许应该将此作为一个错误提交给Apple。

Deleting Archives will improve the responsiveness of the organizer. I guess the Organizer runs pngcrush on all archives. Perhaps one should submit this as a bug to Apple.

档案保存在〜/ Library / Developer / Xcode / Archives 。如果要将存档保留为备份,请将它们移动到另一个文件夹。就个人而言,我已经创建了一个文件夹〜/ Library / Developer / Xcode / Archives Backup 来保存旧档案。

The Archives are saved in ~/Library/Developer/Xcode/Archives. If you want to keep the archives as backup, move them to another folder. Personally I've created a folder ~/Library/Developer/Xcode/Archives Backup to save old archives in.

这篇关于Xcode 4存档导致缓慢/无响应的Organizer& pngcrush进程占用100%的cpu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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