summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2017-01-31 12:48:40 -0500
committerGitHub <noreply@github.com>2017-01-31 12:48:40 -0500
commit1f75c011e064816ebf7e700d83656b4528832540 (patch)
treecbb99a7f7d8802fa3f5a6a08d6041bc6f9719d0a
parent160bc57e38dfe3ef1438ccd8ec20dd45b128dc76 (diff)
downloadqtlocation-mapboxgl-1f75c011e064816ebf7e700d83656b4528832540.tar.gz
[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.
-rwxr-xr-xplatform/ios/framework/strip-frameworks.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/ios/framework/strip-frameworks.sh b/platform/ios/framework/strip-frameworks.sh
index 895cc24d5e..686541566a 100755
--- a/platform/ios/framework/strip-frameworks.sh
+++ b/platform/ios/framework/strip-frameworks.sh
@@ -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