Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application bundle does not clear all preferences for that application.

How can you test an application from a clean start on the Mac?

share|improve this question

migrated from Jan 20 '12 at 5:15

This question came from our site for professional and enthusiast programmers.

You can't delete it? – Devin Gund Jan 19 '12 at 22:33
this isn't a programming question... you should ask this on Super User (that is, after searching to see if it hasn't already been asked) – Michael Dautermann Jan 19 '12 at 22:35
It's a possibility that there's a setting in xcode to make it 'forget' about the app, since the app isn't an app yet, it's running from xcode. – Andrew Jan 19 '12 at 22:37

Try deleting any related folders or files in ~/Library/Preferences/ and ~/Library/Application Support/.

share|improve this answer

Just delete any files that the app has stored in the ~/library/applicationsupport folder, and trash the ~/library/preferences/com.yourappid.plist file.

On Lion the ~/library folder is hidden, so get to it by using the finder's go > go to folder menu.

You could also try changing the bundle ID so the next time you build it will think it's a different app.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .