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

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

问题描述

抱歉,标题相当混乱,但我试图获取尽可能多的信息.

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

问题:

  1. 我正在尝试将我的 iPhone 应用存档到 ipa 文件中以进行 OTA 测试(通过 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 存档导致管理器和响应缓慢/无响应pngcrush 进程占用 100% cpu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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