Blog

Keeping the main thread alive in an xpc service

In your service’s plist, add the following key-val under XPCService

RunLoopType = NSRunLoop
Rajaram Shetty