3

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?

3
  • You can't delete it?
    – Devin Gund
    Jan 19, 2012 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, 2012 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, 2012 at 22:37

2 Answers 2

4

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

0

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.

You must log in to answer this question.

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