Rejected iPhone application by Apple developers due to “do not back up” reason. What do I do now?

后端 未结 2 1523
温柔的废话
温柔的废话 2021-01-15 14:21

Application rejected due to \"do not back up\" reason

I tried one thing to remove this issue. I got one small code from Apple technical support and

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-15 14:43

    You should set the attribute at the point where you create the folder. If you try setting the attributes during didFinishLaunching and the folders don't exist yet (ie, on first launch) then once they are created they won't have the attribute set. It'll get set correctly the next time your app is launched, but you'll still end up creating backups between the first and second runs.

    Also, the Library/Caches folder is automatically excluded from backups I believe.

提交回复
热议问题