swisspol/GCDWebServer

Error acquiring assertion on iOS

diachedelic opened this issue · 2 comments

I am seeing this error in the console each time GCDWebServer receives a request on iOS, and I can't find anything through google.

[ProcessSuspension]  0x10bafdeb0 - ProcessAssertion() PID 27900 Unable to acquire assertion for process with PID 27900
[ProcessSuspension] 0x10bafdeb0 - ProcessAssertion::processAssertionWasInvalidated()
[assertion] Error acquiring assertion: <NSError: 0x600001ba4300; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {
    userInfo = {
        RBSAssertionAttribute = <RBSLegacyAttribute: 0x7f9f25539fe0; requestedReason: FinishTaskUnbounded; reason: FinishTaskUnbounded; flags: PreventTaskSuspend>;
    }
}

Can I safely ignore this?

This doesn’t seem related to GCDWebServwr

Does GCDWebServer start a background task for each request, to ensure they are processed? Perhaps newer versions of iOS are stricter about that?