I am developing a cloud-based application and have integrated the FileProviderExtension. However, files larger than 20 MB are not uploading, as it's throwing a memory limit exception.
Error: Thread 28: EXC_RESOURCE (RESOURCE_TYPE_MEMORY: high watermark memory limit exceeded) (limit=20 MB)
FileProvider app extension processes have a 20 MB memory limit on iOS.
You will need to find a method to upload the file, which is not loading the entire file into memory.
Look into this one: https://developer.apple.com/documentation/foundation/nsurlsession/1411550-uploadtaskwithrequest