Skip to content

Instantly share code, notes, and snippets.

@haikusw
Created November 21, 2011 19:48
Show Gist options
  • Save haikusw/1383708 to your computer and use it in GitHub Desktop.
Save haikusw/1383708 to your computer and use it in GitHub Desktop.
Builds one config (Debug, Release, or Dist)
#Xcode target has sub-targets of the resources bundle target, and the target that makes a universal version of the static library for the current build config).
#this is the Run Script build phase that happens after that.
echo ""
echo "moving resources bundle into universal build folder"
echo ""
if [ ${ACTION} = "build" ]
then
echo "Copying resources into ${BUILD_DIR}/${CONFIGURATION}-universal/ ..."
cp -R "${BUILD_DIR}/SAMPLEresources.bundle" "${BUILD_DIR}/${CONFIGURATION}-universal/"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment