Wednesday, May 11, 2016

Show TODOs and FIXMEs As Warnings in Xcode

Jake Marsh (in 2011):

Now just build and you’ll see all your //TODO: and //FIXME: comments have become warnings. I love this technique, it might not be right for everyone, but hope it helps someone.

Xcode parses the output of a shell script build phase looking for “warning:”.

Via Daniel Jalkut:

Since I complained yesterday about Swift’s lack of a counterpart to Objective C’s #warning directive, folks have been in touch to encourage another solution to this problem.

Comments RSS · Twitter

Leave a Comment