Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question
More specific information is required. What version of OS X are you using? This being in the title is not acceptable since I just missed it. Are we talking about 64-bit kernel or 32-bit kernel that makes a difference. I suggest you look for updated instructions to compile that framework my guess it hasn't been updated to even support 10.8.2 and unless you have the knowledge required to fix it will run into dozens of problems like your facing. – Ramhound Dec 8 '12 at 1:44
It looks kind of like – eb80 Dec 8 '12 at 5:04
So did you apply the patch? – Ramhound Dec 10 '12 at 12:02
The patch is not from Google officially and as such I do not trust it. – eb80 Dec 25 '12 at 22:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.