iOS 14 - Error acquiring assertion

Wally McClure 1 Reputation point

[assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}>

How do I set this entitlement? I've been googling with little success. I am assuming I am doing something dumb and forgetting a setting in either the info.plist of my entitlements.plist. I just haven't been able to find it.


A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alexey Shikov 1 Reputation point

    That might sound weird, but ensure the WKWebView has a parent view. If it's not - try to create an empty UIView and add WKWebView as a subview.

    0 comments No comments