I get the same error using the Xojo IDE (url not permitted). The debugged app has an ad-hoc code certificate. Shouldn't this be enough for Instruments?
macOS 11.2 and Instruments 12.5.
Problem solved: was missing the correct entitlement.
Topic:
Programming Languages
SubTopic:
Swift
Tags: