XCode5 can't install app on iOS simulator

↘锁芯ラ 提交于 2019-12-05 00:17:16

问题


I successfully installed the app several times. Suddenly, I got this message "My App" exited unexpectedly, lost connection. This happens with iOS 6.x and 7 . I already tried deleting app manually from simulator, resetting, clean, quit, restart, everything ...

Any advice?


回答1:


In the iOS Simulator menu, do "Reset Content & Settings". If that doesn't fix it, reboot your computer.




回答2:


I found a "Fix" for this. After trying everything and getting the same error on "My App", I opened and tried to run "My App 2". "My App 2" ran fine, so I went back to "My App", tried again and this time everything worked fine. Crazy




回答3:


rm -rf ~/Library/Developer/Xcode/DerivedData fixes the issue for me (reference: How to Empty Caches and Clean All Targets Xcode 4)



来源:https://stackoverflow.com/questions/18993504/xcode5-cant-install-app-on-ios-simulator

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