Points of Interest for iOS targets in Xcode 11.4 not working?

I use “Points of Interest” signposts and ranges all the time. But with Xcode 11.4, I’m no longer seeing signposts for my iOS targets. Is this a known issue?


import os.log

private let pointsOfInterest = OSLog(subsystem: "PointsOfInterestDemo", category: .pointsOfInterest)

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        os_signpost(.event, log: pointsOfInterest, name: "viewDidLoad")
    }

    @IBAction func didTapStartRange(_ sender: Any) {
        let id = OSSignpostID(log: pointsOfInterest)
        os_signpost(.begin, log: pointsOfInterest, name: "didTapStartRange", signpostID: id)

        DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
            os_signpost(.end, log: pointsOfInterest, name: "didTapStartRange", signpostID: id)
        }

        os_log("didTapStartRange")
    }

    @IBAction func didTapSignpost(_ sender: Any) {
        os_signpost(.event, log: pointsOfInterest, name: #function)

        os_log("didTapSignpost")
    }
}

It works in Xcode 11.3.1 (11C505), but not Xcode 11.4 (11E146). And in Xcode 11.4, it works for macOS targets, but not iOS targets. I’m running Catalina 10.15.4 (19E266) on MacBook Pro (15-inch, 2018). I tried deferred recording, and 13.2 simulator target, all with no joy.

Hi eoonline,


Can you please file a feedback report on this that contains your target iOS version and link number of the issue here? Thank you very much for your help!


Kacper

Same issue here.

Hi there!


This issue has been resolved in Instruments 11.4.1, released today. It has been release noted. Thank you very much for reporting it on the forums and sorry for your inconvenience.

Tôi rất thích ios

Points of Interest for iOS targets in Xcode 11.4 not working?
 
 
Q