Xcode 5 not showing Scheme option to run Simulator on iOS 6

前端 未结 11 2343
耶瑟儿~
耶瑟儿~ 2020-12-31 04:59

Xcode 5 is behaving just fine, and I\'m able to build and run apps on my iOS 7 device and in the iOS 7 simulator.

However, I do want to support iOS 6.1, but I don\'t

相关标签:
11条回答
  • 2020-12-31 05:38

    enter image description here

    This might help u out better..you have to copy paste iPhoneOS6.1sdk folder. This is for SDK, similarly instead of iPhoneOS.platform select iPhoneSimulator.platform and then the same path.

    0 讨论(0)
  • 2020-12-31 05:39
    1. Click on your project root.
    2. Then Go to the Build settings.
    3. Then set iOS deployment target 5.0
    4. Then select iphone6 on top left of your project.

      See this image

    0 讨论(0)
  • 2020-12-31 05:40

    Xcode5 neither has 6.0 SDK or 6.0 simulator. But what you can do is u can copy both 6.0SDK and 6.0 simulator from your previous Xcodes (xcode4.5 for 6.0 and XCode4.6 for ios6.1) You can find the simulator at /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/applications/iphone simulator.app

    And SDK at /applications/xcode.app/contents/developer/platforms/iphoneos.platform/devicesupport/6.0

    Copy the entire folders for simulator and SDK in the exact same path of XCode5. Note: to go the the Contents of Xcode.app just do a right click on the .app file and you will get an option"Show Contents".

    Once u are done copy pasting, restart ur XCode5 and u can see 6.0/6.1 simulator as an option :)

    0 讨论(0)
  • 2020-12-31 05:47

    Turns out the solution was changing the deployment target for the project from iOS 6.1 to iOS 6.0, upon which the simulator scheme selection immediately showed the option to choose iOS 6 or 7 simulators. Basically the deployment target should match a simulator version that you have installed.

    Thanks to random commenters in questions like this one who mentioned that that worked for them.

    0 讨论(0)
  • 2020-12-31 05:49

    If you are still looking for a solution here's what worked for me:

    • From the xcode beta's pull down menus, Xcode > Open Developer Tool > iOS Simulator (if you get a pop up error just dismiss it)
    • Once in the Simulator go to Hardware > Device > Manage Devices.
    • Delete everything listed under simulator.
    • Reboot your machine.
    • After that navigate back to Manage Devices in the simulator and click the plus to add back your simulators. Then the iOS 8 simulators will show up.
    0 讨论(0)
  • 2020-12-31 05:52

    Just a little caveat....I tried what you said but it didn't work for me... Changed Deployment Target on "Project" from 7.1 to 6.0

    Then I realised that Deployment Target was still set to 7.1 on the "Target" - once I changed that it worked!

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