4 Replies
      Latest reply on Jun 4, 2020 12:32 PM by rnikander
      rnikander Level 2 Level 2 (30 points)

        I've been running my unit tests for a macOS app a lot. Every now and then it leaves a zombie running. I wouldn't care about the "Z" process in "ps ax" output, but it actually leaves an icon in the list of app icons that you see when you hit Command-Tab. These gradually accumulate and cannot be killed. It appears I need to restart my laptop to get rid of them. If anyone else has seen this and has a trick to get rid of them, please let me know.

        • Re: macOS unit tests leave zombie apps in Command-Tab list
          eskimo Apple Staff Apple Staff (13,945 points)

          Well, that’s annoying.  I do not, alas, have any suggestions about how to get rid of these zombies )-: but I’d really appreciate you filing a bug about this.

          Please post your bug number, just for the record.

          It’s curious that this is not a more widely reported problem.  I regularly run unit tests associated with various macOS app targets and I’ve not seen this.  Do you know whether the problem tracks your tests or your Mac?  If you run your tests on a completely separate machine (I use a VM for this sort of testing), does it exhibit the problem?  Alternatively, if you create a new test project and run unit tests against that, does it exhibit the problem?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"