EBシリーズ(EBPocket,EBWin,EBMac,EBStudio),KWIC Finder,xdoc2txt,読書尚友の開発者ブログ

EBPocket for iOS がReject(3)


2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected

We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App Store Review Guidelines.

In particular, we found that on launch and/or content download, your app stores 17.66 MB. To check how much data your app is storing:

  • Install and launch your app
  • Go to Settings > iCloud > Storage & Backup > Manage Storage
  • If necessary, tap "Show all apps"
  • Check your app's storage

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.

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.

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.

For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud and iTunes?.

It is necessary to revise your app to meet the requirements of the iOS Data Storage Guidelines.

Document ディレクトリはiCloudにバックアップされるので、容量の大きな辞書データを展開するとまずいらしい。キャッシュディレクトリに置くのが推奨だが、ユーザがEPWING辞書を複写するためには、どうしてもDocument ディレクトリに辞書を置く仕様にしないと、EPWINGビューアとして成り立たない。
そこで、DocumentディレクトリのEPWING辞書を入れるサブディレクトリ( /EBPocket ) に、バックアップ不可属性(NSURLIsExcludedFromBackupKey)を付ける方法にして、再提出した。
Technical Q&A QA1719: How do I prevent files from being backed up to iCloud and iTunes?


なお、64bitの実機で本当に問題が無いのかどうか不安になったので、整備品のiPad mini2 16GBを注文した。検証が終わったらすぐ手放すと思う。