I tried everything but finally it's worked!!!!
Solution 1
It's an issue with authorization. Try this in the Terminal:
sudo DevToolsSecurity -enable
It may ask you to enter your mac password so kindly do that.
Solution 2
Edit Scheme -> Run -> Debug excitable
uncheck this checkbox it will be ok!