Xcode 15 app crashes on startup iphone 6 version: (12.5.7)

dyld: warning: could not load inserted library '/System/Library/PrivateFrameworks/GPUToolsCapture.framework/GPUToolsCapture' into hardened process because image not found

This is the error text. I've been trying for a few days and couldn't find a solution (it works fine after iOS 15).

Xcode 15 app crashes on startup iphone 6 version: (12.5.7)
 
 
Q