Arjan
Arjan

Reputation: 17054

Points of interest not showing in Xcode Instruments

'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

Upvotes: 1

Views: 867

Answers (1)

Arjan
Arjan

Reputation: 17054

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

Upvotes: 0

Related Questions