Update iOS templates to fix for iOS 6

  Remove use of UIApplicationMain.
  Fixes "Terminating since there is no workspace" error