Xcode project not showing list of simulators

后端 未结 30 2101
隐瞒了意图╮
隐瞒了意图╮ 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:24

    Sometimes the simulator you have might not be the simulator specified in Build Settings. Make sure that simulator package is downloaded for your IOS Deployment Target

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

    If you renamed Xcode.app since first launch, the iOS Simulator becomes unavailable. This is mentioned in the Xcode 6.1 Release Notes:

    Renaming Xcode.app after running any of the Xcode tools in that bundle may cause iOS Simulator to be no longer be available. Either rename Xcode.app back to what it was when first launched or restart your Mac. (16646772)

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

    I had this happen to me after an update to a new Xcode. Running

    xcode-select --install
    

    fixed it for me.

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

    After upgrading to Xcode 10.3, the list of simulators was empty. I rebooted and it was resolved.

    This doesn't necessarily answer the OP's specific question, but this was the first place I ended up in researching my Xcode 10.3 upgrade issue.

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

    Solution: Build Settings -> Architectures -> Supported Platforms: changed from iphoneos to iOS

    Confirmed works in Xcode Version 9.0 (9A235)

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

    Lower the Deployment Target version. For example you have set the target as iOS 13.4 but your Xcode version is lower and there is no iOS 13.4 installed simulator.

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