iPhone simulator not found

為{幸葍}努か 提交于 2020-01-04 05:34:12

问题


I'm new to Xcode development. I installed Xcode 4.3.1 on my Lion-based mac and unset the hidden flag on ~/Library.

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

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

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.


回答1:


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


来源:https://stackoverflow.com/questions/9799405/iphone-simulator-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!