XCode fails to run app on device, saying the program being debugged is not being run

前端 未结 14 1047
轻奢々
轻奢々 2020-12-14 16:35

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.\"

14条回答
  •  北海茫月
    2020-12-14 17:02

    I was having the same trouble and none of the above worked (even wiping / restoring the device).

    Then I looked and saw that I had mistakenly set all my targets to use the adhoc distribution profile. Which doesn't support debugging.

    See also iPhone Debugging: How to resolve 'failed to get the task for process'?

提交回复
热议问题