Skip to content

Instantly share code, notes, and snippets.

@redsweater
Created October 5, 2011 23:28
Show Gist options
  • Save redsweater/1266047 to your computer and use it in GitHub Desktop.
Save redsweater/1266047 to your computer and use it in GitHub Desktop.
If you ship Growl framework in a Mac App Store target… add this build phase to strip PPC
#!/bin/sh
echo "Stripping PPC from Growl framework..."
cd "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/Growl.framework/Versions/Current"
lipo ./Growl -verify_arch ppc
if test $? -ne 1 ; then
lipo ./Growl -remove ppc -output ./Growl
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment