[英]Why does Xcode launch the IPad simulator when the iPhone simulator is selected?
When I develop my project in Xcode 5.0.2 and "Build and Run" it, it launches the iPad simulator always when I selected iPhone Simulator ? 当我在Xcode 5.0.2中开发项目并“构建并运行”该项目时,总是在选择iPhone Simulator时启动iPad模拟器。 What is going on? 到底是怎么回事? How do I get it to run the iPhone simulator? 我如何获得它来运行iPhone模拟器?
Follow the image sequence and watch the result.. Set the launch target 遵循图像序列并观看结果。. 设置启动目标
check the launched simulator details... 检查启动的模拟器详细信息...
These step May Help you for resolving this issue. 这些步骤可能会帮助您解决此问题。
For iPhone (3.5 -inch) Simulator: 对于iPhone(3.5英寸)模拟器:
For iPhone (4.0 -inch) Simulator: 对于iPhone(4.0英寸)模拟器:
For iPad Simulator: 对于iPad Simulator:
iPhone/iPad
selected for the Targeted Device Family setting under the Deployment section
. 确保项目的“构建设置”已为“ Deployment section
下的“目标设备系列”设置选择了iPhone/iPad
。 (As if you try to run iPad project on iPhone will show you this Error - > The run destination iPhone Retina (4-inch) is not valid for Running the scheme 'Test'.) (好像您尝试在iPhone上运行iPad项目将向您显示此错误->运行目标iPhone Retina(4英寸)对于运行方案“测试”无效)。 if None work for you then please try to Quit both Xcode
and Simulator
. 如果没有适合您的方法,请尝试同时退出Xcode
和Simulator
。 or you may need to reinstall you Developer Tools Again. 否则您可能需要再次重新安装开发人员工具。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.