Where to set com.apple.application-identifier entitlement for background URLSession?

174 views Asked by At

I am receiving a warning in my macOS app during compilation: Background URLSession adopters are required to have the com.apple.application-identifier entitlement.

J.

I am utilizing NSURLSession, but I am unable to locate where to specify this entitlement in order to resolve the warning. I initilize the NSURLSessionConfiguration as [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier: @"com.mycompany.myappname.analytics"]

0

There are 0 answers