Does Swift have a #warning equivalent? It\'s simply used to show a warning in Xcode\'s own GUI
I\'m also interested in whether there\'s a #error equivalent.
Advantage of this snippet - it doesn't show warnings from Pods:
if [ "${CONFIGURATION}" = "DEBUG" ]; then
TAGS="TODO:|FIXME:|WARNING:|warning:" find "." \( -name "*.swift" \) -not -path "./Pods/*" -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
fi
How to install: