Xcode Suddenly Stopped Running Project on Hardware: "Could Not Launch Xxx.App: .. No Such File.."

Error while launching the application on device

First try restarting Xcode. If it doesn't work, then try hard reset of your device.
This happens to me when I change the bundle identifier of my app.

No such file or directory XCODE 7

The answer was pretty easy: I just have to reinstall the pod file and the Carthage file and everything works nice.

Application not automatically launching in device and getting error on xcode

That is really annoying. This error happens in a number of different situations. Sometimes restarting the Xcode, fixes the problem. If not, follow these steps:

Disconnect your device.

Delete the app from your device.

Quit Xcode (Do not just simply close the window, quit it)

Delete derived data folder (~/Library/Developer/Xcode/DerivedData/-gbrvhlvwmpiobxdujegtghggrffp - or something like that)

Now start Xcode once again, connect device and run the project. It should work fine.

from DhilipSiva blog

Xcode does not run the app on simulator. (App exited unexpectedly)

My problem was the debugger. Actually, it still is.
The way I solved, and have been doing for every new project, was to disable the debugger and then run the project. That way I'm able to use the app on the simulator but without the debugging functionality.

I don't know what the problem is, what is causing this debugger issue in my case, but for now that's the best I could come up with. Thanks to the friends that replied to my question and helped my research I was able to test it and disable it.

This is how I disabled the debugger:

  1. Project > Edit scheme
  2. Set Debugger to None

Sample Image

If anyone knows a solution for this, feel free to answer this question and I'll make sure to update the selected answer accordingly.

Again, thanks for all your time and patience, specially @Popeye and @HotLicks that spent a lot of their time trying to help me.



Related Topics



Leave a reply



Submit