I am constructing a framework, and have to differentiate between a file that may be a bundle useful resource (included within the App Retailer IPA / static file outlined at growth time) and a file that the app creates (downloads and saves, or simply in any other case writes to a file in utility help, temp, or every other writeable location).
I wish to do that as a result of the SDK is free to make use of with an area config file, however utilizing a cloud-based config that updates with out transport an app replace is a paid function.
I’ve tried a couple of methods, however I’ve rapidly discovered methods to defeat my very own checks.
- Verify file permissions: however the app can simply change any file to learn solely permissions
- Verify the file exists in a bundle: however the temp listing (and doubtless others) are in the primary bundle
Any authoritative method to examine a file is a bundle useful resource included within the app launch, and never simply any previous file?
Thanks!