title: Mac OS app, sandbox with command line tool?
body: <p>I've made an app which includes a command-line tool. I have enabled the app's sandbox, and tested that it works. I've also code-signed both the app and the command line tool.</p>
  
  <p>But when I upload the app to iTunes, I received a email telling me "App sandbox not enabled".</p>
  
  <p>Apparently I need to set entitlement file of key <code>com.apple.security.app-sandbox</code> with <code>true</code> value, and list the executables: <code>/Contents/MacOS/myApp</code> and  <code>/contents/Frameworks/x86/myCommandLineTool</code>.</p>
  
  <p>I'm sure I've enabled sandbox in Xcode, so I thought the problem was with the command line tool.</p>
  
  <p>How can I enable sandbox for command line tool? Or is there a specific folder I should put the tool? Any suggestions welcome - I have been troubled by it for several days.</p>