Skip to content

Instantly share code, notes, and snippets.

@erichoracek
Created July 5, 2016 05:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erichoracek/884821727ff9c59c8288e3a13e5b1b4d to your computer and use it in GitHub Desktop.
Save erichoracek/884821727ff9c59c8288e3a13e5b1b4d to your computer and use it in GitHub Desktop.
Copy Products to Carthage/Build/iOS
build_dir="$SRCROOT/Carthage/Build"
# Only copy when the Carthage/Build directory is a symlink
if ! [ -L "$build_dir" ]; then exit 0; fi
rsync --delete -av "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME"* "$build_dir/iOS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment