iphoneiosfacebookamazon-web-servicesflurry

iPhone app storage growing


I had a quick search for this but unfortunately couldn't find any answer.

My iPhone app is still underdevelopment. I just noticed from my iPhone's Settings->General->Usage, that this app is taking over 900MB of space. I'm shocked and don't understand why.

I'm not saving any downloaded images, strings or any kind of large data base. Original app size is < 10MB. It contains only a few images added to project folder.

I'm suing NSUserDafaults to save a few parameters. (Used for simple app/user settings)

Other External/3rd Party Libraries, I used are:

Any ideas what could be the reason? Am I missing something or doing it wrong?

Thanks in advance.

Update: I deleted the app and re-installed it. Now after first launch, it takes 13.2MB where 7.4MB is app size and 5.8MB are taken by Documents and Data. It seems that the storage being used increases with time.


Solution

  • Okay! I had a thorough lookup into the problem and found that its XCode responsible for causing the app to take so much storage space.

    I'm not certain what goes on under the hood but when the app is connected to XCode and is running, the storage size would increase. But if its not connected to XCode, and run the app, it would run normally and won't take any undesired storage.

    I guess its because XCode might be saving logs/snap shots of app. I'm not sure.

    So, it seems that my app is safe (Thank GOD!) and hope apple won't have any objections when I submit it for release.

    @Yangfan Zhang: Flurry seems to be safe and is not responsible for the issue as haven't removed any of the mentioned libraries and done the investigation.