I want to provide some protection for my data files. The files will be exported by my app to the cloud. I don’t want users to mess around and break the data files.
However, the app store rules don’t allow to use encryption.
I’m thinking some sort of encoding.
Can anyone suggest what I might use that would be allowed ?
I’ve tried using zip files, but the libraries are big and / or out of date and aren’t optimized for iOS.
The App Store rules don’t forbid encryption, you need to get the appropriate government permissions and provide these details when you submit your application.
Once you have done this, you should read Protecting Data Using On-Disk Encryption.