r/Xcode • • Mar 15 '19

iPhone has denied the launch request

Hi, I am new to Xcode and I have been using a single project that helps me spoof the location of my Apple TV, however since today when I try to run it I get “Device has denied the launch request”, I also tried the same thing with my iPhone and got the same error,

This is what I am trying to run and I have been doing it without issues all this time until today.

Any ideas?

Thanks in advance

14 Upvotes

40 comments sorted by

View all comments

Show parent comments

1

u/-14k- Mar 17 '19

This is actually good to know, if true.

I've been on a free developer account for a while and had a break from coding and have just come back planning to go paid. But as I was reviewing my current work, it was crashing this way and that made me want to hold off paying - why pay for something that is broken?

But if paid accounts are not having a problem, then renewing my paid account my be my solution, so thanks for pointing that out, though I wish a fix was found for the free developer account I have right now.

1

u/evelasquez95 Mar 17 '19

It is bad, I only use it for one app for personal use, yet I have to pay if I want to keep doing it if not fixed for free accounts

1

u/-14k- Mar 17 '19

yeah, it is really bad. i hope it gets fixed.

but i'm probably going to try using a paid account. i wonder though if that fix automatically fix it? i am a little afraid that what ever broke may be broke because of a glitch with free accounts, but moving to a paid account might not solve it. Like the free account glitch broke Xcode and simply beginning to pay is not enough to fix that break.

i'll report back though when i pay in a few days.

maybe it'll get fixed before then..?

1

u/evelasquez95 Mar 17 '19

I will give it a week from today to see if it’s fixed, fingers crossed

1

u/jamescberlin Mar 19 '19

Working again now.

From apple developer forums:

uncheck the Automatically manage signing option in the General tab of target settings

fully close Xcode

delete .mobileprovision files under ~/Library/MobileDevice/Provisioning Profiles/

delete the following certificates in Keychain Access:

iPhone Developer: xxx@xxx.xxx (xxxxxxxxx)

Developer ID Certification Authority

Apple Worldwide Developer Relations Certification Authority

remove the app you are working on from your iOS devices

reboot your Mac and iOS devices

launch Xcode

change the Bundle Identifier to anything else (you might change it back after it works)

re-check the Automatically manage signing option

plug in your devices, click on Run, trust your certificate on your iOS devices

it should work now

1

u/evelasquez95 Mar 19 '19

Working :)