Did you check that with the new Xcode the gcc compiler got installed?
Open a terminal and enter "gcc". I had a similar issue with the latest XCode and i had to install the package separately.
If it is missing, then do this: Open XCode go to preferences under downloads install command line tools