Skip to content

Instantly share code, notes, and snippets.

@mtmckenna
Created December 19, 2011 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtmckenna/1499495 to your computer and use it in GitHub Desktop.
Save mtmckenna/1499495 to your computer and use it in GitHub Desktop.
Shell script to quickly create a fat library (i.e. a library that works in the simulator and on iOS hardware). To use: Generate a device and simulator build of the static library. From the command line, go to the parent of your static lib products (e.g. /
#!/bin/bash
lipo -output $1 -create ./Release-iphoneos/$1 ./Release-iphonesimulator/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment