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:
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With