diff options
-rwxr-xr-x | scripts/create_framework.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/create_framework.sh b/scripts/create_framework.sh index 9f8168f8f..a24b7c160 100755 --- a/scripts/create_framework.sh +++ b/scripts/create_framework.sh @@ -80,8 +80,6 @@ if [ -f $zip_file_name ]; then rm $zip_file_name; fi # Verify framework_folder exists and create a zip from it. if [ -d "$framework_folder" ]; then tar -cf $zip_file_name $framework_folder - # Check to see if the zip exists, and then remove old files. - #if [ -f "$zip_file_name" ]; then rm -r $framework_folder; fi fi # Cleanup artifacts @@ -91,5 +89,8 @@ if [ -d "$folder" ]; then rm -r $folder; fi folder="SmartDeviceLink-Simulator.xcarchive" if [ -d "$folder" ]; then rm -r $folder; fi +# Check to see if the zip exists, and then remove old files. +if [ -f "$zip_file_name" ]; then rm -r $framework_folder; fi + echo echo "The xcframework zip file was created at $zip_file_name."
\ No newline at end of file |