iPhone has denied the launch request.

Since yesterday, I am running into "iPHone has denied the launch request." every time I try to run the app.


I searched and read many related discussions, but none of their solutions seem to work for me. I even reinstalled macOS on my Mac, not to mention using different Xcode versions and iPhones and iPads of my friends'.


This is really hopeless.


I don't know if this really has anything to do with my account. Maybe I will be able to find out when I call the developer hotline on Monday.


Does anyone have a clue how this might be resolved? Thanks!

Replies

Same problem.

Free Apple Developer Account

Same problem

I also used free apple developer account, but another developer account for work which has enrolled is OK. I don't know what's happend. Maybe I can not develop with unenrolled account now. ***..

If I were using an enterprise plan and had the same issue, I would contact Apple. I believe the membership fee includes such tech support.

They say the problem is resolved but I cannot make it work

thanks for your reply. it seems that I should enroll as well.

Guys, the problem magically went away on my side about a few hours ago. Maybe it is time we tried again?

I could fix this problem.


xcode>preferences>Account

and I deleted my account.


I signed up again and did "Manage Manual Profiles". I typed keychain passward.

After that,

$ rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"

$ rm -rf ~/Library/Developer/Xcode/DerivedData

$ rm -rf ~/Library/Caches/com.apple.dt.Xcode

I typed these command on console.


I think the cause is Provisioning Profile.

I tried it but it did not work. I have an in house distribution profile. Does it matter?