Swift Package giving "Required kernel recording resources are in use by another document." error

Hi,

I was trying to use Instruments on a executable Swift Package I am working on but I keep getting this error.

"Required kernel recording resources are in use by another document."

What document? I also can't profile Swift NIO's NIOHTTP1Server or a fresh iOS project using File > New > Project > Multiplatform App

I was getting this error before revoking the current certificate in keychain and setting up a new one. “Failed to gain authorization” https://developer.apple.com/forums/thread/681687

Xcode/Instruments 13.3 (13E113)

Thanks in advance for any help.

Hi there,

Do you happen to have any other windows of Instruments trying to record at the same time?

Kacper

Swift Package giving "Required kernel recording resources are in use by another document." error
 
 
Q