From 2a823a187fa794a562a9030cbe9cd4bf85b35a1f Mon Sep 17 00:00:00 2001 From: Yoann GINI Date: Wed, 12 Apr 2023 08:24:00 +0200 Subject: [PATCH] Adding cleaning steps --- package/BuildAndPackage.command | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/BuildAndPackage.command b/package/BuildAndPackage.command index 245a2d8..a9fe041 100755 --- a/package/BuildAndPackage.command +++ b/package/BuildAndPackage.command @@ -165,6 +165,9 @@ xcrun stapler staple "${RELEASE_LOCATION}/Hello-IT-${MARKETING_VERSION}-${CONFIG echo "####### Cleaning temporary files" +cd "${PROJECT_DIR}" +xcodebuild clean + rm -rf "${PKG_ROOT}" rm -rf "${BUILT_PRODUCTS_DIR}"