Posts

Post not yet marked as solved
7 Replies
Are you using NSFileProtectionComplete in your entitlements? We found a *strong* correlation between using NSFileProtectionComplete and the crash, which would happen soon after device lock.We were able to temporarily work around this issue by switching to NSFileProtectionCompleteUntilFirstUserAuthentication, then locking specific directories with NSFileProtectionComplete.
Post marked as solved
34 Replies
Are you using NSFileProtectionComplete in your entitlements? We found a *strong* correlation between using NSFileProtectionComplete and the crash, which would happen soon after device lock.We were able to temporarily work around this issue by switching to NSFileProtectionCompleteUntilFirstUserAuthentication, then locking specific directories with NSFileProtectionComplete.
Post not yet marked as solved
7 Replies
We had a similar problem with background uploads when the device is locked. Our workaround was to set NSFileProtectionNone on the <NSCachesDirectory>/com.apple.nsurlsessiond directory. One difference was that we were receiving NSPosixErrorDomain / code = 1 instead.I thought we had filed a Radar on this because I'm not seeing it now. Bill