I\'m running Xcode, trying to get my app to run on my iphone. I\'m getting the error message \"the program being debugged is not being run.\"
To fix this I deleted the last app which I had deployed to the app using xcode and then built my current app again and it worked fine.