Skip to content

Instantly share code, notes, and snippets.

@bwyman
Created December 2, 2011 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bwyman/1424299 to your computer and use it in GitHub Desktop.
Save bwyman/1424299 to your computer and use it in GitHub Desktop.
iOS StartUp / KeepAlive script
<?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>Label</key>
<string>com.yourcompany.startUp.launchd.plist</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>appBundleID</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
note: The appBundleID in the code above will need to modified to your specific app. (example: com.yourcompany.myLovelyApp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment