Using Unity 3.4.2 and Xcode 4.2, I am getting this error when trying to build in Xcode.
Unsupported compiler ‘GCC 4.2’ selected for architecture ‘armv7’
This happens whether I choose “Unity-iPhone” or “Unity-iPhone-simulator”, which is the fix suggested in this forum post for a very similar problem, but related to i386 architecture instead of armv7
Thanks handsomePATT, that fixed that particular issue, I really appreciate it. You should be called “handsome&helpfulPATT” Now I have another Xcode error:
[project_path]/Classes/iPhone_GlesSupport.cpp:182:3: error: use of undeclared identifier ‘GL_FRAMEBUFFER_BINDING’ [3]
I’ll search for the solution, but pasted it here just in case you know of it.
I figured it out, my iPad is listed twice in the active scheme. If I choose the second listing, it works fine. Choose the first and it gives that error. No idea why. I posted details to this thread, where someone had the same problem: http://forum.unity3d.com/threads/115614-Continuous-Build-and-Run-Error.