title: How to add Core Foundation framework in Xcode 4 to a bare Command Line Tool if frameworks list is empty?
body: <p>I created a new command line tool (the way to create a Mac OS X command line app) using Xcode 4.5, but I now want to add a framework to it.  The frameworks list in the build phases is empty.</p>
  
  <p>I can add .h/.m objective C class header and implementation files that I have written but I don't know how to make a "Command Line Tool" into what the old Xcode probably had a different template for; A command line application (not Cocoa app) which can access Core Foundation framework, or any other framework I choose to add to it.</p>
  
  <p>Also, there used to be a "<a href="https://stackoverflow.com/questions/2697883/how-do-you-create-a-simple-objective-c-command-line-project-in-xcode">Core Foundation Tool</a>" option in Xcode 3, where is it now?</p>
  
  <p>(Update: I was clicking "+" inside Target Dependencies, which seemed sensible, but which gives me only an empty list of things to add. I figured there must be something somewhere else you had to change to make things show up in Target Dependencies, which if I may say, is not exactly clear to new users. Thus this public service message, question, and answer.
  Hey Apple, how about you change this to "Link libraries or Frameworks" so that the word Framework shows up there.  Making us guess if we're adding a library or a dependency when the only word we know about is Framework, is confusing.)</p>