本文介绍了从iPhone模拟器的僵尸进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在应用程序上工作了一段时间,最近才开始注意到每次启动应用程序时都会产生这些僵尸进程吗?我现在已经关闭了Xcode和模拟器,但是它们只是停留在周围.有没有更好的新方法可以在模拟器上测试您的应用,从而避免这种情况和/或为什么会发生这种情况?

I've been working on apps for a while now and have just recently started noticing these zombie processes being produced for every launch of the app? I've now closed out Xcode and the simulator but they're just sticking around. Is there some new better way of testing your apps on the simulator that avoids this and/or why might this be occurring?

ps aux
.
.
.
derek            2696   0.0  0.0        0      0   ??  Z     1:25PM   0:00.00 (Test App)
    derek           93243   0.0  0.0        0      0   ??  Z     9:00AM   0:00.00 (Test App)
    derek           89633   0.0  0.0        0      0   ??  Z    Wed07AM   0:00.00 (Another App)
    derek           87119   0.0  0.0        0      0   ??  Z    Tue03PM   0:00.00 (Another App)
    derek           86711   0.0  0.0        0      0   ??  Z    Tue01PM   0:00.00 (Another App)
    derek           86661   0.0  0.0        0      0   ??  Z    Tue01PM   0:00.00 (Another App)
    derek           86616   0.0  0.0        0      0   ??  Z    Tue12PM   0:00.00 (Another App)
    derek           86278   0.0  0.0        0      0   ??  Z    Tue10AM   0:00.00 (Another App)
    derek           83049   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           83032   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           82996   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           82232   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           82137   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           82082   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           82047   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           81673   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           81473   0.0  0.0        0      0   ??  Z    Mon03PM   0:00.00 (Another App)
    derek           76024   0.0  0.0        0      0   ??  Z    Mon12PM   0:00.00 (Another App)
    derek           72214   0.0  0.0        0      0   ??  Z    Mon10AM   0:00.00 (Another App)
    derek           70631   0.0  0.0        0      0   ??  Z    Mon09AM   0:00.00 (Another App)
    derek           70468   0.0  0.0        0      0   ??  Z    Mon09AM   0:00.00 (Another App)
    derek           70437   0.0  0.0        0      0   ??  Z    Mon09AM   0:00.00 (Another App)
    derek           68039   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67471   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67425   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67344   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67311   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67281   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
    derek           67235   0.0  0.0        0      0   ??  Z    Mon08AM   0:00.00 (Another App)
.
.
.
.

推荐答案

这是Xcode 4.6.2和更早版本中的错误.它已于昨天(2013-06-13)发布的Xcode 4.6.3中修复.今天早上我在WWDC上与几位Apple工程师进行了交谈.

This is a bug in Xcode 4.6.2 and earlier. It is fixed in Xcode 4.6.3, released yesterday (2013-06-13). I just talked to a couple of Apple engineers about it this morning at WWDC.

这篇关于从iPhone模拟器的僵尸进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 05:33