From 1f75c011e064816ebf7e700d83656b4528832540 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Tue, 31 Jan 2017 12:48:40 -0500 Subject: [PATCH] [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. --- platform/ios/framework/strip-frameworks.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/platform/ios/framework/strip-frameworks.sh b/platform/ios/framework/strip-frameworks.sh index 895cc24d5..686541566 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