summaryrefslogtreecommitdiff
path: root/ios/CustomTarget_iOS.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ios/CustomTarget_iOS.mk')
-rw-r--r--ios/CustomTarget_iOS.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/ios/CustomTarget_iOS.mk b/ios/CustomTarget_iOS.mk
index 737a19404bc5..452b5d7dde9b 100644
--- a/ios/CustomTarget_iOS.mk
+++ b/ios/CustomTarget_iOS.mk
@@ -153,6 +153,14 @@ $(INSTDIR)/$(IOSAPP): $(IOSAPPPRJ)/project.pbxproj $(IOSGEN)/$(IOSKIT)
#- clean ios -----------------------------------------------------------------
$(call gb_CustomTarget_get_clean_target,ios/ios):
$(call gb_Output_announce,$(subst $(WORKDIR)/Clean/,,$@),$(false),ENV,2)
+ $(call gb_Helper_print_on_error, \
+ xcodebuild -xcconfig $(IOSAPPXC) -project $(IOSAPPPRJ) clean \
+ , $(WORKDIR)/ios/build.log \
+ )
+ $(call gb_Helper_print_on_error, \
+ xcodebuild -xcconfig $(IOSKITXC) -project $(IOSKITPRJ) clean \
+ , $(WORKDIR)/ios/build.log \
+ )
rm -f $(IOSGEN)/$(IOSKIT)
rm -rf $(SRCDIR)/ios/LibreOfficeKit/LibreOfficeKit.xcodeproj/project.xcworkspace
rm -rf $(SRCDIR)/ios/LibreOfficeKit/LibreOfficeKit.xcodeproj/xcuserdata