How to prevent an application from receiving iCloud support

I'm having trouble accepting the app on the App Store. The problem is that the database is backed up by iCloud, according to Apple, although I tried to prevent this by setting skipBackupFlag for the database file to YES for each documentation .

Maybe I did something wrong, so I would like to check this before resubmitting the application. Note that I am storing the database in the NSLibrary directory with my package identifier added as a subdirectory, so the actual directory is like this:

 /var/mobile/Applications/DA9AF74B-3735-4325-BE87-F4D3003AD205/Library/com.mycompany.myapp/my.db: 

As a check on my iPod, I switched to "settings", "iCloud storage and backup", "Manage Storage", "Show all applications", but my application displays only 1.3 kb. According to Apple, it supports more than 7 mb for iCloud, so for them the backup includes a database file.

Another question (if I can't figure out how to check skipBackupFlag) is it enough to just set the skipBackupFlag database file to YES or set the skipBackupFlag directory?

+4
source share
1 answer

I never figured out how to test skipBackupFlag, but I'm sure I installed it incorrectly. As soon as I fixed this, the application was accepted. Data is not copied, but stored in NSDirectory.

0
source

Source: https://habr.com/ru/post/1394081/


All Articles