"the program being debugged is not being run."
I'm running X开发者_如何学Ccode, trying to get my app to run on my iphone. I'm getting the error message "the program being debugged is not being run."(no solution like restarting device/xcode/mac, reinstalling provisioning profile,unplug/replug device,reinstallation of app on the device works for me)
:( :(
Try removing ALL expired provisioning profiles (even unrelated to current app) on your device. You can do this by going to Settings app->General->Profiles (on the device), and then "Remove" the ones that show as expired. This has worked for me in the past.
Don't know if you've solved the problem. What worked for me was to set all linked libraries (one of them was still set to simulator and/or distribution) to the same build configurations.
change provisioning profile select through Info I changed selected provisioning profile from Ad-Hoc to Developer and the problem solved.
精彩评论