1

When, I'm trying to launch my app on real device iPhone, I'm getting an error: "Unable to launch com.myappname":

enter image description here

also I noticed weird behavior, when running app on simulator, instead of running app immediately, Xcode first shows me such window:

enter image description here

If this app wasn't installed in simulator before, I can't run it now. What can be wrong? and how to fix it?

Lucky_girl
  • 4,543
  • 6
  • 42
  • 82

1 Answers1

1

I found the problem, I went to Product -> Scheme -> Edit Scheme and there was "Executable Ask on Launch", I changed Ask on Launch to my app name and now it works as expected!

enter image description here

Lucky_girl
  • 4,543
  • 6
  • 42
  • 82