diff --git a/Makefile.in b/Makefile.in index 006c98c3f41a..1ccb676795fa 100644 --- a/Makefile.in +++ b/Makefile.in @@ -174,6 +174,9 @@ clean-host: rm -fr $(TESTINSTALLDIR) rm -fr $(INSTDIR) rm -fr $(WORKDIR) +ifeq ($(OS),IOS) + rm -fr $(SRCDIR)/ios/generated +endif clean-build: ifneq ($(CROSS_COMPILING),)