Points of interest not showing in Xcode Instruments

549 Views Asked by At

'Points of interest' are not showing in Xcode. What are possible reasons for this?

Sample (followed from this answer):

let pointsOfInterest = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: .pointsOfInterest)
os_signpost(.event, log: pointsOfInterest, name: "Done", "All done")

enter image description here

1

There are 1 best solutions below

0
Arjan On

I personally had this when I had the environment variable OS_ACTIVITY_MODE set at disable.

In a previous version, Xcode logged way too much which is why this setting was still active in my case.

When I unchecked this, the points of interest showed up again.

Uncheck OS_ACTIVITY_MODE

enter image description here