Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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