Decrements the reference count of an object.
- macOS 10.7+
- Mac Catalyst 13.0+
The object which is to be manipulated.
The caller must take care to balance retains and releases. When creating or retaining XPC objects, the creator obtains a reference on the object. Thus, it is the caller's responsibility to call xpc_release() on those objects when they are no longer needed.