World
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Will modify the contents of the Xcode package. Script therefore needs to be run after every update. | |
# If built-in templates aren't modified and custom templates are created instead, this leads to duplicate | |
# templates in the Xcode UI | |
find /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/Source/* -type f -exec sudo perl -0777 -i -pe "s/\/\/___FILEHEADER___\n\n//igs" {} ';' |