The runtime for selected device is not installed error

前端 未结 6 1051
孤独总比滥情好
孤独总比滥情好 2021-01-02 00:45

I am trying to run application using xcode 6 on ios8 simulator but I am getting error \"The runtime for selected device is not installed \".

I have set

相关标签:
6条回答
  • 2021-01-02 01:03

    It's because you removed Xcode 5 from your computer.

    0 讨论(0)
  • 2021-01-02 01:12

    As mentioned in the Xcode 6 release notes, you will not be able to use the iOs Simulator if you rename Xcode.app after launching it. Currently, the workaround is to just rename it back or reboot.

    0 讨论(0)
  • 2021-01-02 01:12

    I renamed xode 5 back to xcode.app and it worked. iOS simulator will not run if we rename the xcode.

    0 讨论(0)
  • 2021-01-02 01:15

    After installing Xcode, be sure you "select" it in Terminal, before launching / downloading updates.

    ex.

    sudo xcode-select -switch /Applications/Xcode6-Beta6.app/Contents/Developer/
    

    Also handy to have around... This command shows your currently selected Xcode version.

    sudo xcode-select --print-path
    
    0 讨论(0)
  • 2021-01-02 01:22

    This just happened to me right after a beta update to Yosemite 10.10 and Xcode 6.6. I still have XCode 5 installed, and I thought it may have been from deleting XCode 6.5, but putting it back in Applications did not help.

    First, make sure you have all devices installed in your Simulator. This could fix it right off the bat.
    iOS Simulator --> Hardware --> Device --> Manage Devices

    I had all the correct devices installed, however, and was still getting the error. This is what finally fixed it:
    XCode --> Open Developer Tool --> iOS Simulator
    iOS Simulator --> Reset Content and Settings
    Restart computer

    0 讨论(0)
  • 2021-01-02 01:23

    For me restoring xCode 6 beta 5 helped

    0 讨论(0)
提交回复
热议问题