Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone has denied the launch request issue [duplicate]

Tags:

xcode

ios

I was trying to run my app on my iphone to test it, but got this error:

error: failed to launch '/private/var/containers/Bundle/Application/some numbers/app name.app' -- iPhone name has denied the launch request.

I found some ways to solve this problem but they did't work I tried to:

  • reinstall the app
  • recreate the Provisioning Profile file
  • delete the Developer Certificate from Keys so that it will recreate certificate
  • reinstall the Xcode
  • Setting 'Apple Worldwide Developer Relations Certification Authority' trust mode from 'Always trust' to 'System defaults'.

The only way to run the app on iPhone is to disable "debug executable" in scheme, but that is not the best solution because I can't use debugger, maybe there is better solution for this problem?

like image 210
Savmex Avatar asked Oct 16 '22 05:10

Savmex


1 Answers

If you have a free developer account, here is the solution:

Xcode -> preferences -> manage certificates -> bottom plus sign -> iOS Development -> donwload manual certificates.

Under general, go to signing -> change team to none then go back to your development account.

like image 148
sfung3 Avatar answered Nov 15 '22 06:11

sfung3