printDavid
printDavid

Reputation: 235

Cannot find 'OSSignposter' in scope

I am new to Instruments and I want to use the new struct OSSignposter. To use it I updated macOS to 12.0.1. My Xcode Version is 13.0.

When I try to create an instance of OSSignposter I get the Error message "Cannot find 'OSSignposter' in scope".

The small Codesnippet is:

import os
let signpost = OSSignposter()

Can someone help me to fix that issue. Thanks

Upvotes: 3

Views: 589

Answers (1)

Marc06210
Marc06210

Reputation: 136

For the people facing the same issue, the import is:

import os.signpost

Upvotes: 3

Related Questions