The standard solution is to mark the app as a UI element (via the [LSUIElementproperty][refLSUIElement]) but that prevents it from showing up in the Dock or having its own menu bar. I can still display a status bar item just fine.
Any alt option in xcode so that we can still have the app icon appear in Dock , even if it is a status bar item, but prevent the Crash Report UI ?
Please post the final launchd property list that you settled on.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>Crashed</key>
<false/>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>com.cirrusthinking.dollyappd</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>MachServices</key>
<dict>
<key>com.cirrusthinking.dollyappd</key>
<true/>
</dict>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>-W</string>
<string>/Applications/DollyDrive.app</string>
</array>
</dict>
</plist>