如何在3.0 Simulator上运行应用程序? [英] How to run apps on 3.0 Simulator right?

查看:59
本文介绍了如何在3.0 Simulator上运行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从SDK 3.1和OpenGL ES模板创建了一个新项目.如您所知,此新模板具有ES 1.1和ES 2.0实现.我想先处理ES 1.1部分:),所以我将项目设置中的Base SDK更改为Simulator 3.0,然后将Xcode左上角的Active SDK更改为"Simulator 3.0-Debug".但是,当我从模板启动该示例项目时-它成功地在代码中初始化了OpenGL ES 2.0渲染器,并进入了ES 2.0部分.我想模拟没有OpenGL ES 2.0的旧设备并测试1.1部分.在不更改代码的情况下如何做到这一点?

I created a new project from SDK 3.1 and OpenGL ES template. As you know this new template has ES 1.1 and ES 2.0 implementations. I wanna deal with ES 1.1 part first :) so I changed Base SDK in project settings to Simulator 3.0 and then I changed Active SDK in upper left corner of Xcode to "Simulator 3.0 - Debug". But when I start this sample project from template - it successfully initialize OpenGL ES 2.0 renderer in code and go to ES 2.0 part. I want to simulate old devices without OpenGL ES 2.0 and test 1.1 part. How can I do that without changing code?

谢谢!

推荐答案

从不同来源获得的答案是:

Answers recieved from different sources are:

模拟器不适合(也从未如此)用于这种旧操作系统的回归测试.请记住,模拟器不是模拟器,没有操作系统,并且不能准确反映您的代码所处的环境将在其中运行

"The Simulator is not appropriate (nor has it ever been) for this kind of old-OS regression testing. Remember, the Simulator is not an emulator, has no OS, and doesn't accurately reflect the environment that your code will be running in"

和模拟器可以提供一些基于OS的行为差异.但是,这绝对不能替代设备测试.此外,iPhone OS 3.0仍支持OpenGL ES 2.0,并且无法在Windows XP中禁用该支持.模拟器."

and "The simulator can provide some behavioral differences based on OS. However, that is absolutely not a substitute for device testing. Additionally, iPhone OS 3.0 still supports OpenGL ES 2.0, and there is no way to disable that support in the simulator."

这篇关于如何在3.0 Simulator上运行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆