Adds Foundation.framework to library target and sets deployment target to 10.6