Build both a static and a shared library using Xcode.