Ios – Xcode 9 error: “iPhone has denied the launch request”

ioslaunching-applicationxcode

Using Xcode beta 9 (v4), I'm trying to launch the app by clicking on the "play" button. I get a "build succeeded" but right before launching, a popup message appears in Xcode:

"iPhone has denied the launch request."

Launch request denial error popup

It used to work yesterday. It does work on the simulator. I've rebooted my computer, the iPhone, uninstall the app, cleaned the build. Running out of ideas.

Best Answer

It may be code sign issue. Make sure you're signing with developer, not distribution.