I am trying to follow the instructions mentioned here for setting up Google's C++ framework in XCode Version 4.5.2 (4G2008a).
First, I got
"The run destination My Mac 64-bit is not valid for Running the scheme 'gtest-framework'". The answers here Xcode 4 - The selected run destination is not valid for this action are not working for me. I was able to change the build SDK following the instructions here Unable to build using Xcode 4 - The selected run destination is not valid for this action, except this resulted in many build failures such as
"Unsupported compiler '4.0' selected for architecture 'x86_64'" and
"Unsupported compiler '4.0' selected for architecture 'i386'"
I've changed nothing out of the box, so this is very frustrating that I cannot seem to get this to build.
Details of Machine: 64bit Mac OSX 10.8.2 Build 12C3006
Details of XCode: Version 4.5.2 (4G2008a)