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

前端 未结 14 1095
轻奢々
轻奢々 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:10

    For those people who are still getting this error after trying all the above, the following solution just fixed it for me after I was getting the error.

    I do jailbroken development, so to bypass mandatory code signing I had modified XCode's Info.plist under /Developer/Platforms/iPhoneOS.platform.

    To fix the error, just revert those modifications: replace all instances of XCCodeSignContext with XCiPhoneOSCodeSignContext in that Info.plist file.

提交回复
热议问题