iOS: Failed to launch .app file

房东的猫 提交于 2019-12-03 22:39:57

Try with:
1 - remove the app from the iPhone.
2 - remove the contents of the DerivedData folder.
3 - Clean & Build the project, restart Xcode, and reboot your device.

EDIT:
Now for the step 2 in Xcode 5 you can delete the derived data from the Organizer, just select the Projects tab, select you project and click the "Delete…" button on the right.

If, like me, you see this error in XCODE 6 : “process launch failed: NotFound"

I finally find that the "not found" thing is about the device itself. It was well recognised in the Organizer and everything was working before but xcode didn't managed to run the app on it.

What worked for me : simply try to reboot your device and voila :)

Too bad XCODE still has such unclear error messages! A little more details could spare a lot of hours...

I had the same problem. I tried with restarting the Xcode and deleting the app form device and it worked. Before trying anything complex try this It should work for you also.

Whenever I get the message "Failed to launch .app file", I always check my code signing settings... It usually occurs when I forget to change my code signing identity back to developer from distribution

For me restarting of Xcode, cleaning DerivedData and restaring device wasn't enough in most cases, until I had figured out that iTunes was also running, and after quitting iTunes everything worked fine!

So my steps now are simple:

1. Quit Xcode.
2. If iTunes is running, quit iTunes.
3. Reopen project.

No need to remove app, clean project or restart device.

I cleaned out my provisional profiles, rebooted the iPhone, and rebooted the computer, and it worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!