Xcode project not showing list of simulators

后端 未结 30 2127
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 18:46

I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean, the option is grayed out. When

相关标签:
30条回答
  • 2020-12-12 19:07

    If you just updated Xcode, you may need to restart your computer before simulators become available again.

    0 讨论(0)
  • 2020-12-12 19:07

    I had the same issue, generated from an imported project, the project had 10.3 as deployment target and I only had 10.0 installed, changing the deployment target to 10.0 solved my issues.

    0 讨论(0)
  • 2020-12-12 19:08

    Try This, It worked like a charm! for me,

    Follow below step

    1) Clean Derived Data as show below,

     rm -rf ~/Library/Developer/Xcode/DerivedData/
    
    OR
    
     Xcode---> Preferences--->Location--->Derived Data
    

    2) In Deployment Info change Deployment Target

    It's equal to or less then the SDK version of Xcode

    3) Quit Xcode

    4) Reopen Xcode you will see list of simulators

    Hope this answer will help for someone.

    0 讨论(0)
  • 2020-12-12 19:08

    Cmd below solved my problem:

    $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    

    In my case, I upgraded to Xcode 8 and downloaded another version 7.3.1 later (renamed it to "Xcode 7.3.1"), then cannot get the simulator list in Xcode 8.

    0 讨论(0)
  • 2020-12-12 19:08

    check in your project's build settings , make certain you select Latest iOS (iOS 8.1).

    0 讨论(0)
  • 2020-12-12 19:08

    Deployment Target version change to a lower one helped for me:

    Window -> Devices and Simulators -> Simulators. Check what are the latest versions of existing simulators.

    Then go to your project's Target. Under Deployment Info, change Target to the version you saw the latest within your simulators. Mine was set to iOS 13.6 when the simulator was iOS 13.5 only.

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