Post

Replies

Boosts

Views

Activity

API/frameworks for corporate to monitor its devices file-system on iOS
Wile researching api/frameworks for the backup solution for iOS, I slowly came to realize that there is no effective method for the corporate to monitor/audit file-system on their iOS fleet. Ie - api is there, but limited and the user can always kill your app. Not to mention that you're quite limited in terms of background processing/monitoring Am I missing something?
0
0
483
Oct ’21
Receive iCloud drive file upload notification
I have the need to evict local copies of files in swift, currently I'm doing it the naive way: while !evict_ok { do { try FileManager.default.evictUbiquitousItem(at: url) evict_ok = true } catch { sleep(evict_retry_interval) } } this is needed because we might try to evict the item that has not yet finished being uploaded to the drive. ?> Is there a way to register for a notification / get file state which signifies it's being uploaded, when the upload has not been initiated by us (some other filesystem activity)
0
0
501
Oct ’21
Is it possible to create a non-sandboxed app for iOS, that will actually install and run
Is it possible to create a non-sandboxed app for iOS, that will actually install and run, via manual build/sign process? Ie. via xcodebuild/codesign with custom provisioning profile. It seems xcode IDE does not allow to disable sandboxing for iOS apps. App failing the AppStore review is not an issue - do not intend to distribute it.
2
0
500
Oct ’21
iOS Service/launchd agent implementation
Is there a way to implement a launchd agent / service to do continuous background monitoring on iOS? The idea is to roll the app on the device once - have it request permissions if necessary and then have it autostart and run in the background, transparently to the user. I understand there are background tasks - but I understand these are limited in terms of time-window they can run and I would still need to make foreground, before I can schedule another? I do not intend to distribute the app/package outside of the org.
1
0
498
Oct ’21
Suitable API to watch for directory/file change events on iOS
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.
2
0
516
Oct ’21