1

'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

Arjan
  • 16,210
  • 5
  • 30
  • 40

1 Answers1

0

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

Arjan
  • 16,210
  • 5
  • 30
  • 40