[ios] Revert self-deletion of framework stripping script (#7901)

Xcode expects this file to be cached after the first build and will fail on subsequent incremental builds. There appears to be no reasonable way to detect if a build is intended for archive/app store distribution.
This commit is contained in:
Jason Wray
2017-01-31 12:48:40 -05:00
committed by GitHub
parent 160bc57e38
commit 1f75c011e0

View File

@@ -71,11 +71,3 @@ for file in $(find . -type f -perm +111); do
fi
done
# When this script finishes executing, delete itself from the built product
function finish {
if [[ $0 == "${BUILT_PRODUCTS_DIR}"* ]]; then
rm -f $0;
fi
}
trap finish EXIT