开发者

Why does Xcode launch the iPhone simulator when the iPad simulator is selected?

开发者 https://www.devze.com 2022-12-29 04:38 出处:网络
When I open an existing iPad project in Xcode and \"Build and Run\" it, it launches the iPhone simulator when I have the iPad Simulator set as the active executable?Inside the iPhone simulator is a sh

When I open an existing iPad project in Xcode and "Build and Run" it, it launches the iPhone simulator when I have the iPad Simulator set as the active executable? Inside the iPhone simulator is a shrunken version of the iPad. What is going on? How do I get it to run the iPad simulator?

Note: When the iPhone Simulator is running, I double checked the Hardware->Device setting and it's set to iPad. This is what 开发者_运维问答I want, of course, but I don't want it to run the iPhone simulator. I seem to recall it used to run an iPad simulator. Is there such a thing or am I tripping and there is only an iPhone simulator that can run iPad apps?

Thanks in advance for your help!


The iPhone simulator and the iPad simulator are the same application. If you're just concerned about the size of the iPad, go to Window -> Scale and choose "100%".


In the top left hand corner of xcode, next to the stop button, you will see your scheme. Click the iPad Simulator button and change it to iPhone.

Why does Xcode launch the iPhone simulator when the iPad simulator is selected?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号