1

私はしばらくの間アプリに取り組んできましたが、最近、アプリを起動するたびにこれらのゾンビプロセスが生成されていることに気付き始めましたか? 私は Xcode とシミュレーターを閉じましたが、それらは固執しているだけです。これを回避するシミュレーターでアプリをテストするための新しいより良い方法はありますか、またはなぜこれが発生する可能性がありますか?

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)
.
.
.
.
4

2 に答える 2

1

これは、Xcode 4.6.2 以前のバグです。昨日 (2013-06-13) にリリースされた Xcode 4.6.3 で修正されています。今朝、WWDC で数人の Apple エンジニアと話しました。

于 2013-06-14T20:56:19.767 に答える
-1

ターゲットスキームを編集するだけです->ターゲットのXcodeの停止ボタンのすぐ隣をクリックし、[スキームの編集]を選択してから、[診断]タブに移動し、[ゾンビオブジェクトを有効にする]オプションのチェックを外します。または、最終的に Arguments タブをチェックして、NSZombieEnabled 引数が有効になっていないことを確認してください。

于 2013-04-04T14:11:40.433 に答える