title: How to create a PodSpec for a project with a static library target?
body: <p>I have an Xcode project (foo) which builds a static library (libfoo.a) with some important pre/post build steps.  Traditionally, when I use this library in another project I add foo.xcodeproj as a subproject in my main project, and then hookup the build dependency settings in the main project.</p>
  
  <p>I'm looking to make this easier with CocoaPods, but I'm not sure it's designed for this.  Am I supposed to copy the build settings out of the foo project into a pod spec, so that CocoaPods can build it the way it wants?  What about my pre/post build steps?</p>
  
  <p>There is info on creating Pods for closed source <a href="https://github.com/CocoaPods/CocoaPods/issues/98" rel="nofollow">pre-compiled libraries</a> like the TestFlightSDK, but I don't want to precompile my library.</p>