I am working on a project with Xcode. In the schematic of my project, I checked the Debug executable box. There is no problem in the emulator. But when I run my project on my own device, I get different pid code errors and the application does not open. However, when the Debug executable box is unchecked, my project works. But I am unable to debug my code without the Debug executable checked. Can someone help me? Xcode version is 15.2 and my device version is 17.2.
Methods I have tried; Delete DerivedData Closing the Debug executable box Try different device sudo DevToolsSecurity -enable