title: XCode, Leaks instrument not working, "an error occurred trying to capture allocations data"
body: <p>I'm trying to debug some memory leaks in an iOS application.</p>
  
  <p>Previously I have used the Instruments/Leaks tool provided with XCode
  and the "Mark Generation" button in that tool to successfully locate sources
  of the memory leaks.</p>
  
  <p>However, now I get the error in the title of this question.</p>
  
  <p>There were some things to do that worked last time, at least this helped before:</p>
  
  <ul>
  <li>Edit Scheme -> Run -> Run -> Diagnostics -> Enable:  "Malloc stack"</li>
  </ul>
  
  <p><a href="https://forums.developer.apple.com/thread/115628" rel="noreferrer">This developer forums thread</a> offers some work-arounds, like profiling with debug build,
  but that does not help, at least in my particular case.</p>
  
  <p>Is there some other work-arounds or likely things I'm doing that prevent the Leak tool
  from working?</p>