Skip to content

Instantly share code, notes, and snippets.

@haric
Created June 14, 2012 14:53
Show Gist options
  • Select an option

  • Save haric/2930825 to your computer and use it in GitHub Desktop.

Select an option

Save haric/2930825 to your computer and use it in GitHub Desktop.
Create sim-compatible library
#! /bin/sh
# Find and remove
find . -type f -name *.m | xargs rm
# Combine device and sim libs
lipo -create -output libMyLibrary.a libMyLibrary-Device.a libMyLibrary-Simulator.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment