XCode5 can't install app on iOS simulator

2019-03-29 10:23发布

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?

3条回答
贼婆χ
2楼-- · 2019-03-29 10:50

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楼-- · 2019-03-29 10:55

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

查看更多
地球回转人心会变
4楼-- · 2019-03-29 10:58

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

查看更多
登录 后发表回答