Search code examples
iosiphonexcodexcode10

error: failed to launch '/private/var/containers/Bundle/Application/ problem still not solved


All of a sudden I have a problem with my iPhone (iPhone X), even if I went to the general > Device Management > Trust process.

I edited the scheme as well (product > edit scheme > run > ask on launch)

Nothing seems to be working.

What surprise the most is that I have been working on this app for more that a month without any problem, and now it just won't work.

ps1: iPhone simulator works perfectly

ps2: I managed to get it to work without debugging with 'command + i'

iPhone has denied the launch request.


Solution

  • This may be a code signing in issue. Make sure you are signing with developer profile and not from distribution profile. Also, after you try to run your project, clean your derived data.