Skip to content

Instantly share code, notes, and snippets.

@haranicle
Last active October 27, 2015 01:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haranicle/3e96d1e3a87985ed78ae to your computer and use it in GitHub Desktop.
Save haranicle/3e96d1e3a87985ed78ae to your computer and use it in GitHub Desktop.
A shell script to create an universal cocoa framework.
#!/bin/sh
FrameworkName="MyKitName"
rm -rf ./Debug
mkdir ./Debug
cp -r ./Debug-iphoneos/${FrameworkName}.framework ./Debug/${FrameworkName}.framework
lipo -create ./Debug-iphoneos/${FrameworkName}.framework/${FrameworkName} ./Debug-iphonesimulator/${FrameworkName}.framework/${FrameworkName} -output ./Debug/${FrameworkName}.framework/${FrameworkName}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment