简体   繁体   English

如何将iPad模拟器升级到iPad(Retina)模拟器?

[英]How to upgrade iPad simulator to iPad(Retina) simulator?

我正在使用XCode 3.2.5,并且想在iPad(Retina)模拟器上运行我的应用程序,该怎么做。

You need to install 4.3.1 . 您需要安装4.3.1 It's in the Mac App Store. 在Mac App Store中。 From the simulator, use the hardware menu and select what you want. 在模拟器中,使用硬件菜单,然后选择所需的内容。

UPDATE: 4.3.1 with iOS SDK 5.1 it appears 更新:4.3.1与iOS SDK 5.1一起出现

There is a way to install the iOS 5.1 SDK to xcode 4.2, which works with Snow Leopard, and you can also include iOS 5.1 for the simulator. 有一种方法可以将iOS 5.1 SDK安装到xcode 4.2(与Snow Leopard一起使用),并且还可以将iOS 5.1包括在模拟器中。

Here are the steps on how to do it: http://www.iphonedevsdk.com/forum/iphone-sdk-development/100229-snow-leopard-sdk-5-1-a.html 以下是操作步骤: http : //www.iphonedevsdk.com/forum/iphone-sdk-development/100229-snow-leopard-sdk-5-1-a.html

It is working on my application currently in development but I haven't subitted it to the app store yet. 它正在开发中的我的应用程序上运行,但是我还没有将其替换到应用程序商店中。

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 ". 在列表的末尾,有一个添加新模拟器的选项“ 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 设备类型: 从此下拉列表中选择iPad
  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: 查看此快照以了解上述步骤的流程: 在此处输入图片说明

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 ". 在列表末尾,有一个添加新模拟器的选项“ Download Simulator ”。 That will open 'Component' window (from Xcode >> Preferences). 这将打开“组件”窗口(从Xcode >> Preferences)。
  3. Select/click simulator from list, which you need to download. 从列表中选择/单击模拟器,您需要下载它。

Look at this snapshot: 看一下这个快照: 在此处输入图片说明

我猜想此功能仅在xcode 4.3.1中可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM