Good day. I'm working on a backup-app, that needs to watch a large directory tree on iOS.
On macOS we have FSEvents API, which, I understand, is suitable for the task, but not available on iOS.
So I opted to try GCD DispatchSource - works, but needs to open descriptors for every watched dir in the tree to receive events. I've hit the open-file limit (256).
There's still at least a third option of trying endpoint-security api, but that seems to be a massive overkill.
?> Is there a way to increase the open-file limit for the app? If no - maybe I'm missing some other api to use for the task? I do not need to distribute the app in store.