xcode 在 SDK/Xcode4 下载上哪里可以找到 iOS 模拟器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7363286/
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
Where to find iOS Simulator on SDK/Xcode4 download?
提问by Philip Kirkbride
I need to use the iOS Simulator for a iPad website I'm working on.
我需要将 iOS 模拟器用于我正在处理的 iPad 网站。
I have downloaded Xcode4(http://developer.apple.com/devcenter/ios/index.action)
我已经下载了 Xcode4( http://developer.apple.com/devcenter/ios/index.action)
I'm now looking for the iOS Simulator and can't find it anywhere. Do I have to launch it via Xcode if so how?
我现在正在寻找 iOS 模拟器,但在任何地方都找不到。如果可以,我是否必须通过 Xcode 启动它?
EDIT:
编辑:
I'm not seeing any Developer Folder. Someone on the App store said this on a rating of Xcode...
我没有看到任何开发者文件夹。App store 上有人对 Xcode 的评价这么说...
"Is the Developer folder put somewhere other than the top level of the hard drive?"
“Developer 文件夹是否放在硬盘驱动器的顶层以外的其他位置?”
回答by Noah Witherspoon
The easiest way to launch it is via Xcode, running an application you've just built. If you want to open it manually, though—for testing a website or whatever—it's in /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
.
启动它的最简单方法是通过 Xcode,运行您刚刚构建的应用程序。但是,如果您想手动打开它——用于测试网站或其他任何东西——它在/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
.
回答by matm
In the spotlight search for "iOS Simulator" - once it is found, launch it. It'll probably open as an iPhone simulator so select from simulators' menu "Hardware -> Device -> iPad"
在聚光灯下搜索“iOS 模拟器” - 找到后,启动它。它可能会作为 iPhone 模拟器打开,所以从模拟器的菜单中选择“硬件 -> 设备 -> iPad”
回答by William Gruner
I found mine here:
我在这里找到了我的:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
Could be they moved it in the latest version of Xcode - I'm running 4.5.2.
他们可能会在最新版本的 Xcode 中移动它 - 我正在运行 4.5.2。
回答by specktro
You can download the XCode4 package from App Store application in your Mac. it must have the Simulator application and you can find it in > /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
.
您可以从 Mac 中的 App Store 应用程序下载 XCode4 包。它必须有 Simulator 应用程序,您可以在 > 中找到它/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
。