it shows the error implicit declaration of function.
What platform are you working on?
os_trace_with_payloadis a macOS-only thing (if you look in the header you’ll see it’s guarded by
__has_include(<xpc/xpc.h>), and XPC is only public API on the Mac).
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"