Static Libraries in Xcode  I wanted to do something that I think
is straightforward, basic IDE functionality. Have a project that
references a static library, use the static library from a
client application (including referencing headers and linking
with it), and have the library automatically rebuild when
changes are made.  With most IDEs this is functionality that you
get without even having to think too hard about it. You create a
library, you say “this application depends on this library”, and
*poof* it just works. Xcode makes you jump through a few hoops.
Here are the steps involved in making this work, starting from
scratch.  1. Create a new workspace. We’ll start from scratch so
we’re both on the same page. BTW, I’m using Xcode 4.3.2.  2.
Create the application project. I’m creating an empty iOS
project called TestApp. Build and run, make sure it works.  3.
Create the library project. I created a Cocoa Touch Static
Library called TestLib. One gotcha here is that the default
location for the library p