title: xcode: How to connect intruments Leaks tool with simulator?
body: <p>I want to detect if there are memory leaks in my application. But the problem is that when I click to red button it show a window to chose executable, but I do not know how to point instrument's leak utility to my iphone Simulator application.</p>
  
  <p><img src="https://i.stack.imgur.com/hLmzJ.png" alt="enter image description here"> </p>
  
  <p><img src="https://i.stack.imgur.com/nSUFx.png" alt="enter image description here"></p>