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?

link|improve this question
You can't delete it? – Devin Gund Jan 19 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 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 at 22:37
feedback

migrated from stackoverflow.com Jan 20 at 5:15

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

2 Answers

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

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.