Xcode 9 error: "iPhone has denied the launch request"

user1988824 picture user1988824 · Jul 31, 2017 · Viewed 119.6k times · Source

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.

Answer

Nikhlesh Bagdiya picture Nikhlesh Bagdiya · Aug 22, 2017

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