[ios] Stop including framework stripping script in built product
This self-deletes the script during the build script phase. Does not address the CocoaPods use-case.
This commit is contained in:
@@ -68,3 +68,12 @@ else
|
||||
# Delete *.bcsymbolmap files from framework bundle unless archiving
|
||||
find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\;
|
||||
fi
|
||||
|
||||
# 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