I have a Mac app and when I want to profile it for leaks, I get an error "Unable to acquire required task port" from Instruments. I can't really find anyone else with this issue on the web, but it must be something to do with my application because I see the same thing on both Xcode 9.3 on High Sierra, and Xcode 10 on the first Mojave developer preview, each on separate Macs.
Any suggestions? 🙂