TechNote 1 – Setting up Xcode to share Static Libraries

This tech note describes how to set up Xcode to enable sharing static libraries across multiple iPhone app projects. It involves setting up a shared build output directory that will be shared by all Xcode projects.

It is basically a bullet point summary of the excellent article by Clint Harris.

  1. Open the Building tab of the Xcode preferences.
  2. Set Place Build Projects in to Customized location and specify the path to the common build directory e.g. /Users/rob/workspace/iphone/xcode_build_output
  3. Set Place Intermediate Build Files in to With build products.

This is a precursor to other tech notes on Static Libraries.


Leave a Reply

You must be logged in to post a comment.