They changed things around in the last few versions of Xcode. The new name for Foundation Tool is Command Line Tool. After you click that, you have the option to set the type in the bottom half of the window. Make sure it is set to Foundation, and not anything else like C or Core.