SwiftUI Instrumentation Fails to start

I am trying to perform swiftUI instrumentation on my ios app. whenever i hit the rocord button, the app launches on target device and closes with the error:

Failed to start the recording: Failed starting ktrace session.

How do i resolve this please?

SwiftUI Instrumentation Fails to start
 
 
Q