Xcode出现The operation couldn’t be completed. (LaunchServicesError error 0.)错误

今天Xcode出现
The operation couldn’t be completed. (LaunchServicesError error 0.)
错误
The operation couldn’t be completed. (LaunchServicesError error 0.)
每次运行程序的时候都会提示,在模拟器中删除后重新运行时没有问题,但是第二次重新运行时又会出错。
在网上搜了很多种方法都没有解决。
最后自己在退出Xcode和模拟器的情况下,删除了~/Library/Developer/下的Xcode和另一个文件夹,问题就解决了。
如果找不到Developer直接前往文件夹
这里写图片描述
这里写图片描述
这里写图片描述

posted @ 2015-12-20 02:03  嘣嚓嚓  阅读(296)  评论(0编辑  收藏  举报