I’ve been working with XCode 4 for a couple of months now, and I started to adjust myself to its new interface. I am even beginning to like it, although it’s still a rough diamond and gives me crashes once in a while.
The one thing that bothers me is the fact that the TODO/FIXME listing has vanished and that Apple didn’t provide us developers with a good alternative.
The problem is that i like adding TODO’s for secondary functionality that needs to be done (just not on my main development work) and that i cannot get a listing of the TODO’s (or FIXME’s) in my code.
The solution is simple yet needs additional work from the developer: you can provide your project with another buildstep. The buildstep will be a script that will search the code and show any TODO, FIXME (or, after fiddling with the script, any word you’d like) as an alert in the build log.
I found a nice solution on this website. All you need to do for you project are the following steps:
1. Go to: Project -> New Build Phase -> New Run Script Build Phase
2. In the window that pops up place this in the script section:
[crayon-600f573d4e775858827417/] Maybe not the prettiest solution but it works. Just hope that the libraries you included do not contain a bulk of TODO’s since those will appear also.