如何确保最新版本的 iOS 模拟器版本?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18540812/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 00:55:12  来源:igfitidea点击:

How to ensure latest version of iOS Simulator Version?

iosxcodeios-simulator

提问by yhl

My app submission has been rejected by Apple three times now (three weeks total) because I am unable to reproduce a bug they say exists. Apple mentioned they tested using:

我的应用程序提交现在已被 Apple 拒绝了 3 次(总共三周),因为我无法重现他们说存在的错误。Apple 提到他们使用以下方法进行了测试:

"iPad running iOS 6.1.3 and iPhone 5 running iOS 6.1.4"

“运行 iOS 6.1.3 的 iPad 和运行 iOS 6.1.4 的 iPhone 5”

When I check my iOS Simulator, the only versions available are 5.1 and 6.1. How can I update my iOS Simulator so that it has 6.1.3 and 6.1.4?

当我检查我的 iOS 模拟器时,唯一可用的版本是 5.1 和 6.1。如何更新我的 iOS 模拟器,使其具有 6.1.3 和 6.1.4?

回答by Mari Gallegos

I have Xcode version 8.2.1 and to update Simulator you go to:

我有 Xcode 8.2.1 版,要更新 Simulator,请访问:

XCode --> Preferences --> Components

XCode --> 首选项 --> 组件

The Simulators segment filter will be selected by default. Double-click the particular version you would like to install.

默认情况下将选择模拟器段过滤器。双击要安装的特定版本。

It still has the checkbox as well to:

它仍然具有复选框以:

Check for and install simulator documentation updates automatically

自动检查并安装模拟器文档更新

Screenshot Here

截图在这里

回答by LuisCien

Go to XCode -> Preferences -> Downloads and check the box that says "Check for and install updates automatically"

转到 XCode -> 首选项 -> 下载并选中“自动检查并安装更新”框

There you can also see what other components are available for you to download.

您还可以在那里查看其他哪些组件可供您下载。

Hope this helps!

希望这可以帮助!