iPhone Simulator Default Hardware Version

跟風遠走 提交于 2019-12-07 12:43:37

问题


I have been playing around with the iPhone SDK recently. At first I wasn't taking advantage of anything that required version SDK version 2.2. However, I recently started using some features that were added or modified in 2.1 and 2.2.

I installed the new 2.2 SDK and changed my project settings to target SDK 2.2. However, when I hit "Build and Run" in Xcode, the simulator launches with version 2.0 selected. I can change it to 2.2 and my app works as expected, however doing that kills the debug session which would have to be reattached.

Am I missing a setting somewhere that will cause the simulator to launch with version 2.2 selected?

Thanks for any info.


回答1:


Maybe I'm missing something but can't you just select "Simulator - 2.2 | Debug" in the Overview select menu then "Build and Debug"?




回答2:


Control-click on the Xcode project window toolbar and choose "Customize Toolbar…". From there, drag "Active Build Configuration" and "Active SDK" into the menu. Choose "Debug" for your active build configuration and "Simulator - iPhone OS 2.2" for your SDK and try again.

Sometimes the automatic grouped setting doesn't work quite right.




回答3:


I'm suffering the same problem, and none of the above answers work for me, except I manually set it every time, and sadly detach it from Xcode.



来源:https://stackoverflow.com/questions/388298/iphone-simulator-default-hardware-version

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