xcode 升级到4.6 时,会出现一些问题,如:'OpenGLES/ES2/gl.h' file not found. 在模拟器上运行没有问题,但是在真机上运行就出现错误了。 此时,需要重新安装xcode。 参考:http://stackoverflow.com/questions/15213318/fail-to-run-app-on-the-device-works-good-on-both-ios-5-0-6-0-simulators