Uberlipo

Uberlipo is a bash script for Mac OS X to ease the creation, manipulation, and inspection of universal bundles. The primary function of uberlipo is to merge two or more bundles for different architectures into a single universal bundle.

This is particularly useful when building applications or frameworks using configure and make, especially when multiple executables and dynamic libraries are included. Typically, in this case, you will need to build each bundle separately since configure will need host-specific flags.

Examples

Create a universal application bundle named Test.app from two similar bundles for i386 and ppc:
uberlipo -create -ouput Test.app i386/Test.app ppc/Test.app

View the detailed contents of Test.app:
uberlipo -detailed_info Test.app

Installation

The uberlipo script is available on the downloads page. The download is a tarball that contains uberlipo and a man page.

Assuming you downloaded the uberlipo tarball to you desktop and want to install it to /usr/local/bin, it may be installed with the following commands:
cd /usr/local
sudo tar -xzf ~/Desktop/uberlipo-1.0.tar.gz