[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user