Note that there are some explanatory texts on larger screens.

plurals
  1. POapplication rejection to the same reason before 2.23
    text
    copied!<p>Reasons</p> <p>2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected 2.23</p> <p>We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App Store Review Guidelines.</p> <p>In particular, we found that on launch and/or content download, your app stores 64 MB. To check how much data your app is storing:</p> <ul> <li>Install and launch your app</li> <li>Go to Settings > iCloud > Storage &amp; Backup > Manage Storage </li> <li>If necessary, tap "Show all apps" </li> <li>Check your app's storage</li> </ul> <p>The iOS Data Storage Guidelines indicate that only content that the user creates using your app, e.g., documents, new files, edits, etc., should be backed up by iCloud. </p> <p>Temporary files used by your app should only be stored in the /tmp directory; please remember to delete the files stored in this location when the user exits the app.</p> <p>Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute. </p> <p>For more information, please see Technical Q&amp;A 1719: How do I prevent files from being backed up to iCloud and iTunes?.</p> <p>It is necessary to revise your app to meet the requirements of the iOS Data Storage Guidelines. For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to:</p> <ul> <li>include the complete details of your rejection issues</li> <li>prepare any symbolicated crash logs, screenshots, and steps to reproduce the issues for when the DTS engineer follows up. </li> </ul> <p>For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.</p> <p>If you have difficulty reproducing this issue, please try testing the workflow as described in <a href="https://developer.apple.com/library/ios/qa/qa1764/" rel="nofollow">https://developer.apple.com/library/ios/qa/qa1764/</a>Technical Q&amp;A QA1764: How to reproduce a crash or bug that only App Review or users are seeing. and i set this function in AppDelegate.m</p> <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *pathCaches = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches"]; NSString *pathTmp = [NSHomeDirectory() stringByAppendingPathComponent:@"/tmp"]; NSString *pathDocuments = [NSHomeDirectory() stringByAppendingPathComponent:@"/Documents"]; [self addSkipBackupAttributeToItemAtURL:[NSURL fileURLWithPath:pathCaches]]; [self addSkipBackupAttributeToItemAtURL:[NSURL fileURLWithPath:pathTmp]]; [self addSkipBackupAttributeToItemAtURL:[NSURL fileURLWithPath:pathDocuments]]; return YES; } - (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { assert([[NSFileManager defaultManager] URLsForDirectory:NSCachesDirectory inDomains:NSUserDomainMask]); const char* filePath = [[URL path] fileSystemRepresentation]; const char* attrName = "com.mycompany.MyApp"; u_int8_t attrValue = 1; int result = setxattr(filePath, attrName, &amp;attrValue, sizeof(attrValue), 0, 0); return result == 0; } </code></pre> <p>The .sqlite3 file is not downloaded so I putted it in /Documents and other pdf files and images are downloaded and my application rejected with the same reason Is i forget something ??? Please help me</p> <p>Thank You</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload