Multiple copies of plist created .

I am storing data in NSUserdefaults , there are however multiple copies of plists in the .xcappdata and this causes my app to baloon . The many versions have various extensions to them (<app>.plist.c1veawh , <app>.plist.IJQRirI ......) . The one without any extension (only .plist ) is about 13 mb.

Could this be because I am builing my app from a Dropbox directory ?

.

Replies

Sounds like your code writes a new plist, freshly appended each time. If that's not your intent, show where you check for an existing plist that gets deleted, instead.

Issue was that I was building binaries within a dropbox directory .