xcode5 iOS Simulator failed to install the application

点点圈 提交于 2019-12-10 17:54:27

问题


Recently i installed X-Code 5 on my new Mac-mini, and created a iOS project with "Single View Application" template.(I haven't added any code). when i run the application i got the error "iOS Simulator failed to install the application." The deployment target and Base SDK are set to iOS 7.

The simulator screen is blank as [in this stack overflow question][1]

also the following Simulator menu options are not working.

1.Debug->Open System log

2.Hardware->Home,Lock & Toggle in call status bar

Here is the Simulator error log.

    iPhone Simulator[804] <Error>: Could not lookup service com.apple.iphonesimulator.bridge: 3
    iPhone Simulator[804] <Error>: Error communicating with SimulatorBridge: NSObjectNotAvailableException - Unable to connect to SimulatorBridge
    iPhone Simulator[804] <Error>: Could not lookup service com.apple.iphonesimulator.host_support: 3
    iPhone Simulator[804] <Error>: Unable to update keyboard layout because we were unable to connect to the host_support mach service.

Thanks in advance.


回答1:


Here is the concrete solution to your problem,

  1. launch the iOS Simulator

  2. Go and click "iOS Simulator" Menu

  3. click "Reset content and settings"

  4. close simulator and rebuild your app.

Above screen shot is showing the way how you can do this...

I think this works for you...!!!




回答2:


Try the following:

  1. Reset Content and Settings of the simulator
  2. Quit Xcode
  3. Quit Simulator
  4. Try again


来源:https://stackoverflow.com/questions/19914786/xcode5-ios-simulator-failed-to-install-the-application

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