找不到iPhone模拟器 [英] iPhone simulator not found
问题描述
我是Xcode开发的新手.我在基于Lion的Mac上安装了Xcode 4.3.1,并在〜/Library上未设置隐藏标志.
I'm new to Xcode development. I installed Xcode 4.3.1 on my Lion-based mac and unset the hidden flag on ~/Library.
我在此处了解了有关iPhone/iPad模拟器的信息- iPhone:运行.app到iPhone Simulator a>-但此页面上的说明建议此路径在我的计算机上不存在. (我根本没有/Developer文件夹).我认为Xcode 4.3.1应该已经安装了,但是还没有安装.
I read about the iPhone / iPad simulator here - https://apple.stackexchange.com/questions/31015/how-do-i-run-the-ipad-simulator-to-test-a-website-on-my-mac - and also here iPhone : run .app to iPhone Simulator - but the instructions at this page suggest this path which does not exist on my machine. (I do not have the /Developer folder at all). I presume Xcode 4.3.1 should have installed this but it has not.
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app
此页面在stackoverflow上建议模拟器的库位置- 未找到iPhone模拟器路径
This page here on stackoverflow suggested the library location for the simulator - iPhone simulator path not found
/Users/Tim/Library/Application Support/iPhone Simulator/5.1/Applications
我在此文件夹中只有一个guid文件夹,并且没有任何我可以在该guid文件夹中找到的应用程序.我必须要去下载这个地方吗?我无法在Apple开发人员页面上找到有关它的任何信息.
All I have in this folder is a guid folder, and there are not any apps that I can locate inside this guid folder. Is there a place I have to go to download this? I wasn't able to find any information about it on the Apple developers page.
推荐答案
对于Xcode 4.3,模拟器不再位于单独的目录中.它在Xcode应用程序捆绑包内.所以对我来说,这是一条看起来像这样的路径:
For Xcode 4.3 the simulator is no longer in a separate directory. It is within the Xcode application bundle. So for me it is a path that looks like:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app
这篇关于找不到iPhone模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!