Ios – Xcode 10 – iPhone has denied request to launch

iosiphonexcode

I'm running Xcode 10 and iOS 12.1 on my iPhone 6S Plus. The app works when running in simulator, but when running my app in Xcode with my phone connected, i get this error:

iPhone has denied the launch request.

error

My iPhone is a trusted device on my mac, and i have my signing certificate. I've spent hours googling for a solution but none of them are working for me.

Anyone have any ideas?

Best Answer

I was also facing similar issue. What work for me is to change the trust to "Use System Defaults" (Previously it was always ask) in "Apple worldwide developer relation certificate authority" in keychain.

enter image description here