5

我刚刚安装了 XCode 9 beta 3。

但我在 Pref, Components 下没有看到 iOS 11 版本。

如何设置 iOS 模拟器?

4

3 回答 3

6

1) 打开设备和模拟器窗口:

Window->Devices and Simulators

2) 点击左下角的加号

您将看到添加新模拟器的对话框

3)选择支持iOS 11的设备(即iPhone 7)并点击create

在此处输入图像描述

于 2017-07-18T11:09:07.870 回答
0

Follow these steps to add a (new) simulator

  1. Click on Simulator icon and open simulator list.
  2. At the end of list, there is an option to add new simulator "Add Additional Simulator". That will open 'Device & Simulator' window.
  3. Switch to 'Simulator' tab.
  4. There are three field in simulator tab.
  5. Click on '+' icon, on left bottom corner of window.
  6. Simulator Name: Enter simulator name here
  7. Device Type: Select iPad from this dropdown list
  8. OS Version: Select OS version from this dropdown list
  9. Click on 'Create'

A new simulator will be added in your Simulator option list.

Look at this snapshot to understand flow of above steps: enter image description here

And if there is no simulator/OS version in simulator list, you're looking for,

  1. Click on Simulator icon and open simulator list.
  2. At the end of list, there is an option to add new simulator "Download Simulator". That will open 'Component' window (from Xcode >> Preferences).
  3. Select/click simulator from list, which you need to download.

Look at this snapshot: enter image description here

于 2017-09-02T06:29:21.717 回答
0

我遇到了类似的问题,只看到 iPhone 5 和 6 sims 并且无法使用 iOS11 创建/下载 iPhone 7 模拟器。我的解决方案是将 Xcode 9 beta 3 从下载文件夹移到 xcode 8 旁边的 Applications 文件夹中。我没有意识到它仍在 DL 文件夹中。从 Applications 文件夹启动后,Xcode 9 beta 3 已加载所有模拟程序。值得检查您的是否仍在下载文件夹中,而以前版本的 Xcode 在 Applications 文件夹中。

于 2017-07-28T18:10:55.713 回答