Add the Foundation framework to your project and to the Link Libraries build phase in your target. The easiest way to do the latter is to Get Info on the target; there's a list of linked libraries on the General tab of that window.
Peter Hosey
2010-02-27 13:21:23