I submitted my first app sometime back but it got rejected due to IOS Data Storage Guideline thing.
I researched a lot and found that Document Directory should have only user specific data else it should be marked as do not backup. I followed below steps and found that only 0.2kb data is backed up by my app. - Install and launch your app - Go to Settings > iCloud > Storage > Manage Storage - Select your device - If necessary, tap "Show all apps" - Check your app's storage
What i want to know is that even though my Document and tmp directory are empty from where i'm getting this 0.2kb data.
screenshot of my app directory from xcode
Any suggestions?
I'm not sure this solves your entire problem, but you cannot modify files inside your bundle. The
setResource
call on something inside your bundle is causing an error. I don't understand why you would call it on something that is part of your application.