I want to delete all files inside "container" folder in the project directory. I have tried this linux script in Xcode runscript. But it does not work.
rm -r "${SRCROOT}/container/*"
If i use rm -r "${SRCROOT}/container/", it will delete including the folder. I only want to delete the files inside the folder.
Change your Run Script
to be the following:
rm -rf "${SRCROOT}"/container/*