title: How to code sign an app on mac osx
body: <p>I have created an app in python on mac osx 10.9. Then converted it into a .pkg file.
  But while installing, I am facing gatekeeper issue of <strong>myapp.pkg can't be opened because it is from unidentified developer</strong>.
  So, what are the steps to code sign it to avoid installation issue. </p>
  
  <p>MYAPP.pkg and when double clicked, this pkg file will install MYAPP folder in /Applications location.
  This MYAPP folder in /Applications location contains a) myappmain.app b) logout.app</p>
  
  <p>myappmain.app performs main function while logout.app is for logging off of user.</p>
  
  <p>myappmain.app needs  support of two more apps for functioning named monitor.app and dialogbox.app.
  Both monitor.app and dialogbox.app, I placed it in /Applications/MYAPP/myappmain.app/Contents/Resources location i.e. within main myappmain.app
  All apps are written in python language.</p>